Title: PHP Notice: Undefined offset
Last modified: February 18, 2021

---

# PHP Notice: Undefined offset

 *  Resolved [nodokita](https://wordpress.org/support/users/nodokita/)
 * (@nodokita)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-notice-undefined-offset-11/)
 * Hi
    PHP Notice: Undefined offset: 10 in …..plugins/wordpress-seo/inc/sitemaps/
   class-post-type-sitemap-provider.php on line 142 I have this php notice in 2 
   different sites how can i fix it? Thanks

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

 *  [Md Mazedul Islam Khan](https://wordpress.org/support/users/mazedulislamkhan/)
 * (@mazedulislamkhan)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-notice-undefined-offset-11/#post-14070329)
 * We are sorry to hear that you’re having trouble with our plugin. Can you please
   confirm whether you’re running the latest version of the WordPress and Yoast 
   SEO plugin?
 * We look forward to hearing from you.
 *  Thread Starter [nodokita](https://wordpress.org/support/users/nodokita/)
 * (@nodokita)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-notice-undefined-offset-11/#post-14070434)
 * WordPress 5.6.1
    Yoast SEO Versión 15.8 yes, both latest version, no updates 
   pending.
 * PHP Version 7.4.15
 *  [Md Mazedul Islam Khan](https://wordpress.org/support/users/mazedulislamkhan/)
 * (@mazedulislamkhan)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-notice-undefined-offset-11/#post-14070558)
 * Thanks for your confirmation. We are afraid to say that we are not aware of such
   an issue with our plugin. So, we think this is an issue specific to your setup,
   and as such, we’d like you to please perform a conflict check first. This will
   help us narrow down the exact cause and determine what the next steps are while
   saving you time.
 * You can find the step by step conflict check guide here [https://yoast.com/help/how-to-check-for-plugin-conflicts/](https://yoast.com/help/how-to-check-for-plugin-conflicts/).
 *  Thread Starter [nodokita](https://wordpress.org/support/users/nodokita/)
 * (@nodokita)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-notice-undefined-offset-11/#post-14071791)
 * Install the plugin and I am reviewing it, the error was not repeated, so I still
   could not see if it was your plugin or if it conflicts with another, I will continue
   to review. I thank you for the tool provided to solve the problem.

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

The topic ‘PHP Notice: Undefined offset’ 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/)

## Tags

 * [offset](https://wordpress.org/support/topic-tag/offset/)
 * [PHP Notice](https://wordpress.org/support/topic-tag/php-notice/)
 * [undefined](https://wordpress.org/support/topic-tag/undefined/)

 * 4 replies
 * 2 participants
 * Last reply from: [nodokita](https://wordpress.org/support/users/nodokita/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/php-notice-undefined-offset-11/#post-14071791)
 * Status: resolved