• I used it on my PHP 8.1 websites, it is not working well, warning error, while I downgrade php to 7.4, then all is fine? Can you please find the reason?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Felipe Santos

    (@foosantos)

    Hi there,

    It should work as expected with PHP 8.1, so I’m not sure what issue you’re referring. Can you share the error message and more details to check this further?

    Thread Starter vincentczb

    (@vincentczb)

    “There has been a critical error on this website. Please check your site admin email inbox for instructions.”

    PHP Fatal
    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

    Stack trace:

    #0 /wp-includes/formatting.php(5143): map_deep()

    #1 /wp-includes/deprecated.php(4111): map_deep()

    #2 /wp-content/plugins/wordpress-importer/class-wp-import.php(894): wp_slash_strings_only()

    #3 /wp-content/plugins/wordpress-importer/class-wp-import.php(89): WP_Import->process_posts()

    #4 /wp-content/plugins/wordpress-importer/class-wp-import.php(65): WP_Import->import()

    #5 /wp-admin/admin.php(364): WP_Import->dispatch() #6 {main} thrown in /wp-includes/formatting.php on line 5148

    WordPress core

    File: /wp-includes/formatting.php
    Line: 5148

    • This reply was modified 9 months, 3 weeks ago by vincentczb.
    Moderator jordesign

    (@jordesign)

    Hey @vincentczb – it looks like the site you are trying to import from has a plugin (or theme?) installed that is not present on your new site. I am not sure which plugin it is, but?Wpil_Model_Link?is not part of WordPress core.

    It seems instead to be part of the Link Whisper plugin. Can you try to perform the same operation with Link Whisper disabled and see if it’s still failing?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not compatibe with PHP 8.1?’ is closed to new replies.