Home › Forums › Basel support forum › Fatal errors after making shortcodes
Fatal errors after making shortcodes
- This topic has 26 replies, 3 voices, and was last updated 11 months, 3 weeks ago by Artem Temos.
-
AuthorPosts
-
November 6, 2023 at 1:53 pm #510183
TuomoParticipantHi there,
I did little while ago some shortcodes in my https://www.sukat.com & https://www.alusvaatteet.com sites.
Topic: Product page -> After “Add to cart button” text area
Here are the error logs from woocommerce:2023-11-06T10:04:24+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ä 11182023-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ä 11182023-11-06T10:04:53+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-query.php(3932): 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(310): 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ä 11182023-11-06T10:09:02+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-query.php(3932): 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(310): 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ä 11182023-11-06T10:09:08+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ä 1118November 6, 2023 at 4:32 pm #510245
Elise NoromitMemberHello,
You need to create HTML block, then insert its shortcode ID in the place you want to show the content.
Our support does not cover /include customization of Wooommerce functionality integrating HTML block into PHP code, we suggest searching for the plugin to meet your requirements.
We have not met or tested any plugins for the purpose which is why we can hardly recommend any.
If you have any questions please feel free to contact us.
Best Regards
November 6, 2023 at 5:54 pm #510289
TuomoParticipantHi Elise,
I don’t have any HTML blocks with PHP code. I tried those, but they failed the tests.
These are the only new HTML blocks that I have still in both sites. Images are from https://www.sukat.com page.Best Regards,
Tuomo NurkkalaAttachments:
You must be logged in to view attached files.November 7, 2023 at 2:44 am #510383
Elise NoromitMemberHello,
Please provide updated site admin access.
Best Regards
November 7, 2023 at 9:26 am #510410
TuomoParticipantHi Elise,
This works:
November 8, 2023 at 4:08 pm #510868
TuomoParticipantI found a similar problem over here:
https://wordpress.org/support/topic/fatal-error-attempt-to-assign-property-object_id-on-bool/November 8, 2023 at 4:31 pm #510881
TuomoParticipantI made a new topic to wordpress as well:
https://wordpress.org/support/topic/fatal-errors-object_id-2/November 8, 2023 at 8:03 pm #510945
Elise NoromitMemberHello,
Please provide FTP access into the private area under the message, our developers will check deeper as we see the error there.
Best Regards
November 8, 2023 at 10:20 pm #510968
TuomoParticipantHi Elise,
Here they are, but I think the password is wrong. I have to ask about the password from my hosting provider.
I think they will answer me back tomorrow. I will answer back to you as soon as they will answer me back.Best Regards,
Tuomo NurkkalaNovember 9, 2023 at 5:04 am #510985
Elise NoromitMemberHello,
Please double-check the access, I cannot log in.
If you have any questions please feel free to contact us.
Best Regards
November 10, 2023 at 10:28 am #511338
TuomoParticipantHi Elise,
Here are the right information.
If using Filezilla: Go to file -> site management and set following settings:November 10, 2023 at 10:31 am #511339
TuomoParticipantI updated wordpress to 6.4.1 so this might not be in line 1134 anymore.
( https://wordpress.org/support/topic/fatal-errors-object_id-2/ )I changed this code with inserting/adding
is_object($term) &&
in line 1117, where is asked if property exists.
The IF-code only asks if a property exists, not if $term is an object. So adding my snippet to this IF statement will also ask if §term is an object.
If you updated your WP it will be now on line 1133: https://github.com/WordPress/WordPress/blob/master/wp-includes/class-wp-term-query.php#L1133 The fatal PHP error then occurs in line 1134.Keep in mind, allways have a copy of the original code. 😉
November 10, 2023 at 11:24 am #511366
Artem TemosKeymasterHello,
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.
Kind Regards
November 10, 2023 at 11:58 am #511382
TuomoParticipantHi Artem,
Thanks for looking those things!Did you do something to the codes, because I lost my categories and other stuff from sukat.com site (www.sukat.com/kategoriat/ & http://www.alusvaatteet.com/kategoriat/ )?
You can see in the Rajaa valikko image that there is categories etc.
I am have backups in my hosting server and I am trying to go back in time, but even those backups are not helping at the moment to get those back. :/
In the morning I made the previous backup and everything was fine on the site at that point.Best Regards,
Tuomo NurkkalaAttachments:
You must be logged in to view attached files.November 10, 2023 at 12:27 pm #511393
Artem TemosKeymasterHello,
No, we didn’t change anything on your website. Probably, widgets lost their positions during some switching between themes. It is a known WordPress behavior but we didn’t change themes on your website.
Kind Regards
November 10, 2023 at 12:39 pm #511402
TuomoParticipantBtw I think I was updating plugins at the same time when you were looking at the codes.
Because after I sent this message:
Hi Elise,Here are the right information.
If using Filezilla: Go to file -> site management and set following settings:I updated Omnibus plugin and then the site crashed from the category site. Maybe at that point you turned the WPML plugin off or something.
After realizing that the site is not working properly I tried to go back with the backup before updating the plugin.
And the site was not working the same way anymore after going to previous backup.November 10, 2023 at 12:46 pm #511403
TuomoParticipantI lost all the widgets from sukat.com site, but not from alusvaatteet.com site for some unknown reason.
Attachments:
You must be logged in to view attached files.November 10, 2023 at 12:49 pm #511406
TuomoParticipantI will try to make new ones.
November 10, 2023 at 1:15 pm #511430
TuomoParticipantI got most of them back but I am still missing the categories on the category page.
When updating the widget page I am getting a red “error” message and it is translated to english:
The errors affect the block “woocommerce_product_categories” and it may not work as expected. Check the developer tools for more information.Attachments:
You must be logged in to view attached files.November 10, 2023 at 1:30 pm #511440
TuomoParticipantI got this working by taking the categories from: Main Widget Area -> Shop page Widget Area.
November 13, 2023 at 10:38 am #511883
Artem TemosKeymasterOK, let me know if there are still some issues remaining.
Kind Regards
November 13, 2023 at 10:57 am #511893
TuomoParticipantHi Artem,
No I dont have any other problems than the WPML plugin code problems.
I guess I could fix the object_ID in bool momentarily with this code:
class-wp-term-query.php
Row 1133:
if ( property_exists( $term_data, 'object_id' ) ) {
->
if ( is_object($term) && property_exists( $term_data, 'object_id' ) ) {
Here is the latest error report:
2023-11-12T17:20:25+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ä 11342023-11-12T17:20: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: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ä 11342023-11-12T17:20:36+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ä 11342023-11-12T17:20: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ä 1134November 13, 2023 at 11:27 am #511911
Artem TemosKeymasterHello,
In this case, you would better consult with WPML plugin developers as well.
Kind Regards
November 13, 2023 at 3:58 pm #512003
TuomoParticipantHi Artem,
Yes I have talked with them. I hope they will fix their codes as soon as possible.
Here is the thread of the support chat:
https://wpml.org/forums/topic/uncaught-error-attempt-to-assign-property-object_id-on-bool-in/
By logging in to their account you can see their messages as well which are missing from there when not logged in.November 13, 2023 at 4:00 pm #512004
TuomoParticipantActually when I logged in their chat is private messages.
December 5, 2023 at 8:37 pm #518801
TuomoParticipantI just got this message from WPML about the issue:
Hi,
The issue is also related to the theme Basel on your site. If I switch the theme to a default one of WordPress (2021), it works properly. It is more complex than I think, a compatibility issue between WPML, WP Global Cart plugins and Basel theme.
I’m discussing this issue with our 2nd tier support and update you here when I have something to share.
Thanks for your patience.
December 6, 2023 at 10:28 am #518961
Artem TemosKeymasterHello,
OK, let me know when they give you more information about the issue and how it is related to the theme.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register