Home Forums Basel support forum Fatal errors after making shortcodes

Fatal errors after making shortcodes

Viewing 27 posts - 1 through 27 (of 27 total)
  • Author
    Posts
  • #510183

    Tuomo
    Participant

    Hi 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ä 1118

    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

    2023-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ä 1118

    2023-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ä 1118

    2023-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ä 1118

    #510245

    Hello,

    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

    #510289

    Tuomo
    Participant

    Hi 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 Nurkkala

    Attachments:
    You must be logged in to view attached files.
    #510383

    Hello,

    Please provide updated site admin access.

    Best Regards

    #510410

    Tuomo
    Participant

    Hi Elise,

    This works:

    #510868

    Tuomo
    Participant
    #510881

    Tuomo
    Participant

    I made a new topic to wordpress as well:
    https://wordpress.org/support/topic/fatal-errors-object_id-2/

    #510945

    Hello,

    Please provide FTP access into the private area under the message, our developers will check deeper as we see the error there.

    Best Regards

    #510968

    Tuomo
    Participant

    Hi 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 Nurkkala

    #510985

    Hello,

    Please double-check the access, I cannot log in.

    If you have any questions please feel free to contact us.

    Best Regards

    #511338

    Tuomo
    Participant

    Hi Elise,

    Here are the right information.
    If using Filezilla: Go to file -> site management and set following settings:

    #511339

    Tuomo
    Participant

    I 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. 😉

    #511366

    Artem Temos
    Keymaster

    Hello,

    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

    #511382

    Tuomo
    Participant

    Hi 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 Nurkkala

    Attachments:
    You must be logged in to view attached files.
    #511393

    Artem Temos
    Keymaster

    Hello,

    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

    #511402

    Tuomo
    Participant

    Btw 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.

    #511403

    Tuomo
    Participant

    I 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.
    #511406

    Tuomo
    Participant

    I will try to make new ones.

    #511430

    Tuomo
    Participant

    I 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.
    #511440

    Tuomo
    Participant

    I got this working by taking the categories from: Main Widget Area -> Shop page Widget Area.

    #511883

    Artem Temos
    Keymaster

    OK, let me know if there are still some issues remaining.

    Kind Regards

    #511893

    Tuomo
    Participant

    Hi 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ä 1134

    2023-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ä 1134

    2023-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ä 1134

    2023-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ä 1134

    #511911

    Artem Temos
    Keymaster

    Hello,

    In this case, you would better consult with WPML plugin developers as well.

    Kind Regards

    #512003

    Tuomo
    Participant

    Hi 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.

    #512004

    Tuomo
    Participant

    Actually when I logged in their chat is private messages.

    #518801

    Tuomo
    Participant

    I 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.

    #518961

    Artem Temos
    Keymaster

    Hello,

    OK, let me know when they give you more information about the issue and how it is related to the theme.

    Kind Regards

Viewing 27 posts - 1 through 27 (of 27 total)