Title: Error: Notice: Undefined offset
Last modified: December 12, 2017

---

# Error: Notice: Undefined offset

 *  Resolved [Bam Bam](https://wordpress.org/support/users/bam-bam/)
 * (@bam-bam)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-notice-undefined-offset/)
 * Hi,
 * I logged into the backend of a site I built and maintain this morning and I am
   seeing an Error/Notice at the top of the screen and I am unsure what is causing
   it.
 * This is notice with the website path removed:
 * /public_html/wp-content/plugins/wordpress-seo/admin/class-admin-asset-manager.
   php on line 69
 * Line 69 is: list( $language, $territory ) = explode( ‘_’, $locale );
 * Is this something that actually comes from Yoast Seo or is it something that 
   is coming from the Google Language Translator plugin ??
 * Kindest Regards
    Bam Bam

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/error-notice-undefined-offset/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-notice-undefined-offset/page/2/?output_format=md)

 *  [nikana2000](https://wordpress.org/support/users/nikana2000/)
 * (@nikana2000)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-notice-undefined-offset/#post-9773317)
 * I had a similar experience, seemed to happen after I updated to the most recent
   update.
 *  Thread Starter [Bam Bam](https://wordpress.org/support/users/bam-bam/)
 * (@bam-bam)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-notice-undefined-offset/#post-9773325)
 * Same here
 *  [Jam Viet](https://wordpress.org/support/users/mcjambi/)
 * (@mcjambi)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-notice-undefined-offset/#post-9773414)
 * Me too, i have new line in admin screen like this: “Notice: Undefined offset:
   1 in /wordpress-seo/admin/class-admin-asset-manager.php on line 69”
 *  [xanuday](https://wordpress.org/support/users/xanuday/)
 * (@xanuday)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-notice-undefined-offset/#post-9773798)
 * Hi how did you solve the issue?
 *  Thread Starter [Bam Bam](https://wordpress.org/support/users/bam-bam/)
 * (@bam-bam)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-notice-undefined-offset/#post-9773811)
 * I haven’t solved it, waiting on an answer to my original post
 *  [xanuday](https://wordpress.org/support/users/xanuday/)
 * (@xanuday)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-notice-undefined-offset/#post-9773902)
 * oh okay, seems the issue are very unusual for this kind of plugin.. anyway trying
   to solve this , if i have some solutions i will let you know. also let me know
   incase hahah…
 *  [Le Van Toan](https://wordpress.org/support/users/levantoan/)
 * (@levantoan)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-notice-undefined-offset/#post-9774044)
 * same here… pls fix asap
 *  [Giorgos Sarigiannidis](https://wordpress.org/support/users/gsarig/)
 * (@gsarig)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-notice-undefined-offset/#post-9774403)
 * Same here. In fact, due to this error when I save a post/page I get a blank screen,
   even if the contents of the page get saved eventually. As a temporary workaround
   I changed line 69 of class-admin-asset-manager.php from this:
    `list( $language,
   $territory ) = explode( '_', $locale );` to that: `list( $language, $territory)
   = explode( '_', $locale . '_' );`
 * …and the error is gone and saving works as expected.
 *  [vicmic9](https://wordpress.org/support/users/vicmic9/)
 * (@vicmic9)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-notice-undefined-offset/#post-9777189)
 * same here
 *  [vicmic9](https://wordpress.org/support/users/vicmic9/)
 * (@vicmic9)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-notice-undefined-offset/#post-9777206)
 * Thanks [Giorgos Sarigiannidis](https://profiles.wordpress.org/gsarig) (@gsarig)
   
   I did that with the class-admin-asset-manager.php line and it worked fine!
 *  Thread Starter [Bam Bam](https://wordpress.org/support/users/bam-bam/)
 * (@bam-bam)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-notice-undefined-offset/#post-9777230)
 * Many Thanks Giorgos,
 * I have just changed that line to what you suggested and it has gotten rid of 
   the error notice, however I would still like to hear from the Dev team at Yoast
   re this issue.
 *  [Giorgos Sarigiannidis](https://wordpress.org/support/users/gsarig/)
 * (@gsarig)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-notice-undefined-offset/#post-9777949)
 * Apparently it has to do with the fact that some locales don’t contain an underscore(_).
   In my case it was el (Greek). It seems to be a [known bug](https://github.com/Yoast/wordpress-seo/issues/8473),
   so I assume that a fix will be deployed soon.
    -  This reply was modified 8 years, 5 months ago by [Giorgos Sarigiannidis](https://wordpress.org/support/users/gsarig/).
 *  [Md Mazedul Islam Khan](https://wordpress.org/support/users/mazedulislamkhan/)
 * (@mazedulislamkhan)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-notice-undefined-offset/#post-9779670)
 * We apologize for any inconvenience. The issue you’re experiencing is a known 
   bug and we already have a pull request that includes the fix. This means a fix
   will be released soon. You can find and follow the progress of the pull request
   here: [https://github.com/Yoast/wordpress-seo/pull/8475](https://github.com/Yoast/wordpress-seo/pull/8475)
 *  Thread Starter [Bam Bam](https://wordpress.org/support/users/bam-bam/)
 * (@bam-bam)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-notice-undefined-offset/#post-9780381)
 * Ok thanks for the reply
 *  [xanuday](https://wordpress.org/support/users/xanuday/)
 * (@xanuday)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-notice-undefined-offset/#post-9794859)
 * Giorgos Sarigiannidis thanks buddy.. tried it works fine

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/error-notice-undefined-offset/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-notice-undefined-offset/page/2/?output_format=md)

The topic ‘Error: 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/)

 * 23 replies
 * 14 participants
 * Last reply from: [aaryasharma123](https://wordpress.org/support/users/aaryasharma123/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/error-notice-undefined-offset/page/2/#post-10130929)
 * Status: resolved