Admin area problem

Hi there!! This afternoon I had 3 times a server 500 error. Cause unknown, but afterwards the CSS of the admin area does not load anymore. I searches for solutions, but nothing I found and tried worked. I re-uploaded WP and the plugins directory, also no result. Debugging shows:

Notice: wp_enqueue_script 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. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /var/www/vhosts/ on line 4148

Notice: Constant FS_METHOD already defined in /var/www/vhosts/ on line 51

What can I do with this?

Your help is appreciated!



  • James Morris
    • WordPress Enthusiast

    Hello Ronald

    In order to help you better with your issue, would you please grant me access to your site and server so I can perform some advanced debugging?

    NOTE: Please make a full backup of your site before sending the following information.

    Please visit the Contact page and complete the form with the following information:

    Option: I have a different Question

    Subject: “Attn: James Morris”

    In the Message box, please provide the following:

    – link back to this thread for reference

    – any other relevant urls

    – Admin login:

    Admin username

    Admin password

    Login url

    – Hosting Control Panel Login

    Admin username

    Admin password

    Login url


    – FTP credentials




    (and port if required)

    Best regards,

    James Morris

  • Ronald
    • The Crimson Coder

    Hi James,

    Thx for helping out!!

    To my big surprise my webhost offered to take a look and he solved the problem!

    (There was a DDOS attack that caused the server 500 errors, so perhaps they felt a bit responsible. Nevertheless: I’m a happy guy and thank you for your offering, but is no longer needed!)

    Cheers again,


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.