conditions-multiple-options.php – Error on line 386
-
After upgrading to paid version of this plugin I get an error using the If Menu logic for Has Active Membership Plan (for Woo Commerce Membership Extension). This is the error:
Warning: Invalid argument supplied for foreach() in /home/ainemari/public_html/wp-content/plugins/if-menu/src/conditions-multiple-options.php on line 386
It works using Is logged In, but not using Has Active Membership Plan.
WordPress: 4.9.5
Woo Commerce: 3.3.5
Woo Membership: 1.10.1
php: 7.1.16I have turned of the logic because this is a live site so you won’t see the error in page link.
I am showing/hiding 3 menu items, some based on Is Logged In and one based on Has Active Membership Plan. When I add the logic for the later, it breaks.
Thanks in advance.
C
The page I need help with: [log in to see the link]
- The topic ‘conditions-multiple-options.php – Error on line 386’ is closed to new replies.