Debug nightmare (4 posts)

  1. alexmancunian
    Posted 3 years ago #

    Hi all!
    What does it means this :Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks.

    It seems that I have done all but how you can see from my site I can't start to add new items like pictures, post and everything.
    Could you explain me like it I was a baby how I can sort it?

    It's becoming a nightmare!
    Thanks in advance

  2. alexmancunian
    Posted 3 years ago #

    Oh...forgot to tell that my page is alessandrotrenti.com

  3. michael.mariart
    Posted 3 years ago #

    This means that either your theme or one of your plugins has an error in the way that it's calling the wp_enqueue_style() function somewhere. The way to find out is to disable ALL plugins and go back to the default (and unmodified) TwentyEleven theme, then re-enable them one-by-one and check to see which one causes the problem. For now my bet is that it's your theme.

  4. alexmancunian
    Posted 3 years ago #

    Thanks a lot for your answer...
    I will try today;)

Topic Closed

This topic has been closed to new replies.

About this Topic