简体   繁体   中英

Can't insert to database in wordpress

I tried to insert values to database table in wordpress, but it is showing some errors as below

[type] => 2048 [message] => is_a(): Deprecated. Please use the instanceof operator [file] => /var/www/html/workbench/Shinod/wordpress/wp-includes/classes.php [line] => 724

Can anyone help me?

It's not an error, it's E_STRICT message. It shouldn't interrupt communication with mysql.

You're using the function is_a() somewhere in your code - it was deprecated in PHP 5.0.0 in favour of the instanceof operator, but was re-classified again in PHP 5.3.0.

Check the PHP manual on is_a() .

That is a PHP warning, not a fatal error. The site will still function. That's not what's stopping you from inserting data into your database. You need to look harder to find (and post) the real error that's stopping you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM