[Plugin: WordPress Move] PHP Catchable fatal error: Object of class stdClass could not be converted
-
Hi! On a WordPress site running PHP 5.2.17, the following error, related to the WordPress Move plugin, pops up either on Simple or Advanced modes:
PHP Catchable fatal error: Object of class stdClass could not be converted to string in /var/www/html/wp-content/plugins/wordpress-move/libs/functions-database-backup.php on line 198, referer: [...]This is traceable to the call
$option = str_replace( $find, $replace, $option );after explicitly checking that $option is not an array. PHP 5.2 (and very likely 5.3 as well!) has some bugs in correctly parsing the line in this situation.
Strangely, when changing line 198 to
$option = str_replace( $find, $replace, $option );(i.e. putting things on separate lines!) the error disappears…
Now my next step is to figure out why the process never terminates 🙂
The topic ‘[Plugin: WordPress Move] PHP Catchable fatal error: Object of class stdClass could not be converted’ is closed to new replies.