Hi,
Please first re-enable the plugin so the error doesn’t appear, now check the logic set for menu items and make sure none of them are using a function from that ticket plugin (when the plugin is disabled PHP is unable to run that function and so generates the error). Also note the ; character is not needed in the Visibility option for menu items, you must input only the logic itself (like: is_home()).
No menu item, under Appearance->Menu’s is using that plugin for any kind of conditional test. Only is_user_logged_in() == true/False and some PMPRO logic for paid areas.
I am not using a ; in any of my conditions.
The other plugin did not have a menu item, it uses shortcode within an existing page – so I am a bit unsure what this plugin is looking up that would be able to reference that plugin.
I did not notice that the subject line got truncated… Here is the whole error:
Parse error: syntax error, unexpected ‘;’ in /XXXXX/XXXXX/public_html/wp-content/plugins/menu-items-visibility-control/init.php(97) : eval()’d code on line 1
I realize I said it had a menu to being with – I was a bit confused on the support plugin. I apologize for the mistake… I have been testing a couple and got confused. The one causing the error only uses shortcode on existing pages.
Hi,
This is the plugin: https://ww.wp.xz.cn/plugins/memoria-ticket-system/? Might I ask what shortcode you’re using? I can try to replicate it on local setup.
Good news, I found the problem… 🙂
Turns out that if you use PMPro that memoria ticket system will mask errors. I disabled Memoria ticket system and then it exposed an issue, on one menu item, with the PMPRO logic I was using for paid areas.
Sorry for the false alarm!