• Resolved dualaudi

    (@dualaudi)


    Getting this after a backupbuddy restore while trying to find replace domain in plugin. WP5.3.2 PHP7.2 FPM enabled. I’ll just have to download sql do my edits and re-upload.

    ver3.1.2
    Fatal error: Uncaught Error: Cannot access property started with ‘\0’ in /home/mysite/public_html/wp-content/plugins/search-and-replace/inc/Database/Replace.php:269 Stack trace: #0 /home/mysite/public_html/wp-content/plugins/search-and-replace/inc/Database/Replace.php(258): Inpsyde\SearchReplace\Database\Replace->recursive_unserialize_replace(‘nmgprojects.com…’, ‘www.thetribecad…’, Object(stdClass), false) #1 /home/mysite/public_html/wp-content/plugins/search-and-replace/inc/Database/Replace.php(258): Inpsyde\SearchReplace\Database\Replace->recursive_unserialize_replace(‘nmgprojects.com…’, ‘www.thetribecad…’, Array, false) #2 /home/mysite/public_html/wp-content/plugins/search-and-replace/inc/Database/Replace.php(258): Inpsyde\SearchReplace\Database\Replace->recursive_unserialize_replace(‘nmgprojects.com…’, ‘www.thetribecad…’, Array, false) #3 /home/mysite/public_html/wp-content/plugins/search-and-replace/inc/Database/Replace.php(254): Inpsyde\SearchReplace\Database\Repla in /home/mysite/public_html/wp-content/plugins/search-and-replace/inc/Database/Replace.php on line 269

    ver3.2
    Fatal error: Uncaught Error: Cannot access property started with ‘\0’ in /home/mysite/public_html/wp-content/plugins/search-and-replace/inc/Database/Replace.php:355 Stack trace: #0 /home/mysite/public_html/wp-content/plugins/search-and-replace/inc/Database/Replace.php(345): Inpsyde\SearchReplace\Database\Replace->recursive_unserialize_replace(‘nmgprojects.com…’, ‘www.thetribecad…’, Object(stdClass), false) #1 /home/mysite/public_html/wp-content/plugins/search-and-replace/inc/Database/Replace.php(345): Inpsyde\SearchReplace\Database\Replace->recursive_unserialize_replace(‘nmgprojects.com…’, ‘www.thetribecad…’, Array, false) #2 /home/mysite/public_html/wp-content/plugins/search-and-replace/inc/Database/Replace.php(345): Inpsyde\SearchReplace\Database\Replace->recursive_unserialize_replace(‘nmgprojects.com…’, ‘www.thetribecad…’, Array, false) #3 /home/mysite/public_html/wp-content/plugins/search-and-replace/inc/Database/Replace.php(341): Inpsyde\SearchReplace\Database\Repla in /home/mysite/public_html/wp-content/plugins/search-and-replace/inc/Database/Replace.php on line 355

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dualaudi

    (@dualaudi)

    Update. So plugin itself is 90% fine. I found the issue with the database in the usermeta table. For whatever reason, I had to delete all users except the main admin and reassigned all content to the main admin user. After that update – I was able to search/replace all tables. Alternatively I could have omitted just the usermeta table in my search/replace and there would have been no errors.

    I think the plugin could help with identifying the corrupt table, but it’s not really the plugins fault – just no automatic fallback to force my search on all other tables and ignore the corrupt one. (I suspect yoast / backupbuddy corrupted my usermeta table on restore)

    Also have this from BackupBuddy restore – wp_options table though ??

    My solution was known PHP 7 bug:

    https://forum.virtuemart.net/index.php?topic=133607.0

    Reverted to 5.6 – ran S&R without issue – upgraded to 7.3 after – no problems.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Another uncaught error Cannot access property started with ‘\0’’ is closed to new replies.