Conflict with plugin If-Menu
-
We’re using a plugin called If-Menu:
https://ww.wp.xz.cn/plugins/if-menu/
Unfortunately, there are some conflicts with your Nested-Pages plugin.
The issue is the “Sync Menu” option at the top of the Page Manager. When checking this option, the following warning is thrown from the If-Menu plugin:
PHP Warning: Invalid argument supplied for foreach() in /wp-content/plugins/if-menu/if-menu.php on line 223
The line in question of that plugin is:
foreach ( $_POST['menu-item-if-menu-enable'][$menu_item_db_id] as $index => $value ) {Apparently the $_POST[‘menu-item-if-menu-enable’][$menu_item_db_id] array for the If-Menu plugin isn’t being set properly when checking the Sync Menu option of your Nested Pages plugin.
I would like to fix this issue and would appreciate a point in the right direction.
And thank you for an awesome plugin. Really makes managing pages in the admin easier than the current default WP page management system.
The topic ‘Conflict with plugin If-Menu’ is closed to new replies.