• Resolved diegpl

    (@diegpl)


    Hi, after I have updated to php 8, NS Cloner stopped working and I just saw this error in the log:

    [21-Jun-2022 14:14:42 UTC] PHP Fatal error:  Uncaught Error: The script tried to modify a property on an incomplete object. Please ensure that the class definition "ActionScheduler_SimpleSchedule" 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 /wp-content/plugins/ns-cloner-site-copier/ns-utils.php:108
    Stack trace:
    #0 /wp-content/plugins/ns-cloner-site-copier/processes/class-ns-cloner-rows-process.php(133): ns_recursive_search_replace()
    #1 /wp-content/plugins/ns-cloner-site-copier/vendor/a5hleyrich/wp-background-processing/classes/wp-background-process.php(301): NS_Cloner_Rows_Process->task()
    #2 /wp-content/plugins/ns-cloner-site-copier/abstracts/class-ns-cloner-process.php(234): WP_Background_Process->handle()
    #3 /wp-content/plugins/ns-cloner-site-copier/vendor/a5hleyrich/wp-background-processing/classes/wp-background-process.php(175): NS_Cloner_Process->handle()
    #4 /wp-includes/class-wp-hook.php(307): WP_Background_Process->maybe_handle()
    #5 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #6 /wp-includes/plugin.php(474): WP_Hook->do_action()
    #7 /wp-admin/admin-ajax.php(187): do_action()
    #8 {main}
      thrown in /wp-content/plugins/ns-cloner-site-copier/ns-utils.php on line 108
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Never Settle

    (@neversettle)

    Hi @diegpl we are using PHP 8 with he latest version of Cloner without issue. Does it work again after reverting to earlier version of PHP?

    Thread Starter diegpl

    (@diegpl)

    Hmm, it is weird that the php error log does not show any more plugin involved then.

    WP version is not the latest, it might be because of that than. But it is not that old though, version 5.9.2
    I can not revert the php version, since it is in production with everything else working alright with php 8 yet 🙂
    Do you know about any issue relating php 8 to version 5.9.2 then? Tks! 😉

    Plugin Author Never Settle

    (@neversettle)

    Not that we know of 🙂 If you are still experiencing issues please reach out via support.neversettle.it

    Plugin Author Never Settle

    (@neversettle)

    Today we released version 4.2.0 which contains a fix for this issue exactly, handling of undefined classes in serialized database — this should now be resolved.

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

The topic ‘NS Cloner stopped working after php 8’ is closed to new replies.