tuomoN-2
2023-11-06T10:04:29+00:00 CRITICAL Uncaught Error: Attempt to assign property “object_id” on bool in /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php:1118
Stack trace:
#0 /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php(817): WP_Term_Query->populate_terms()
#1 /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php(308): WP_Term_Query->get_terms()
#2 /home2/sukkianet/public_html/wp-includes/taxonomy.php(1308): WP_Term_Query->query()
#3 /home2/sukkianet/public_html/wp-includes/taxonomy.php(2268): get_terms()
#4 /home2/sukkianet/public_html/wp-includes/taxonomy.php(3781): wp_get_object_terms()
#5 /home2/sukkianet/public_html/wp-includes/post.php(7796): update_object_term_cache()
#6 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3317): _prime_post_caches()
#7 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3800): WP_Query->get_posts()
#8 /home2/sukkianet/public_html/wp-includes/class-wp.php(662): WP_Query->query()
#9 /home2/sukkianet/public_html/wp-includes/class-wp.php(782): WP->query_posts()
#10 /home2/sukkianet/public_html/wp-includes/functions.php(1335): WP->main()
#11 /home2/sukkianet/public_html/wp-blog-header.php(16): wp()
#12 /home2/sukkianet/public_html/index.php(17): require(‘/home2/sukkiane…’)
#13 {main}
thrown tässä /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php rivillä 1118
tuomoN-2
I have updated plugins and wordpress lately.
I tested the same bug today and I got this error message:
2023-11-10T07:45:12+00:00 CRITICAL Uncaught Error: Attempt to assign property "object_id" on bool in /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php:1134
Stack trace:
#0 /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php(828): WP_Term_Query->populate_terms()
#1 /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php(311): WP_Term_Query->get_terms()
#2 /home2/sukkianet/public_html/wp-includes/taxonomy.php(1332): WP_Term_Query->query()
#3 /home2/sukkianet/public_html/wp-includes/taxonomy.php(2291): get_terms()
#4 /home2/sukkianet/public_html/wp-includes/taxonomy.php(3804): wp_get_object_terms()
#5 /home2/sukkianet/public_html/wp-includes/post.php(7804): update_object_term_cache()
#6 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3334): _prime_post_caches()
#7 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3824): WP_Query->get_posts()
#8 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3956): WP_Query->query()
#9 /home2/sukkianet/public_html/wp-content/themes/basel/inc/shortcodes/shortcodes.php(3637): WP_Query->__construct()
#10 /home2/sukkianet/public_html/wp-includes/shortcodes.php(433): basel_shortcode_products()
#11 [internal function]: do_shortcode_tag()
#12 /home2/sukkianet/public_html/wp-includes/shortcodes.php(273): preg_replace_callback()
#13 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(265): do_shortcode()
#14 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/templates/shortcodes/vc_column.php(94): wpb_js_remove_wpautop()
#15 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(457): require('/home2/sukkiane...')
#16 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(430): WPBakeryShortCode->loadTemplate()
#17 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(552): WPBakeryShortCode->content()
#18 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(1318): WPBakeryShortCode->output()
#19 /home2/sukkianet/public_html/wp-includes/shortcodes.php(433): vc_do_shortcode()
#20 [internal function]: do_shortcode_tag()
#21 /home2/sukkianet/public_html/wp-includes/shortcodes.php(273): preg_replace_callback()
#22 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(265): do_shortcode()
#23 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/templates/shortcodes/vc_row.php(156): wpb_js_remove_wpautop()
#24 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(457): require('/home2/sukkiane...')
#25 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/vc-row.php(40): WPBakeryShortCode->loadTemplate()
#26 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(552): WPBakeryShortCode_Vc_Row->content()
#27 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(1318): WPBakeryShortCode->output()
#28 /home2/sukkianet/public_html/wp-includes/shortcodes.php(433): vc_do_shortcode()
#29 [internal function]: do_shortcode_tag()
#30 /home2/sukkianet/public_html/wp-includes/shortcodes.php(273): preg_replace_callback()
#31 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(324): do_shortcode()
#32 /home2/sukkianet/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#33 /home2/sukkianet/public_html/wp-includes/post-template.php(256): apply_filters()
#34 /home2/sukkianet/public_html/wp-content/themes/basel/page.php(28): the_content()
#35 /home2/sukkianet/public_html/wp-includes/template-loader.php(106): include('/home2/sukkiane...')
#36 /home2/sukkianet/public_html/wp-blog-header.php(19): require_once('/home2/sukkiane...')
#37 /home2/sukkianet/public_html/index.php(17): require('/home2/sukkiane...')
#38 {main}
thrown tässä /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php rivillä 1134
2023-11-10T08:47:06+00:00 CRITICAL Uncaught Error: Call to a member function is_type() on bool in /home2/sukkianet/public_html/wp-content/plugins/back-in-stock-notifier-for-woocommerce/includes/frontend/class-product.php:354
Stack trace:
#0 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(324): CWG_Instock_Notifier_Product->display_popup_button_in_catalog_page()
#1 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /home2/sukkianet/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /home2/sukkianet/public_html/wp-content/themes/basel/woocommerce/content-product-alt.php(48): do_action()
#4 /home2/sukkianet/public_html/wp-includes/template.php(792): require('/home2/sukkiane...')
#5 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template()
#6 /home2/sukkianet/public_html/wp-content/themes/basel/woocommerce/content-product.php(85): wc_get_template_part()
#7 /home2/sukkianet/public_html/wp-includes/template.php(792): require('/home2/sukkiane...')
#8 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template()
#9 /home2/sukkianet/public_html/wp-content/themes/basel/woocommerce/archive-product.php(107): wc_get_template_part()
#10 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home2/sukkiane...')
#11 /home2/sukkianet/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.php(22): wc_get_template()
#12 /home2/sukkianet/public_html/wp-includes/template-loader.php(106): include('/home2/sukkiane...')
#13 /home2/sukkianet/public_html/wp-blog-header.php(19): require_once('/home2/sukkiane...')
#14 /home2/sukkianet/public_html/index.php(17): require('/home2/sukkiane...')
#15 {main}
thrown tässä /home2/sukkianet/public_html/wp-content/plugins/back-in-stock-notifier-for-woocommerce/includes/frontend/class-product.php rivillä 354
2023-11-10T09:22:30+00:00 CRITICAL Uncaught Error: Attempt to assign property "object_id" on bool in /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php:1134
Stack trace:
#0 /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php(828): WP_Term_Query->populate_terms()
#1 /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php(311): WP_Term_Query->get_terms()
#2 /home2/sukkianet/public_html/wp-includes/taxonomy.php(1332): WP_Term_Query->query()
#3 /home2/sukkianet/public_html/wp-includes/taxonomy.php(2291): get_terms()
#4 /home2/sukkianet/public_html/wp-includes/taxonomy.php(3804): wp_get_object_terms()
#5 /home2/sukkianet/public_html/wp-includes/post.php(7804): update_object_term_cache()
#6 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3334): _prime_post_caches()
#7 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3824): WP_Query->get_posts()
#8 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3956): WP_Query->query()
#9 /home2/sukkianet/public_html/wp-content/themes/basel/inc/shortcodes/shortcodes.php(3637): WP_Query->__construct()
#10 /home2/sukkianet/public_html/wp-includes/shortcodes.php(433): basel_shortcode_products()
#11 [internal function]: do_shortcode_tag()
#12 /home2/sukkianet/public_html/wp-includes/shortcodes.php(273): preg_replace_callback()
#13 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(265): do_shortcode()
#14 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/templates/shortcodes/vc_column.php(94): wpb_js_remove_wpautop()
#15 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(457): require('/home2/sukkiane...')
#16 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(430): WPBakeryShortCode->loadTemplate()
#17 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(552): WPBakeryShortCode->content()
#18 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(1318): WPBakeryShortCode->output()
#19 /home2/sukkianet/public_html/wp-includes/shortcodes.php(433): vc_do_shortcode()
#20 [internal function]: do_shortcode_tag()
#21 /home2/sukkianet/public_html/wp-includes/shortcodes.php(273): preg_replace_callback()
#22 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(265): do_shortcode()
#23 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/templates/shortcodes/vc_row.php(156): wpb_js_remove_wpautop()
#24 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(457): require('/home2/sukkiane...')
#25 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/vc-row.php(40): WPBakeryShortCode->loadTemplate()
#26 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(552): WPBakeryShortCode_Vc_Row->content()
#27 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(1318): WPBakeryShortCode->output()
#28 /home2/sukkianet/public_html/wp-includes/shortcodes.php(433): vc_do_shortcode()
#29 [internal function]: do_shortcode_tag()
#30 /home2/sukkianet/public_html/wp-includes/shortcodes.php(273): preg_replace_callback()
#31 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(324): do_shortcode()
#32 /home2/sukkianet/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#33 /home2/sukkianet/public_html/wp-includes/post-template.php(256): apply_filters()
#34 /home2/sukkianet/public_html/wp-content/themes/basel/page.php(28): the_content()
#35 /home2/sukkianet/public_html/wp-includes/template-loader.php(106): include('/home2/sukkiane...')
#36 /home2/sukkianet/public_html/wp-blog-header.php(19): require_once('/home2/sukkiane...')
#37 /home2/sukkianet/public_html/index.php(17): require('/home2/sukkiane...')
#38 {main}
thrown tässä /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php rivillä 1134
2023-11-10T09:22:39+00:00 CRITICAL Uncaught Error: Attempt to assign property "object_id" on bool in /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php:1134
Stack trace:
#0 /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php(828): WP_Term_Query->populate_terms()
#1 /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php(311): WP_Term_Query->get_terms()
#2 /home2/sukkianet/public_html/wp-includes/taxonomy.php(1332): WP_Term_Query->query()
#3 /home2/sukkianet/public_html/wp-includes/taxonomy.php(2291): get_terms()
#4 /home2/sukkianet/public_html/wp-includes/taxonomy.php(3804): wp_get_object_terms()
#5 /home2/sukkianet/public_html/wp-includes/post.php(7804): update_object_term_cache()
#6 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3334): _prime_post_caches()
#7 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3824): WP_Query->get_posts()
#8 /home2/sukkianet/public_html/wp-includes/class-wp.php(696): WP_Query->query()
#9 /home2/sukkianet/public_html/wp-includes/class-wp.php(816): WP->query_posts()
#10 /home2/sukkianet/public_html/wp-includes/functions.php(1336): WP->main()
#11 /home2/sukkianet/public_html/wp-blog-header.php(16): wp()
#12 /home2/sukkianet/public_html/index.php(17): require('/home2/sukkiane...')
#13 {main}
thrown tässä /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php rivillä 1134
2023-11-10T09:25:39+00:00 CRITICAL Uncaught Error: Attempt to assign property "object_id" on bool in /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php:1134
Stack trace:
#0 /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php(828): WP_Term_Query->populate_terms()
#1 /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php(311): WP_Term_Query->get_terms()
#2 /home2/sukkianet/public_html/wp-includes/taxonomy.php(1332): WP_Term_Query->query()
#3 /home2/sukkianet/public_html/wp-includes/taxonomy.php(2291): get_terms()
#4 /home2/sukkianet/public_html/wp-includes/taxonomy.php(3804): wp_get_object_terms()
#5 /home2/sukkianet/public_html/wp-includes/post.php(7804): update_object_term_cache()
#6 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3334): _prime_post_caches()
#7 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3824): WP_Query->get_posts()
#8 /home2/sukkianet/public_html/wp-includes/class-wp.php(696): WP_Query->query()
#9 /home2/sukkianet/public_html/wp-includes/class-wp.php(816): WP->query_posts()
#10 /home2/sukkianet/public_html/wp-includes/functions.php(1336): WP->main()
#11 /home2/sukkianet/public_html/wp-blog-header.php(16): wp()
#12 /home2/sukkianet/public_html/index.php(17): require('/home2/sukkiane...')
#13 {main}
thrown tässä /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php rivillä 1134
2023-11-10T10:33:41+00:00 CRITICAL Uncaught Error: Attempt to assign property "object_id" on bool in /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php:1134
Stack trace:
#0 /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php(828): WP_Term_Query->populate_terms()
#1 /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php(311): WP_Term_Query->get_terms()
#2 /home2/sukkianet/public_html/wp-includes/taxonomy.php(1332): WP_Term_Query->query()
#3 /home2/sukkianet/public_html/wp-includes/taxonomy.php(2291): get_terms()
#4 /home2/sukkianet/public_html/wp-includes/taxonomy.php(3804): wp_get_object_terms()
#5 /home2/sukkianet/public_html/wp-includes/post.php(7804): update_object_term_cache()
#6 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3334): _prime_post_caches()
#7 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3824): WP_Query->get_posts()
#8 /home2/sukkianet/public_html/wp-includes/class-wp.php(696): WP_Query->query()
#9 /home2/sukkianet/public_html/wp-includes/class-wp.php(816): WP->query_posts()
#10 /home2/sukkianet/public_html/wp-includes/functions.php(1336): WP->main()
#11 /home2/sukkianet/public_html/wp-blog-header.php(16): wp()
#12 /home2/sukkianet/public_html/index.php(17): require('/home2/sukkiane...')
#13 {main}
thrown tässä /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php rivillä 1134
2023-11-10T10:33:46+00:00 CRITICAL Uncaught Error: Attempt to assign property "object_id" on bool in /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php:1134
Stack trace:
#0 /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php(828): WP_Term_Query->populate_terms()
#1 /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php(311): WP_Term_Query->get_terms()
#2 /home2/sukkianet/public_html/wp-includes/taxonomy.php(1332): WP_Term_Query->query()
#3 /home2/sukkianet/public_html/wp-includes/taxonomy.php(2291): get_terms()
#4 /home2/sukkianet/public_html/wp-includes/taxonomy.php(3804): wp_get_object_terms()
#5 /home2/sukkianet/public_html/wp-includes/post.php(7804): update_object_term_cache()
#6 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3334): _prime_post_caches()
#7 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3824): WP_Query->get_posts()
#8 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3956): WP_Query->query()
#9 /home2/sukkianet/public_html/wp-content/themes/basel/inc/shortcodes/shortcodes.php(3637): WP_Query->__construct()
#10 /home2/sukkianet/public_html/wp-includes/shortcodes.php(433): basel_shortcode_products()
#11 [internal function]: do_shortcode_tag()
#12 /home2/sukkianet/public_html/wp-includes/shortcodes.php(273): preg_replace_callback()
#13 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(265): do_shortcode()
#14 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/templates/shortcodes/vc_column.php(94): wpb_js_remove_wpautop()
#15 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(457): require('/home2/sukkiane...')
#16 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(430): WPBakeryShortCode->loadTemplate()
#17 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(552): WPBakeryShortCode->content()
#18 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(1318): WPBakeryShortCode->output()
#19 /home2/sukkianet/public_html/wp-includes/shortcodes.php(433): vc_do_shortcode()
#20 [internal function]: do_shortcode_tag()
#21 /home2/sukkianet/public_html/wp-includes/shortcodes.php(273): preg_replace_callback()
#22 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(265): do_shortcode()
#23 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/templates/shortcodes/vc_row.php(156): wpb_js_remove_wpautop()
#24 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(457): require('/home2/sukkiane...')
#25 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/vc-row.php(40): WPBakeryShortCode->loadTemplate()
#26 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(552): WPBakeryShortCode_Vc_Row->content()
#27 /home2/sukkianet/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(1318): WPBakeryShortCode->output()
#28 /home2/sukkianet/public_html/wp-includes/shortcodes.php(433): vc_do_shortcode()
#29 [internal function]: do_shortcode_tag()
#30 /home2/sukkianet/public_html/wp-includes/shortcodes.php(273): preg_replace_callback()
#31 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(324): do_shortcode()
#32 /home2/sukkianet/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#33 /home2/sukkianet/public_html/wp-includes/post-template.php(256): apply_filters()
#34 /home2/sukkianet/public_html/wp-content/themes/basel/page.php(28): the_content()
#35 /home2/sukkianet/public_html/wp-includes/template-loader.php(106): include('/home2/sukkiane...')
#36 /home2/sukkianet/public_html/wp-blog-header.php(19): require_once('/home2/sukkiane...')
#37 /home2/sukkianet/public_html/index.php(17): require('/home2/sukkiane...')
#38 {main}
thrown tässä /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php rivillä 1134
Long Nguyen
Supporter
Languages:
English (English )
Timezone:
Asia/Ho_Chi_Minh (GMT+07:00)
Hi Tuomo,
Thank you for contacting WPML support, I'd be happy to help you with this issue.
After checking the issue on your site and error log, I see that:
- No error message related to WPML.
- Both sites: alusvaatteet.com and sukat.com are a single site and not a translation of each other with WPML.
For now, I do not see that issue, here is the screen record hidden link
Maybe you've adjusted the WordPress core directly.
If it still occurs on your site, I suggest deactivating WPML on both sites and checking this issue again.
❌ IMPORTANT: Please backup your database and website before proceeding ❌
Look forward to your reply.
Thanks
tuomoN-2
Hi Long,
The error comes after you have added products in hidden link site and then you go to hidden link site.
The Add-product-alusvaatteetcom.jpg image is before adding products from alusvaatteet.com site.
After I have added products to shopping basket in alusvaatteet.com site is the Add-product-alusvaatteetcom-sukatcom.jpg image and then going to sukat.com site. So the error message comes from sukat.com URL.
I haven't done anything to the wordpress core yet.
I could fix the bool problems with this:
class-wp-term-query.php
Row 1133:
if ( property_exists( $term_data, 'object_id' ) ) {
->
if ( is_object($term) && property_exists( $term_data, 'object_id' ) ) {
The problems doesn't exist when your plugins are deactivated.
Xtemos / Basel theme provider has tested this and here is their support answer to me:
It looks like the problem is caused by WPML plugin. When the plugin is turned off it works correctly. Please, contact WPML support and ask them to check this from their end too.
Here is the error log from woocommerce again when testing this problem:
2023-11-14T07:21:51+00:00 CRITICAL Uncaught Error: Attempt to assign property "object_id" on bool in /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php:1134
Stack trace:
#0 /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php(828): WP_Term_Query->populate_terms()
#1 /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php(311): WP_Term_Query->get_terms()
#2 /home2/sukkianet/public_html/wp-includes/taxonomy.php(1332): WP_Term_Query->query()
#3 /home2/sukkianet/public_html/wp-includes/taxonomy.php(2291): get_terms()
#4 /home2/sukkianet/public_html/wp-includes/taxonomy.php(3804): wp_get_object_terms()
#5 /home2/sukkianet/public_html/wp-includes/post.php(7804): update_object_term_cache()
#6 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3334): _prime_post_caches()
#7 /home2/sukkianet/public_html/wp-includes/class-wp-query.php(3824): WP_Query->get_posts()
#8 /home2/sukkianet/public_html/wp-includes/class-wp.php(696): WP_Query->query()
#9 /home2/sukkianet/public_html/wp-includes/class-wp.php(816): WP->query_posts()
#10 /home2/sukkianet/public_html/wp-includes/functions.php(1336): WP->main()
#11 /home2/sukkianet/public_html/wp-blog-header.php(16): wp()
#12 /home2/sukkianet/public_html/index.php(17): require('/home2/sukkiane...')
#13 {main}
thrown tässä /home2/sukkianet/public_html/wp-includes/class-wp-term-query.php rivillä 1134
tuomoN-2
Both of my sites are in multisite environment and the shopping cart and checkout page are connected with WP Global Cart plugin.
Long Nguyen
Supporter
Languages:
English (English )
Timezone:
Asia/Ho_Chi_Minh (GMT+07:00)
Hi,
I see the issue occurs when adding this product to the cart
hidden link
but not with this product (as my screen record above)
hidden link
It could be a compatibility issue between WPML and WP Global Cart. This plugin is not available in our list of compatible plugins, which you can check here https://wpml.org/plugin/ .
I suggest you contact the plugin author and ask them to join our Go Global program where our Compatibility developers will help them to make their product compatible with WPML.
https://wpml.org/documentation/support/go-global-program/
Meanwhile, please help us to replicate the issue on a clean installation of WordPress. You can find the site credentials in the next private reply.
Kindly follow the steps below:
- Don’t restore your site there.
- Install WP Global Cart plugin.
- Try to replicate the issue with minimal steps.
- Then let me know the steps to replicate it.
This will help us to report the issue to the compatibility team and solve the problem faster.
Look forward to your reply.
Thanks
tuomoN-2
Hi Long,
Actually this problem was in all of the alusvaatteet.com products, but today morning I changed from:
phpMyAdmin
Server connection collation:
utf8mb4_unicode_ci
to
utf8mb4_unicode_520_ci
and now the problem is not in every product.
tuomoN-2
I sent your info to WP Global Cart plugin and they might add their plugin to your staging site and test if their is any problems.
Long Nguyen
Supporter
Languages:
English (English )
Timezone:
Asia/Ho_Chi_Minh (GMT+07:00)
I'm waiting for your feedback.
Thanks.
tuomoN-2
I am still waiting for an response from WP Global Cart.
In the mean time should all of these phpMyAdmin tables be as such?
Half are
utf8mb4_unicode_ci
and the next half is
utf8mb4_unicode_520_ci
Long Nguyen
Supporter
Languages:
English (English )
Timezone:
Asia/Ho_Chi_Minh (GMT+07:00)
Hi,
I'm not sure if the database collation utf8mb4_unicode_520_ci will help in this compatibility issue as you said above.
https://wpml.org/forums/topic/uncaught-error-attempt-to-assign-property-object_id-on-bool-in/#post-14796369
But you can try to set all the collation to one type by using this plugin https://wordpress.org/plugins/database-collation-fix/
❌ IMPORTANT: Please backup your database and website before proceeding ❌
And read more about the different of collation types here https://stackoverflow.com/questions/37307146/difference-between-utf8mb4-unicode-ci-and-utf8mb4-unicode-520-ci-collations-in-m
Thanks.
tuomoN-2
It seems that some of my hidden link tables are in utf8mb4_unicode_ci and all of the hidden link tables are in utf8mb4_unicode_520_ci. I will look more deeply into this today and let you know when I have checked this thing threw.
tuomoN-2
Hi Long,
I tried this plugin
https://wordpress.org/plugins/database-collation-fix/
but it broke my alusvaatteet.com site. I got it fixed with a backup.
The problem with that plugin is that it will only convert tables to utf8mb4_unicode_ci and newer to utf8mb4_unicode_520_ci collation.
I read from here that I could bulk edit these collations, but I am still trying to figure out where I can make these changes and is this even a smart thing to do:
hidden link
SELECT CONCAT("ALTER TABLE ",TABLE_SCHEMA,".",TABLE_NAME," CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;")
FROM information_schema.TABLES
WHERE TABLE_SCHEMA="wp_project_name";
In my phpMyAdmin I have alot of these tables and it will take some time to change the collation types from there one by one.
Long Nguyen
Supporter
Languages:
English (English )
Timezone:
Asia/Ho_Chi_Minh (GMT+07:00)
Hi,
You can also contact your hosting support to change the collation of all tables. Let me know if it fixes the compatibility in this case. If not, please help me to replicate the issue on the test site that I shared above.
Thanks.
tuomoN-2
Hi Long,
Yes this is something that I could do, but they charge 125€ from every starting hour for the job. It should be a short job, but never know. It is a possibility that they could send me a 10 hour invoice of the job. 😀
I asked my brother to look at that problem and he will come look at it when he has time, he is a really good coder.