Support » Plugin: CookieYes | GDPR Cookie Consent & Compliance Notice (CCPA Ready) » Error in admin section if logged in as Editor

  • Resolved konsulenten

    (@konsulenten)


    We receive the following error in the admin section when logged in with role Editor:

    Invalid argument supplied for foreach() in …/plugins/cookie-law-info/admin/class-cookie-law-info-admin.php on line 161

    If we enable WP-debugging we get even more messages:

    Notice: Undefined index: edit.php?post_type=cookielawinfo in …/plugins/cookie-law-info/admin/class-cookie-law-info-admin.php on line 161

    Warning: Invalid argument supplied for foreach() in …/plugins/cookie-law-info/admin/class-cookie-law-info-admin.php on line 161

    Notice: Undefined offset: 2 in …/wp-admin/includes/menu.php on line 167

    Notice: Undefined offset: 2 in …/wp-admin/includes/plugin.php on line 1557

    Notice: Undefined offset: 2 in …/wp-admin/includes/plugin.php on line 1560

    Plugin version is 1.6.10

    Best regards,
    Reidar

Viewing 1 replies (of 1 total)
  • Plugin Author webtoffee

    (@webtoffee)

    Hi @thesickle,

    We have fixed the error for default non-admin users like Editor in version 1.6.10. Since you mentioned you are still having errors, we will need to check this specifically.

    Please reach us via support forum.

Viewing 1 replies (of 1 total)
  • The topic ‘Error in admin section if logged in as Editor’ is closed to new replies.