• Resolved LexGear

    (@lexgear)


    I’m on version 10.3.3 and I’m still getting heaps of warnings from woocommerce. Warnings related to woo and libraries:

    • flexslider
    • jquery-blockui
    • jquery-cookie
    • jquery-payment
    • photoswipe
    • prettyPhoto
    • select2
    • zoom

    Example:
    Notice: Function wp_script_is was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the flexslider handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /var/www/html/wp-includes/functions.php on line 6121

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there,

    Thank you for bringing this to our attention.

    To assist you further, could you please check if you still face the same issue after deactivating all plugins except WooCommerce and activate default theme like twenty twenty five or storefront?

    I’ve tried to replicate this issue on my site, but I wasn’t able to reproduce it. My suspicion is that custom code or another plugin on your site may be calling these scripts incorrectly, which is triggering the notices for FlexSlider, jQuery BlockUI, jQuery Cookie, and the other libraries you mentioned.

    If you still face the same issue even after deactivating all plugins and activating a default theme like Twenty Twenty, please share your System Status Report.

    You can find it here: WooCommerce → Status.

    Please copy the report and paste it into https://pastebin.com/ or https://gist.github.com/, then share the link in your reply. Once we have this information, we’ll be able to assist you further.


    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    This is a follow-up message.

    In the latest WooCommerce version, some changes were made that may cause certain plugins using deprecated functions to trigger notices, as described here: WooCommerce PR #61589.

    To resolve these notices, you’ll need to identify which plugins are causing them and contact the respective plugin support teams so they can update their plugins to be compatible with the latest WooCommerce version.

    Plugin Support thelmachido a11n

    (@thelmachido)

    It’s been a while since we heard back from you for this reason we are closing this thread. 

    If WooCommerce has been useful for your store and you appreciate the support you’ve received, we’d truly appreciate it if you could leave us a quick review here: 

     https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/#new-post

    Feel free to open a new forum topic if you run into any other problem. 

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP Notice: Function wp_script_is was called incorrectly’ is closed to new replies.