Title: Export settings bug. PHP Error
Last modified: April 20, 2022

---

# Export settings bug. PHP Error

 *  Resolved [Lindenism](https://wordpress.org/support/users/lindenism/)
 * (@lindenism)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/export-settings-bug-php-error/)
 * In tools, export settings, I’m getting a error notice php. Testted on old installs
   as well as a brand new install with default settings. Make sure that error notices
   are displaying.
 * This error is a result of poor code. Please fix.
 *     ```
       Notice: Undefined offset: 0 in /home/xyz/public_html/yyy/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128
   
       Notice: Undefined offset: 0 in /home/xyz/public_html/yyy/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128
   
       Notice: Undefined offset: 1 in /home/enlighte/public_html/yyy/wp-content/plugins/wordpress-seo/admin/xyz-export.php on line 128
   
       Notice: Undefined offset: 2 in /home/xyz/public_html/yyy/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128
   
       Notice: Undefined offset: 3 in /home/xyz/public_html/yyy/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128
   
       Notice: Undefined offset: 4 in /home/xyz/public_html/yyy/wp-content/plugins/wordpress-seo/admin/class-export.php on line 128
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexport-settings-bug-php-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/export-settings-bug-php-error/#post-15581034)
 * Hello Lindenism,
 * Thanks for reaching out regarding the Import & Export tool of the plugin.
 * Did you receive the error because you wanted to export settings?
    Can you confirm
   what version of WordPress you have? Are all non-Yoast plugins and your theme 
   updated?
 * We look forward to hearing from you.
 *  Thread Starter [Lindenism](https://wordpress.org/support/users/lindenism/)
 * (@lindenism)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/export-settings-bug-php-error/#post-15583342)
 * 1. Did you receive the error because you wanted to export settings?: YES
    2. 
   Are all non-Yoast plugins and your theme updated? TESTED ON NEW INSTALL WITH 
   NO OTHER PLUGINS 3. Latest version of wordpress – Latest version 5.9.3
 *  Thread Starter [Lindenism](https://wordpress.org/support/users/lindenism/)
 * (@lindenism)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/export-settings-bug-php-error/#post-15583353)
 * Could it be the PHP version?
 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/export-settings-bug-php-error/#post-15592331)
 * Thanks for following up. Are you running PHP 8? Unfortunately, we haven’t yet
   fully tested the plugin with PHP version 8. The entire WordPress community is
   still working on it. You can read the [https://developer.yoast.com/blog/the-2020-wordpress-and-php-8-compatibility-report/](https://developer.yoast.com/blog/the-2020-wordpress-and-php-8-compatibility-report/).
 * For Yoast SEO to run properly, you should have a PHP version of 5.6.20 or higher.
   In fact, we recommend PHP version 7.3 or above. Before you upgrade to a higher
   PHP version, [check if your WordPress site is ready](https://yoast.com/help/site-ready-php-7/)
   for it. Read this [helpful article](https://yoast.com/help/how-to-update-your-php-version/)
   to learn how to update your PHP version. Also, your [PHP memory](https://yoast.com/help/fatal-error-allowed-memory-exhausted/)
   should be 256M or greater.
 *  Thread Starter [Lindenism](https://wordpress.org/support/users/lindenism/)
 * (@lindenism)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/export-settings-bug-php-error/#post-15594394)
 * Like I said, a brand new install.
 * Ensure you have turned on PHP errors
 * PHP version 7.2.34 (Supports 64bit values)
 *  Plugin Support [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * (@mikes41720)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/export-settings-bug-php-error/#post-15601927)
 * Hi,
 * We used a fresh copy of Yoast SEO 18.6 and in the Tool > Export settings on a
   default site, we were unable to replicate these error notices.
 * Could you try reinstalling a fresh copy of Yoast SEO 18.6 and see if you can 
   replicate the issue? Otherwise, please do create a new issue on GitHub by following
   the steps here – [https://yoast.com/help/how-to-write-a-good-bug-report/](https://yoast.com/help/how-to-write-a-good-bug-report/)
 *  Plugin Support [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * (@mikes41720)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/export-settings-bug-php-error/#post-15620635)
 * Hi,
 * We’ll be closing this thread in order to keep the forum overview.
 * Thanks!

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

The topic ‘Export settings bug. PHP Error’ 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/)

 * 7 replies
 * 3 participants
 * Last reply from: [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/export-settings-bug-php-error/#post-15620635)
 * Status: resolved