• Resolved ethanstein

    (@ethanstein)


    After upgrading to the latest if-menu, I now get this on every page:

    Undefined offset: 0 in
    /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/if-menu/if-menu.php
    on line
    112

Viewing 4 replies - 1 through 4 (of 4 total)
  • This just happened to me also.

    I’m pretty sure that line 112 needs to read:
    if (isset($ifMenuOptions[$index])) {

    instead of:
    if ($ifMenuOptions[$index]) {

    at the very least, it seems to get me back up and running again without errors.

    I am also having the same issue after upgrading to the latest version.

    Plugin Author Andrei

    (@andreiigna)

    Hi,

    Thanks for letting me know about this. A new update is available for the plugin which will fix the PHP warning.

    Cheers

    Excellent! The update clears it up. Thank you!

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

The topic ‘undefined offset’ is closed to new replies.