- This topic has 6 replies, 2 voices, and was last updated 4 years, 5 months ago by David.
-
AuthorPosts
-
October 24, 2019 at 6:46 am #1043256Gabriel
I have these php errors :
Notice Trying to get property ‘post_type’ of non-object 1
+
wp-includes/link-template.php:271
Plugin: gp-premium
Notice Trying to get property ‘post_name’ of non-object 1
+
wp-includes/link-template.php:273
Plugin: gp-premium
Notice Trying to get property ‘post_type’ of non-object 1
+
wp-includes/link-template.php:277
Plugin: gp-premium
Notice Trying to get property ‘hierarchical’ of non-object 1
+
wp-includes/link-template.php:279
Plugin: gp-premium
Notice Trying to get property ‘query_var’ of non-object 1
+
wp-includes/link-template.php:289
Plugin: gp-premium
Notice Trying to get property ‘post_type’ of non-object 1
+
wp-includes/link-template.php:294
Plugin: gp-premium
Notice Trying to get property ‘ID’ of non-object 1
+
wp-includes/link-template.php:295
Plugin: gp-premiumWhen i disable GP-PREMIUM plugin i don’t get any error.
Any idea?
Thx!
October 24, 2019 at 6:51 am #1043261GabrielIf i expend details on the first notice for exemple :
Notice Trying to get property ‘post_type’ of non-object 1
+
wp-includes/link-template.php:271
Plugin: gp-premium
Notice Trying to get property ‘post_name’ of non-object 1wp-includes/link-template.php:271
get_post_permalink()
wp-content/themes/generatepress-child/includes/manage-boutiques.php:282
fav_list_menu()
wp-includes/class-wp-hook.php:286
apply_filters(‘wp_nav_menu_items’)
wp-includes/nav-menu-template.php:243
wp_nav_menu()
wp-content/plugins/gp-premium/menu-plus/functions/generate-menu-plus.php:958
generate_slideout_navigation()
wp-includes/class-wp-hook.php:286
do_action(‘wp_footer’)
wp-includes/general-template.php:2761
wp_footer()
wp-content/themes/generatepress/footer.php:61
load_template(‘wp-content/themes/generatepress/footer.php’)
wp-includes/template.php:671
locate_template()
wp-includes/general-template.php:76
get_footer()
wp-content/themes/generatepress-child/products.php:105Same thing for all notice.
October 24, 2019 at 7:27 am #1043285DavidStaffCustomer SupportHi there,
part of those errors point at files within your child theme. Can you disable those functions/templates to test if they are at fault.
October 24, 2019 at 9:28 am #1043585GabrielThe fault is in “Menu Plus” of GP-PREMIUM. Good thing i don’t need it. Now it is desactivated i don’t get any error.
October 24, 2019 at 11:56 am #1043678GabrielIn fact i do need it.. for the slideout menu!
October 24, 2019 at 12:04 pm #1043685GabrielSolved, i was using get_post_permalink() for some reason i had some conflicts with menu plus. Now i’m using simply get_permalink() and i don’t get any error code anymore.
October 24, 2019 at 12:56 pm #1043732DavidStaffCustomer SupportGlad to hear you found the problem and the solution 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.