OnPoint Plugins

  • Plugins
    • Advanced Sidebar Menu
    • Go Live Update Urls
  • About
    • Services
    • Showcase
  • Blog
  • Contact
  • Support
  • Log In
← Back to support

Fail on wp_options update

Resolved

Requested: 5 months and 2 weeks ago

Increase the php memory limit to fix the fail on posts and postmeta.

Now getting the following error for wp_options table

[Fri Oct 07 21:08:37.600896 2022] [php:error] [pid 6737] [client 67.253.57.80:51996] PHP Fatal error: Uncaught Error: The script tried to modify a property on an incomplete object. Please ensure that the class definition “Astra_Builder_Header” of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in /var/www/html/wp-content/plugins/go-live-update-urls/src/Serialized.php:154nStack trace:n#0 /var/www/html/wp-content/plugins/go-live-update-urls/src/Serialized.php(152): Go_Live_Update_Urls\Serialized->replace_tree()n#1 /var/www/html/wp-content/plugins/go-live-update-urls/src/Serialized.php(152): Go_Live_Update_Urls\Serialized->replace_tree()n#2 /var/www/html/wp-content/plugins/go-live-update-urls/src/Serialized.php(152): Go_Live_Update_Urls\Serialized->replace_tree()n#3 /var/www/html/wp-content/plugins/go-live-update-urls/src/Serialized.php(152): Go_Live_Update_Urls\Serialized->replace_tree()n#4 /var/www/html/wp-content/plugins/go-live-update-urls/src/Serialized.php(118): Go_Live_Update_Urls\Serialized->replace_tree()n#5 /var/www/html/wp-content/plugins/go-live-update-urls/src/Serialized.php(78): Go_Live_Update_Urls\Serialized->update_table()n#6 [internal function]: Go_Live_Update_Urls\Serialized->Go_Live_Update_Urls\{closure}()n#7 /var/www/html/wp-content/plugins/go-live-update-urls/src/Serialized.php(79): array_map()n#8 /var/www/html/wp-content/plugins/go-live-update-urls/src/Updates.php(194): Go_Live_Update_Urls\Serialized->update_all_serialized_tables()n#9 /var/www/html/wp-content/plugins/go-live-update-urls/src/Database.php(171): Go_Live_Update_Urls\Updates->update_serialized_values()n#10 /var/www/html/wp-content/plugins/go-live-update-urls-pro/src/Api/Ajax/Update_Urls.php(64): Go_Live_Update_Urls\Database->update_the_database()n#11 /var/www/html/wp-includes/class-wp-hook.php(292): Go_Live_Update_Urls\Api\Ajax\Update_Urls->update()n#12 /var/www/html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()n#13 /var/www/html/wp-includes/plugin.php(484): WP_Hook->do_action()n#14 /var/www/html/wp-admin/admin-ajax.php(187): do_action()n#15 {main}n thrown in /var/www/html/wp-content/plugins/go-live-update-urls/src/Serialized.php on line 154, referer: https://adkad.webvalve.dev/wp-admin/tools.php?page=go-live-update-urls-settings

 

Any ideas to resolve the issue?

Thanks for your time!

Plugin: Go Live Update Urls

  1. OnPoint Plugins

    5 months and 2 weeks ago

    Hi Shaun,

    Based on the error it looks like your theme is storing some data in the wp_options table which includes a full class object. The class appears to be part of the Astra Theme.  If the class definition changes or is no longer available this kind of error can happen.

    Unfortunely, there is no great way of handling this besides manually updating the database row which includes the full class object. If you would like to send us the following, we can take care of the manual update for you:

    1. A dump of your options table.
    2. Old URL.
    3. New URL.

    Once the affected rows have been updated, the Go Live plugin will no longer attempt to updated the rows and the error will not reoccur.

    Have a great weekend!

  2. OnPoint Plugins

    2 months and 1 week ago

    Hi Shaun,

    We wanted to stop in to say version 6.5.0 of the basic plugin is now available which gracefully handles updated when a PHP class is no longer available or changes. The plugin can now complete its updates without throwing an error.

    Rows in the database which contain missing classes a now skipped and logged to the PHP error log.

    Have a great day!

New Response Cancel reply

You must be logged in to respond. Only PRO members are allowed to respond to support requests.

© 2023 · WordPress Development · Terms Of Service · Privacy Policy · Cookie Policy · Log in

  • Plugins
  • Blog
  • Contact