• Resolved saswatab

    (@saswatab)


    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @saswatab

    While trying to rewrite and republish a post, I was unable to replicate the same error.

    First, please check your version of WordPress. Kindly know that the plugin is not supposed to work on old versions anymore. Make sure you are using the latest version of the plugin. Then try to deactivate and re-activate it, and check if the issue gets resolved.

    If the issue exists, kindly share with us the set of steps that you have followed to replicate it.

    This thread was marked resolved due to a lack of activity, but you’re always welcome to re-open the topic. Please read this post before opening a new request.

    Unfortunately, the link to open new request was not correct. Please use this link for opening a new request.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP Fatal Error’ is closed to new replies.