I have the same problem, and didnt’t fix
Same problem for me. Help
Same problem… how to download previous version?
-
This reply was modified 7 years, 2 months ago by
Jmantis.
Plugin Author
Andrei
(@andreiigna)
Hi,
Thanks for letting me know about this.
The issue comes from an older version of the plugin, which used rule names instead of IDs as a reference. This change in latest version was necessary to provide better support for If Menu on sites with multiple languages.
The issue wasn’t reproduced on our QA phase and we missed it, sorry about the inconvenience. There are 2 solutions for fixing this:
- update to latest version 0.8.2 which now includes support for previous data format
- Visit menu pages in WP Admin and save the rules again
Cheers
0.8.2 works fine, thank’s a lot.
Yeah, thanks, all it’s okay
Hi
Also get this in v0.8.3
PHP Notice: Undefined index: id in /if-menu/if-menu.php on line 67
Just needs a condition around it e.g.
if (isset($condition['id'])) {
$c2[$condition['id']] = $condition;
}
Cheers
Andy
Plugin Author
Andrei
(@andreiigna)
Hi Andy,
Looks like in your case the id parameters is missing for a condition. This may happen if a theme or plugin adds extra conditions with missing id.
The code suggested is just a workaround, adding the missing parameter to custom conditions would be preferred
Cheers