PHP Fatal Error
-
Hi there!
I encountered a PHP Fatal Error when using the rewrite and republish function recently. Here is the error that displays on our end.PHP Fatal error: Uncaught Error: The script tried to modify a property on an incomplete object. Please ensure that the class definition “Wpil_Model_Link” 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 /home/wikipedi/public_html/wp-includes/formatting.php:5131\nStack trace:\n 0 /home/wikipedi/public_html/wp-includes/formatting.php(5126): map_deep()\n 1 /home/wikipedi/public_html/wp-content/plugins/duplicate-post/src/utils.php(52): map_deep()\n 2 /home/wikipedi/public_html/wp-content/plugins/duplicate-post/src/post-duplicator.php(302): Yoast\WP\Duplicate_Post\Utils::recursively_slash_strings()\n 3 /home/wikipedi/public_html/wp-content/plugins/duplicate-post/src/post-duplicator.php(169): Yoast\WP\Duplicate_Post\Post_Duplicator->copy_post_meta_info()\n 4 /home/wikipedi/public_html/wp-content/plugins/duplicate-post/src/handlers/link-handler.php(217): Yoast\WP\Duplicate_Post\Post_Duplicator->create_duplicate_for_rewrite_and_republish()\n 5 /home/wikipedi/public_html/wp-includes/class-wp-hook.php(310): Yoast\WP\Duplicate_Post\Handlers\Link_Handler->rewrite_link_action_handler()\n 6 /home/wikipedi/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()\n 7 /home/wikipedi/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#8 /home/wikipedi/public_html/wp-admin/admin.php(419): do_action()\n#9 {main}\n thrown in /home/wikipedi/public_html/wp-includes/formatting.php on line 5131\n
Any clue on how to fix it?
The topic ‘PHP Fatal Error’ is closed to new replies.