Title: Warning: Undefined array key &#8220;number&#8221;
Last modified: December 12, 2021

---

# Warning: Undefined array key “number”

 *  Resolved [bdthemes](https://wordpress.org/support/users/bdthemes/)
 * (@bdthemes)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-number/)
 * Getting this error where I fill all input in Local SEO settings.
 * Warning: Undefined array key “number” in /wp-content/plugins/seo-by-rank-math/
   includes/modules/local-seo/class-local-seo.php on line 239
 * One of the previous topics has the same issue I followed but did not solve the
   issue. by the way, why are there not have any error handling conditions?

Viewing 1 replies (of 1 total)

 *  Plugin Support [Rank Math Support](https://wordpress.org/support/users/rankmathteam/)
 * (@rankmathteam)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-number/#post-15159327)
 * Hello [@bdthemes](https://wordpress.org/support/users/bdthemes/),
 * Thank you for contacting the support and sorry for any inconvenience that might
   have been caused due to that.
 * It seems like you left the number field blank in the Local SEO settings:
    [https://i.rankmath.com/nNS8Yf](https://i.rankmath.com/nNS8Yf)
 * We have here a condition here that checks the first entry.
    [https://github.com/rankmath/seo-by-rank-math/blob/master/includes/modules/local-seo/class-local-seo.php#L231](https://github.com/rankmath/seo-by-rank-math/blob/master/includes/modules/local-seo/class-local-seo.php#L231)
 * We check only the first entry because that’s the default field that we add when
   the plugin is installed. We can improve this code by adding a condition to check
   all the phone numbers entires. We have reported it internally to improve it.
 * For now, you can remove the blank number fields from Local SEO settings.
 * Hope that helps.

Viewing 1 replies (of 1 total)

The topic ‘Warning: Undefined array key “number”’ is closed to new replies.

 * ![](https://ps.w.org/seo-by-rank-math/assets/icon.svg?rev=3438330)
 * [Rank Math SEO – AI SEO Tools to Dominate SEO Rankings](https://wordpress.org/plugins/seo-by-rank-math/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/seo-by-rank-math/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/seo-by-rank-math/)
 * [Active Topics](https://wordpress.org/support/plugin/seo-by-rank-math/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seo-by-rank-math/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seo-by-rank-math/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Rank Math Support](https://wordpress.org/support/users/rankmathteam/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-number/#post-15159327)
 * Status: resolved