-
AuthorPosts
-
December 3, 2018 at 10:24 pm #1040487
Query monitor shows 4 errors:Undefined index: id
Location:
get_header()
wp-content/themes/enfold/template-builder.php:24
locate_template()
wp-includes/general-template.php:41
load_template(‘wp-content/themes/enfold/header.php’)
wp-includes/template.php:647
wp_head()
wp-content/themes/enfold/header.php:77
do_action(‘wp_head’)
wp-includes/general-template.php:2614
wp_enqueue_scripts()
Unknown location
do_action(‘wp_enqueue_scripts’)
wp-includes/script-loader.php:1447
avia_register_frontend_scripts()
Unknown location
avia_get_submenu_count()
wp-content/themes/enfold/functions.php:387
wp_get_nav_menu_items()
wp-content/themes/enfold/framework/php/function-set-avia-frontend.php:1622
apply_filters(‘wp_get_nav_menu_items’)
wp-includes/nav-menu.php:724
If_Menu::wp_get_nav_menu_items()
Unknown location
If_Menu::get_conditions()
wp-content/plugins/if-menu/if-menu.php:59
wp-content/plugins/if-menu/if-menu.php:46I check the if-menu plug found two topics may be related, could you please help? thanks!
https://wordpress.org/support/topic/condition-crashes-site-due-to-lack-of-id-reference/
https://wordpress.org/support/topic/php-warnings-62/December 4, 2018 at 7:19 pm #1040857Hey debra15,
Where are you getting these errors?
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaDecember 4, 2018 at 10:21 pm #1040979I use Query monitor.
You can log in and see the php error messages on the admin bar in the frontend.
December 10, 2018 at 1:20 pm #1043044Hi,
The error is generated by the “if-menu” plugin from this file “wp-content/plugins/if-menu/if-menu.php:46”. Please contact the plugin authors.
Best regards,
IsmaelDecember 10, 2018 at 8:13 pm #1043307Yes, I know. I posted this in the begin and I check the if-menu plug found two topics may be related:
https://wordpress.org/support/topic/condition-crashes-site-due-to-lack-of-id-reference/
https://wordpress.org/support/topic/php-warnings-62/The author said:
“This usually happens when a custom visibility rule is added by another theme or plugins. The added visibility rules are missing the id field, which is required.
Do you know if a theme or other plugins add these?”
and
” This may happen if a theme or plugin adds extra conditions with missing id.”So I came to you to ask help.
December 13, 2018 at 6:15 am #1044709Hi,
The theme doesn’t add any visibility rules but it does have the mega menu option, which is probably where the conflict lies. You may need to use another plugin like this one:
// https://wordpress.org/plugins/menu-items-visibility-control/
Or use the Zen Menu Logic plugin.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.