• Resolved rukshanx

    (@rukshanx)


    Hi,
    We are using All In One WP migration for export/import of our websites.
    At the moment, our old server is PHP 7.4, and new server has PHP 8.0.20. As its a Bitnami AWS stack, we cannot change PHP versions on the servers.

    We have taken an export of WP site running on PHP 7.4, and when we try to import this to new WP 6.0 site which has PHP 8.0.20, we get a warning “Your backup is PHP 7.0 but the site your are importing to is php 8.0. This could cause the import to fail”

    If we proceed, the import gets stuck at restoring database 72%.
    Can you please help or suggest on this?

    Thanks

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

    (@yaniiliev)

    Enable debugging in WordPress by following this guide: https://www.ads-software.com/support/article/debugging-in-wordpress/
    Then see what is causing the issues. You likely need to disable/update a plugin/theme that is not working with PHP 8.

    I had the very same issue and I had to redo the entire site on the new servers. I imported only the db, no template, no plugins and the wesbite broke. Any suggestions?

    PHP Compatibility Checker

    FILE: /var/www/wordpress/wp-content/plugins/all-in-one-wp-migration/storage/index.php

    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE

    1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.

    FILE: /var/www/wordpress/wp-content/plugins/all-in-one-wp-migration/lib/vendor/servmask/database/class-ai1wm-database-mysql.php

    FOUND 11 ERRORS AFFECTING 11 LINES

    39 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    45 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    57 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    71 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    80 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    89 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    98 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    108 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    118 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    128 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    138 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress import stuck at importing database (PHP version changed from 7.4 to 8)’ is closed to new replies.