Support » Plugin: Yoast SEO » Error: Notice: Undefined offset

  • Resolved Bam Bam

    (@bam-bam)


    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 8 replies - 16 through 23 (of 23 total)
  • Awesome! Thanks. Because we had to disable the plugin as well on our WordPress site because of an error generated. “/wp-content/plugins/wordpress-seo/admin/class-admin-asset-manager.php”.

    Error still there in the latest version.

    No bueno.

    Same thing with the new version 6.0 – same solution.
    Note that the error line shows also when refreshing site pages.
    Ευχαριστώ και πάλι Γιώργο Σαρηγιαννίδη.

    I am facing this error. What could be the possible reason?
    Notice: has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in …public_html/wp-includes/functions.php on line 4030

    I’m facing it too, and temporarily fixed by the hack of Giorgos Sarigiannidis (@gsarig), thank you. I’m using Vietnamese lang, please fix it on the next release.

    same Error and nothing work ? where is the solution ?
    all page now blank !

    An offset is undefined if it doesn’t exist in the array. The notice is thrown the first time you reference the element, then PHP initializes the element and sets it to NULL.

    To avoid the notice you must initialize the offset. You can test if an offset exists either through array_key_exists or using isset.

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Error: Notice: Undefined offset’ is closed to new replies.