Xtheme related – Woocommerce Fatal Error

This topic has 5 replies, 2 voices, and was last updated 2 years, 10 months ago ago by Olga Barlow

  • Avatar: nixatsnow
    nixatsnow
    Participant
    February 3, 2022 at 11:16

    Please advise what has caused the below error:

    2022-02-03T09:08:48+00:00 CRITICAL Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /home/northbayinventor/northbaygarage.sale/wp-content/plugins/et-core-plugin/app/models/customizer/builder/template-parts/header.php:72
    Stack trace:
    #0 /home/northbayinventor/northbaygarage.sale/wp-content/plugins/et-core-plugin/app/models/customizer/builder/class-customize-builder.php(255): require_once()
    #1 /home/northbayinventor/northbaygarage.sale/wp-includes/class-wp-hook.php(307): Etheme_Customize_header_Builder->template('')
    #2 /home/northbayinventor/northbaygarage.sale/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /home/northbayinventor/northbaygarage.sale/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /home/northbayinventor/northbaygarage.sale/wp-admin/admin-ajax.php(187): do_action('wp_ajax_et_ajax...')
    #5 {main}
      thrown in /home/northbayinventor/northbaygarage.sale/wp-content/plugins/et-core-plugin/app/models/customizer/builder/template-parts/header.php on line 72

    ——————–

    we just spent past 20 minutes on saving all past error logs which were ALL caused by this theme and have over 64,000+ images (count without the additional generated dimensions) AND 10,000+ products SO PLEASE DO NOT JUST LOG IN TO THE ADMIN PANEL AND/OR VIA FTP AND CHANGING OR PUSHING THINGS THROUGH AS WE ARE ACTIVELY BULK UPDATING ITEMS!

    4 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 3, 2022 at 12:19

    Hello,

    Tell us your actions when you get the mentioned fatal error? We need to reproduce that to fix the problem.

    Regards

    Avatar: nixatsnow
    nixatsnow
    Participant
    February 3, 2022 at 12:24

    Not sure how we can replicate an error that was logged by an entire system that has hundreds of moving parts.. https://prnt.sc/26nu3oe

    that’s why it’s an error log.. that points to the directory and the file and the line where the problem keeps occuring…. you guys are the makers of the above said theme where the error happened (

    Avatar: nixatsnow
    nixatsnow
    Participant
    February 3, 2022 at 12:27
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 3, 2022 at 13:01

    Hello,

    Stack trace I just could assume that some error occurred while you tried to edit the header using header builder and ajax request was failed. But we need to understand your actions. I tried to edit the header and did not face any errors and log is clear. So, tell me your actions before the error happens in case you face that again, please.

    Regards

  • Viewing 5 results - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.