Technical Issue: Deprecated wc_enqueue_js in XStore Core causing debug.log flood

This topic has 2 replies, 2 voices, and was last updated 1 day, 1 hour ago ago by Andrew Mitchell

  • Avatar: khurram virk
    khurram virk
    Participant
    April 3, 2026 at 16:44

    Hello XStore Support Team,

    Good day to you.

    I am writing to report a performance-impacting issue within the ET Core Plugin.

    My server is currently experiencing high disk I/O and resource usage due to the debug.log being flooded with thousands of lines of deprecation warnings. Upon investigation and a recursive string search of my plugin directory, I have identified that several of your widget models are still using the deprecated wc_enqueue_js function.

    As of WooCommerce 10.4.0, this function is deprecated and triggers a notice on every page load where these widgets are present.

    The specific files triggering these notices are:
    Found in: /home/gycxmgtlws4x/public_html/wp-content/plugins/et-core-plugin/app/models/widgets/brands.php
    Found in: /home/gycxmgtlws4x/public_html/wp-content/plugins/et-core-plugin/app/models/widgets/categories-filter.php
    Found in: /home/gycxmgtlws4x/public_html/wp-content/plugins/et-core-plugin/app/models/widgets/brands-filter.php
    Found in: /home/gycxmgtlws4x/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php

    The Error Message:
    PHP Deprecated: Function wc_enqueue_js is deprecated since version 10.4.0! Use wp_add_inline_script instead. in /home/gycxmgtlws4x/public_html/wp-includes/functions.php on line 6131

    I have already verified that I am running the latest versions of the XStore theme and the ET Core plugin.

    Please provide the corrected code snippets or the patched .php files for these three specific widgets so I can apply the fix manually to my environment immediately.

    Looking forward to the technical solution.

    Thank you.

    1 Answer
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 4, 2026 at 11:17

    Hello, khurram virk,

    Could you please provide temporary WP-Admin and FTP access specifically for this website? We will review the situation and determine how we can assist you.

    To grant WP-Admin access, please create a new user account with the Administrator role through your WordPress Dashboard. Once the account has been created, kindly share the username and password with us securely via the Private Content section designated for this purpose.

    For FTP access, we kindly ask you to provide the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you require assistance in generating these credentials, please contact your hosting provider, who will be able to guide you through the process.

    Best regards,
    8Theme Team

  • Viewing 2 results - 1 through 2 (of 2 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.