• Resolved keramikoch

    (@keramikoch)


    Dear support, thank you for your great plugin. I do have an error message which appears quite often (in the debug.log). May you help me how to fix that? Thanks in advance. I don have the recent version of WC/Wordpress.

    | Mrz 24, 2023, 09:43:06

    Function wp_enqueue_style 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 woocommerce_de_admin handle. (This message was added in version 3.3.0.)

    WordPress core
    File: /wp-includes/functions.php
    Line: 5835

    • This topic was modified 2 years ago by keramikoch.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Saif

    (@babylon1999)

    Hello @keramikoch,

    I don have the recent version of WC/Wordpress.

    Updating your site’s plugins and WordPress installation should be the first step in troubleshooting. Also, updating can prevent introducing already fixed issues in the future.

    You can check this guide from the WooCommerce team on how to update your site safely.

    Make sure to create a backup just in case things go wrong.

    Please let us know if you still see the error after updating. ??

    Thread Starter keramikoch

    (@keramikoch)

    Hi @babylon1999 ,

    sorry that was a typo. We do (!) have the most recent versions.

    Hi,

    Can you describe if the error started to appear after any specific action? For example, an update, or a new plugin installation?

    If you switch the site theme to Storefront temporarily, and then disable all plugins except WooCommerce, does the issue persist? If not, chances are that there is a conflict, and you will want to re-enable the original theme, and the rest of the plugins gradually one by one until you find the cause of the issue, to perform a conflict test, please refer to this documentation.

    Let us know if there are any questions.

    Hi @keramikoch ,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you need any further help with this.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Function wp_enqueue_style was called incorrectly’ is closed to new replies.