• Similar to https://ww.wp.xz.cn/support/topic/foreach-if-menu-php-line-317/, I’m experiencing the same issue, I get this line repeatedly:

    Warning: Invalid argument supplied for foreach() in {...}\if-menu.php on line 277

    and it’s not actually saving my visibility options.

    However, I am still getting this even after deactivating all plugins.

    Is there anything else that could be interfering?

    • This topic was modified 7 years, 9 months ago by skis2.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter skis2

    (@skis2)

    Update, this also happens when I switch to Twenty Sixteen theme.

    Plugin Author Andrei

    (@andreiigna)

    Hi,

    Thanks for trying out the plugin and letting me know about about.

    This will be fixed in the next plugin update, in ~1 week.

    Cheers

    Thread Starter skis2

    (@skis2)

    Thanks Andrei! Updating WordPress seemed to fix it actually. I’m not sure why.

    Plugin Author Andrei

    (@andreiigna)

    That’s great to hear, hope the plugin is useful on your site.

    Still checking this, as it shouldn’t happen. The error appears when there’s no If Menu rules sent to the Admin backend to save, caused by a plugin conflict (and looks it may be WP in this case)

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

The topic ‘foreach(): if-menu.php: line 277’ is closed to new replies.