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.