• Resolved proguid

    (@procarmanuals)


    I have a lot of posts (over 31k). Previously I used Rank Math for SEO. To switch to SEOPRESS I need to migrate the data to the new plugin. The migration process to SEOPRESS does not end (waited more than two hours), there are no database accesses at the time of migration.

    If manual method of migration using SQL queries?

    Any other migration options?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Benjamin Denis

    (@rainbowgeek)

    Hi,

    try to enable WP DEBUG first:

    https://www.seopress.org/support/guides/wp_debug-enable-error-logging-in-wordpress/

    Then run the migration.

    You should see an error in the debug.log file.

    Thread Starter proguid

    (@procarmanuals)

    [06-Jun-2023 20:30:20 UTC] PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /var/www/site.name/data/www/site.name/wp-content/plugins/wp-seopress/src/Actions/Admin/Importer/RankMath.php:136
    Stack trace:
    #0 /var/www/site.name/data/www/site.name/wp-content/plugins/wp-seopress/src/Actions/Admin/Importer/RankMath.php(136): in_array('noindex', 'a:2:{i:0;s:9:"n...')
    #1 /var/www/site.name/data/www/site.name/wp-content/plugins/wp-seopress/src/Actions/Admin/Importer/RankMath.php(189): SEOPress\Actions\Admin\Importer\RankMath->migratePostQuery(0, 200)
    #2 /var/www/site.name/data/www/site.name/wp-includes/class-wp-hook.php(308): SEOPress\Actions\Admin\Importer\RankMath->process('')
    #3 /var/www/site.name/data/www/site.name/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #4 /var/www/site.name/data/www/site.name/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #5 /var/www/site.name/data/www/site.name/wp-admin/admin-ajax.php(188): do_action('wp_ajax_seopres...')
    #6 {main}
      thrown in /var/www/site.name/data/www/site.name/wp-content/plugins/wp-seopress/src/Actions/Admin/Importer/RankMath.php on line 136
    Plugin Author Benjamin Denis

    (@rainbowgeek)

    That’s weird, this error means you have a post meta with this key “rank_math_robots” that is a string and not an array.

    We’ll add a check to prevent this in a future update.

    Plugin Author Benjamin Denis

    (@rainbowgeek)

    The fix will be pushed with version 6.7.1 of SEOPress Free.

    Thread Starter proguid

    (@procarmanuals)

    How soon will the update be done?

    Plugin Author Benjamin Denis

    (@rainbowgeek)

    In few days, maybe 1 week.

    Thread Starter proguid

    (@procarmanuals)

    Thank you. I will complete the information and change the status of the request myself, if there are no more problems with the migration.

    Thread Starter proguid

    (@procarmanuals)

    After migration, there are problems with adding posts to sitemap.
    How to fix it: you need to go into the post and just update, no need to make any changes to the post

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Migrate from Rank Math to SEOPress (big site)’ is closed to new replies.