• Hey,

    I made an site for my business a while ago everthing worked fine but suddenly the site was broken .
    The site wasnt displayed correctly and could not login to the backend.
    Now I made a manuel update and got the White screen of death with the notice:
    Constant WP_CONTENT_URL already defined in /var/www/wordpress/wp-config.php on line 84.
    So disabled the plugins and the Theme and also updated the memory limit but nothing worked for me.

    • This topic was modified 7 years, 2 months ago by thecr4nk.

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    >> Now I made a manuel update <<

    What did you update?

    edit wp-config.php then find the line starts with define('WP_CONTENT_URL' then remark the line (add /* in front and */ at the end)

    Thread Starter thecr4nk

    (@thecr4nk)

    I Updated WordPress.

    edit wp-config.php then find the line starts with define(‘WP_CONTENT_URL’ then remark the line (add /* in front and */ at the end)

    I did no the notice is gone but still the White Screen of death Thanks.

    • This reply was modified 7 years, 2 months ago by thecr4nk.
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Errors like this are logged. Check the error log on your server. If you can’t find the log, please contact your host.

    Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.log to see if anything gets logged there. https://codex.wordpress.org/Debugging_in_WordPress

    You can also try this: Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you cannot access wp-admin, there are other ways to deactivate plugins.

    Thread Starter thecr4nk

    (@thecr4nk)

    You can also try this: Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    I activated the twentyseventeen theme and got this:

    Fatal error: Class ‘WP_Block_Type_Registry’ not found in /var/www/wordpress/wp-includes/script-loader.php on line 2421

    Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.log to see if anything gets logged there. https://codex.wordpress.org/Debugging_in_WordPress

    I will restart the server .

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Aha. That leads me to think that the update did not go properly. How did you update wordpress?

    You might try a manual update: https://codex.wordpress.org/Updating_WordPress#Manual_Update

    You can skip the ‘deactivate plugins’ step.

    Thread Starter thecr4nk

    (@thecr4nk)

    Aha. That leads me to think that the update did not go properly. How did you update wordpress?

    You might try a manual update: https://codex.wordpress.org/Updating_WordPress#Manual_Update

    You can skip the ‘deactivate plugins’ step.

    i did the following manual update.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Did you replace all the files in the root of your site ( /var/www/wordpress ) as well as the subdirectories (other than wp-content) ?

    Thread Starter thecr4nk

    (@thecr4nk)

    I did i think i will try it one more time

    Thread Starter thecr4nk

    (@thecr4nk)

    okay i think my website got hacked i updated everything and now i get redirected to an other website

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    definitely.

    Get a fresh cup of coffee, take a deep breath and carefully follow this guide. When you’re done, you may want to implement some (if not all) of the recommended security measures.

    If you’re unable to clean your site(s) successfully, there are reputable organizations that can clean your sites for you. Sucuri and Wordfence are a couple.

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

The topic ‘Site Broken’ is closed to new replies.