• Resolved miczak77

    (@miczak77)


    I see this error while i’m trying to restore from file.

    I’ve got the same message on public WP instance and on new WP installation (withput any other plugins) as well.


    {“Number”:8192,”Message”:”rtrim(): Passing null to parameter #1 ($string) of type string is deprecated”,”File”:”\/autoinstalator\/wordpress4\/wp-includes\/formatting.php”,”Line”:2827}

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Yani

    (@yaniiliev)

    The error message you are encountering indicates a compatibility issue, most likely due to the PHP version you are using.

    Check if you’re using a PHP version recommended by WordPress and change it if you are not.
    You can experiment with PHP versions 7 and 8 to see which one solves the problem.

    Thread Starter miczak77

    (@miczak77)

    I’ve try with different PHP versions (7.4,8.0,8.1,8.2) and with full memory limit (512M).

    Now I can see a lot of this errors:

    PHP Fatal error: Out of memory (allocated 501219328) (tried to allocate 32768 bytes) in /autoinstalator/wordpress8/wp-content/plugins/easy-wp-smtp/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Lock.php on line 1
    (with different paths)

    I’ve checked backup file by Traktor tool – it is fine.

    Is it possible to disable all plugins in the backup and restore without any plugins at all?

    Plugin Author Yani

    (@yaniiliev)

    Plugins and themes are activated *after* the database has been restored. Most likely, all your data has already been transferred. Try to enable WP_DEBUG and see what errors you get.
    Out of memory -> increase memory_limit to 1G

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

The topic ‘Migration error – database restore stuck’ is closed to new replies.