• getting a notification that reads: supplied for foreach() in /domain path/wp-content/plugins/if-menu/if-menu.php on line 317

    only occurs when menu has been updated, also something i noticed; there are 5 message prompts, there are also 5 menus; not sure if that is connected.

    (screen capture attached for context.)

    • This topic was modified 7 years, 4 months ago by Plashal.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Plashal

    (@plashal)

    update on text: apparently part of the messages was “pushed” off-screen:
    the full text read as follows.

    Warning: Invalid argument supplied for foreach() in /domain path/wp-content/plugins/if-menu/if-menu.php on line 317

    • This reply was modified 7 years, 4 months ago by Plashal.

    I am also seeing these errors and have been unable to save visibility settings for menu items.

    Michael

    (@michaelurbain)

    Same errors here with 4.9.1 and OceanWP… Anyway to solve this ? I used this plugin before on a test site and found it great but can’t find any replacement.

    Plugin Author Andrei

    (@andreiigna)

    Hi,

    Thanks for checking out the plugin and letting me know about this.

    After debugging and other reports, saw this error is triggered when menu item data is not sent or saved properly.
    Unfortunately this is caused by interference with other plugins and can’t be fixed in If Menu. One of the plugins that’s know for causing this is qTranslate X, so if that one is enabled on site, If Menu is not usable.. It may be caused by other plugin as well though

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘foreach(): if-menu.php: line 317’ is closed to new replies.