Title: Errors when exporting settings
Last modified: August 4, 2022

---

# Errors when exporting settings

 *  Resolved [HMCurator](https://wordpress.org/support/users/hmcurator/)
 * (@hmcurator)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/errors-when-exporting-settings/)
 * 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)

 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/errors-when-exporting-settings/#post-15904677)
 * [@hmcurator](https://wordpress.org/support/users/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/](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/](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](https://wordpress.org/themes/twentytwentyone/).
 * Test this on your development or staging site, if you have one. If not, we recommend
   using the [Health Check & Troubleshooting](https://wordpress.org/plugins/health-check/)
   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](https://yoast.com/help/how-to-check-for-plugin-conflicts/).
 *  Thread Starter [HMCurator](https://wordpress.org/support/users/hmcurator/)
 * (@hmcurator)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/errors-when-exporting-settings/#post-15912319)
 * 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](https://wordpress.org/support/users/hmcurator/)
 * (@hmcurator)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/errors-when-exporting-settings/#post-15912330)
 * 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](https://wordpress.org/support/users/mikes41720/)
 * (@mikes41720)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/errors-when-exporting-settings/#post-15982539)
 * Hi [@hmcurator](https://wordpress.org/support/users/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.
 *  [Jeroen Rotty](https://wordpress.org/support/users/jeroenrotty/)
 * (@jeroenrotty)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/errors-when-exporting-settings/#post-16004259)
 * 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](https://wordpress.org/support/topic/read-this-before-your-post/)
   before [opening a new request](https://wordpress.org/support/plugin/wordpress-seo#new-post).

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

The topic ‘Errors when exporting settings’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [Jeroen Rotty](https://wordpress.org/support/users/jeroenrotty/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/errors-when-exporting-settings/#post-16004259)
 * Status: resolved