PHP error messages
-
Hi,
This is a great plugin. However I’m getting three PHP error messages when I have wordpress debug turned on. They are:
Notice: Undefined variable: sub_menu_style in /Applications/AMPPS/www/192.168.1.6/wp-content/plugins/shortcode-menu/shortcode-menu.php on line 192
Notice: Undefined variable: submenu_anchor_color_style in /Applications/AMPPS/www/192.168.1.6/wp-content/plugins/shortcode-menu/shortcode-menu.php on line 195
Notice: Undefined variable: submenu_anchor_hover_color_style in /Applications/AMPPS/www/192.168.1.6/wp-content/plugins/shortcode-menu/shortcode-menu.php on line 196
The lines they are referring to are:
#'.$menu_id.' ul, #'.$menu_id.' ul ul { '.$sub_menu_style.' } #'.$menu_id.' ul a { '.$submenu_anchor_color_style.' } #'.$menu_id.' ul a:hover { '.$submenu_anchor_hover_color_style.' }I’ve tried deactivating all my other plugins, and enabling the defaulty 2014 wordpress theme and I’m still getting the same errors.
Thanks,
Arian
The topic ‘PHP error messages’ is closed to new replies.