• Resolved Alberg15

    (@alberg15)


    Hi. I recently updated my site to PHP7.0.25 and immediately had this error message above the site header:

    Warning: Invalid argument supplied for foreach() in [my site] wp-content/plugins/nav-menu-roles/nav-menu-roles.php on line 443

    Is this something that needs attention? The error went away when I disabled your plug-in.

    Thx-ab

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author HelgaTheViking

    (@helgatheviking)

    Thanks for the heads up. I will try to fix it when I can.

    Plugin Author HelgaTheViking

    (@helgatheviking)

    I couldn’t replicate this (did you have an empty menu by any chance? Any other plugins filtering the menu items?), but went ahead and added a small if(!empty($items)) check anyway for good measure. Hopefully 1.9.2 that clears it up. It should be available soon, though I always struggle with the WP deployment process.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP incompatability – v7.0.25’ is closed to new replies.