• Resolved HMCurator

    (@hmcurator)


    Regular (not Premium) Yoast SEO version 19.4 when using Tools->Export Settings throws the following errors:

    Warning: Undefined array key 0 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128

    Warning: Undefined array key 1 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128

    Warning: Undefined array key 2 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128

    Warning: Undefined array key 3 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128

    Warning: Undefined array key 0 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128

    Warning: Undefined array key 1 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128

    Warning: Undefined array key 2 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128

    Warning: Undefined array key 3 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128

    Warning: Undefined array key 4 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128

    Warning: Undefined array key 0 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128

    Warning: Undefined array key 1 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128

    Warning: Undefined array key 2 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128

    Warning: Undefined array key 3 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128

    Warning: Undefined array key 4 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128

    Warning: Undefined array key 5 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128

    Warning: Undefined array key 6 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128

    Warning: Undefined array key 7 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128

    Warning: Undefined array key 8 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128`

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support devnihil

    (@devnihil)

    @hmcurator We’re sorry to hear you are experiencing this issue on your site.

    However, we weren’t able to replicate the issue when exporting the plugin settings under Yoast SEO>Tools>Import and Export>Export settings.

    Can you please confirm you are using the most recent version of Yoast SEO, version 19.5.1? You can learn more about updating here: https://yoast.com/help/how-can-i-update-my-free-plugin/

    Also, can you confirm you are using WordPress 6.0.1? You can check by clicking on the W in the top left and selecting About. If you need to update, please check with your host provider. Please know that if you are using an older version of WordPress Core you may experience unexpected behavior with Yoast. This guide explains more: https://yoast.com/why-we-dont-support-old-wordpress-versions/

    If you update to the most current version of WordPress and Yoast SEO, does this resolve the issue?

    If you have already confirmed that both Yoast SEO and WordPress are up to date and the issue is still occurring, we would next recommend performing a conflict check to determine whether another plugin or theme is interfering with the Yoast plugin.

    The fastest way to do this is to?deactivate all non-Yoast plugins and switch to a standard theme?like?TwentyTwentyOne.

    Test this on your development or staging site, if you have one. If not, we recommend using the?Health Check & Troubleshooting?plugin. This plugin allows you to run a conflict check?without affecting normal visitors to your site.

    If you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process:?How to check for plugin conflicts.

    Thread Starter HMCurator

    (@hmcurator)

    I have updated to 19.5.1 and was already running WP 6.0.1 and the problem persists. As it is a production site, I installed the health check plugin and set to troubleshooting mode and only activated Yoast SEO and the errors still happened. What is weird is I have two other production sites running Yoast with the same theme and several of the same plugins and I am not getting the error on them…

    -Jon

    Thread Starter HMCurator

    (@hmcurator)

    And I figured it out. The site giving me problems I had been trying PHP 8.0.22 whereas the other two were running 7.4 I set the version back to 7.4.30 and the errors went away. Please try exporting using PHP 8.0.22 and see if you get the errors.

    -Jon

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @hmcurator

    Thanks for reporting this issue!

    I tried this on a local site using PHP 8.0 and was able to reproduce the warning (Warning: Undefined array key 0 in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128) when trying to export the Yoast SEO settings.

    I’ve created an issue in our internal repository for our developers to check on, so we can try and improve the compatibility with PHP 8.0 and newer.

    This thread was marked resolved due to a lack of activity, but you’re always welcome to re-open the topic. Please read this post before opening a new request.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Errors when exporting settings’ is closed to new replies.