• Resolved narshardaalaboring

    (@narshardaalaboring)


    Hi,
    I have setup a WordPress page for my friend (on a custom domain). It was working until now, he texted me, that the page shows a fatal error:

    Deprecated: File class-http.php is deprecated since version 5.9.0! Use wp-includes/class-wp-http.php instead. in /www/r/o/u133422/public_html/wp-includes/functions.php on line 5569
    (I found the above error by enabling debug)

    Fatal error: Cannot redeclare _excerpt_render_inner_columns_blocks() (previously declared in /www/r/o/u133422/public_html/wp-includes/deprecated.php:4214) in /www/r/o/u133422/public_html/wp-includes/blocks.php on line 646

    I cannot access admin panel either. I tried disabling all plugins and themes by renaming themes and plugins folder via FTP, no change.

    I have tried Googling, but I can not find any relevant information. Could anyone point to some direction on how to solve this problem?

Viewing 7 replies - 1 through 7 (of 7 total)
  • what version of wordpress and php are you running? Did you update recently? Deprecated happens when a command has been removed or replaced in a program. What happened just before you received this error. My guess is you have something old and wordpress doesn’t like it any longer.

    Thread Starter narshardaalaboring

    (@narshardaalaboring)

    I have not updated anything.

    I believe my friend did not either (I believe he is not able to do that technically, that is why I’m maintaining the website). I’ll find out whether that is actually true.

    If I am not mistaken, the version of WordPress is 5.8 (not sure here). PHP should be 7.2.34.

    Is there anyway to get more info on what actually tries to use the deprecated stuff?

    this situation depends on the theme code.

    how its coded and what dependencies it is using.

    some developers use and include directly from wp-include functions. I hope this is not the case.

    if that is the case good luck with it. try to debug it try default theme disable this theme see wordpress code working properly.

    if it is not the theme try to disable plugins and see what plugin causing problem.

    • This reply was modified 2 years, 9 months ago by sinanisler.
    • This reply was modified 2 years, 9 months ago by sinanisler.
    Thread Starter narshardaalaboring

    (@narshardaalaboring)

    @sinanisler as I have already tried disabling themes and plugins by renaming themes and plugins folder. I also tried renaming specific subfolders for each theme and plugin. Is that not enough? (is there any other way to disable them, I do not have access to admin panel either)

    definitly reinstall wordpress or
    make new folder /newwp something and install new wordpress

    if still a problem then that means the server/hosting has a problem not your site.

    If you reinstall backup all your files and the schema for your database. Also, make copies of your configuration file it will contain the information for your database. You might also want to copy the wp_content folder this is where all your themes and folders. Also, copy the upload folder it will contain images that you uploaded.

    Thread Starter narshardaalaboring

    (@narshardaalaboring)

    Reinstalling WordPress helped. Would be nice to know why it happened. Hopefully will not happen again.

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Page does not work at all’ is closed to new replies.