• Hi

    There is an issue related to the deprecated function wc_enqueue_js().

    You can read about it for example here:
    https://developer.woocommerce.com/2025/11/19/deprecation-of-wc_enqueue_js-in-10-4/

    In the current version of your plugin, which is version 1.22.3, this deprecated function is being used in the file:
    duracelltomi-google-tag-manager -> integration -> woocommerce.php

    …on line 799

    It has been recommended by WooCommerce to replace wc_enqueue_js() with wp_add_inline_script().

    Since version 10.5 WooCommerce is reporting the deprecated function calls in the PHP error_log file. And this results in the PHP error_log file being flooded with these warnings.

    Can you please update your plugin file to avoid using the deprecated wc_enqueue_js() function?

Viewing 1 replies (of 1 total)
  • Thread Starter Gevorg

    (@gev0rg)

    As other users have also reported about this issue here and here on this support forum, can you at least give an update on what you are doing concerning this problem?

    The php_errorlog file of WordPress is being flooded with warnings concerning this issue.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.