Forum Replies Created

Viewing 15 replies - 16 through 30 (of 87 total)
  • Thread Starter salescart

    (@codeaholic)

    Thanks for your reply.

    I am the host. The first is getting erased by some function of WordPress, a plugin, or a theme.

    I disabled a number of other plugins. One was a Legacy Ninja Forms (it might have been that one). So far, so good. The site has remained up for longer than I can remember and over 8 hours at this point.

    I am running a lower version of PHP. I tried going to later version of PHP 7.4 and it didn’t stop the problem. I decided to go back to an older version that was working tried and true for now so as to not add additional variables.

    Thread Starter salescart

    (@codeaholic)

    Yes, while broken. No effect or change.
    I don’t want it to upgrade to 5.9. It needs to stop. I believe I have set the wpconfig for it to stop doing that. So I’m not sure HOW it is self upgrading anymore. No software on earth should “self-upgrade” and I know of no software besides WP that does it. Even my iPhone warns me and allows me to delay and that is about the worse case before that I am aware of.

    Thread Starter salescart

    (@codeaholic)

    I have tried renaming the plugins and the themes and that doesn’t do anything. For some reason WordPress keeps doing some kind of secret updating and breaks it self. I believe I have set the settings for it to STOP doing that. However, the setting must not really be 100%.

    I believe the file it is complaining about is WordPress proper and not any plug-in or theme.

    /wp-includes/sodium_compat/autoload.php’ (include_path=’.;C:\php\pear’) in C:\Domains\comcity.com\wwwroot\wp-includes\compat.php on line 333

    Great. I’m glad you got it working!

    I just went through this with the latest version of WP which stomped on my website. I ended up having to back up my website and database. Then I manually updated to the previous version of WordPress. Hopefully, that isn’t your problem.

    Try turning on error logs and see what you see.

    https://www.wpbeginner.com/wp-tutorials/how-to-find-and-access-wordpress-error-logs-step-by-step/

    Thread Starter salescart

    (@codeaholic)

    Thanks…got it.

    Thread Starter salescart

    (@codeaholic)

    Sorry, WordPress version 5.9 broke my entire website. So I was trying to get to the last version that worked.

    I just put the website content back and put version 5.8.3 on top of my website and it is working now.

    How do I turn OFF automatic WordPress updates?

    Thanks for your help.

    Thread Starter salescart

    (@codeaholic)

    Thanks. I’m trying to switch it back to an earlier version before 5.9 when it was working. It tried to automatically update on 1/22/2022 and destroyed the site.

    If you go there now, this is a TOTAL blank version of WordPress version 5.5.8. I don’t exactly know what the previous version that was working before it automatically upgraded. Anyway, I updated the database connection and I STILL have the white screen of death.

    Do you know what was the major version of WordPress BEFORE 5.9?

    Thread Starter salescart

    (@codeaholic)

    Ok, I downgrade to php 7.4.

    https://www.comcity.com/

    Now it shows this error:

    Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in C:\Domains\***.com\wwwroot\wp-includes\pomo\plural-forms.php on line 210
    
    Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\Domains\***.com\wwwroot\wp-includes\wp-db.php:1564 Stack trace: #0 C:\Domains\***.com\wwwroot\wp-includes\wp-db.php(592): wpdb->db_connect() #1 C:\Domains\***.com\wwwroot\wp-includes\load.php(404): wpdb->__construct('wordpressuser20...', '^&m-#OffXWA&', 'wordpress205', '127.0.0.1') #2 C:\Domains\***.com\wwwroot\wp-settings.php(106): require_wp_db() #3 C:\Domains\***.com\wwwroot\wp-config.php(101): require_once('C:\\Domains\\comc...') #4 C:\Domains\***.com\wwwroot\wp-load.php(37): require_once('C:\\Domains\\comc...') #5 C:\Domains\***.com\wwwroot\wp-blog-header.php(13): require_once('C:\\Domains\\comc...') #6 C:\Domains\***.com\wwwroot\index.php(17): require('C:\\Domains\\comc...') #7 {main} thrown in C:\Domains\***.com\wwwroot\wp-includes\wp-db.php on line 1564

    The troubleshooting steps located in that article are rather “simplified” for some mostly minor issues. I have logs on and errors on. The website appears to be crashing all over the place.

    If I simply download the latest WP5.9 version and attempt to unzip the files into the website, what files do I need to back up, and/or make sure they don’t get overwritten.

    I know wp-settings.php. Are there others?

    • This reply was modified 4 years, 3 months ago by salescart.
    Thread Starter salescart

    (@codeaholic)

    Well it had PHP 5.6 there. I only upgraded it to PHP 8 because you list a higher PHP requirement. What minimum version and maximum version is best?

    • This reply was modified 4 years, 3 months ago by salescart.
    Thread Starter salescart

    (@codeaholic)

    (Did this site get auto updated to the latest WordPress 5.9 version?)

    Yes, Probably…. It seems like all the auto update sites failed. There are other WP websites on the server that are fine but they auto updates seem to be off.

    The problem started around January 25th.

    • This reply was modified 4 years, 3 months ago by salescart.
    Thread Starter salescart

    (@codeaholic)

    Ok, I just went to github and got that file and created it where it expects it.
    https://github.com/WordPress/WordPress/blob/master/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php

    However, most of the files in that director do not exist. I am seeing this complaint of failed wordpress websites and blank white screens all over the forum. As a programmer, it is like the installation make file for the last version of WordPress are missing half the files for the installation.

    Thread Starter salescart

    (@codeaholic)

    We are the web-hosting company. I have the same problem on multiple sites. The white screen of death doesn’t sound like a popular thing because we all know about the green screen of death and it didn’t do that company much good.

    The error logs of one the websites say this:

    Warning: require(C:\Domains\***.com\wwwroot/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php): failed to open stream: No such file or directory in C:\Domains\***.com\wwwroot\wp-settings.php on line 228

    Fatal error: require(): Failed opening required ‘C:\Domains\***.com\wwwroot/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php’ (include_path=’.;C:\php\pear’) in C:\Domains\***.com\wwwroot\wp-settings.php on line 228

    It is a rather obscure message….leaving much to the imagination.

    I just reinstalled PHP 8 to make sure PHP is not the problem. It tests fine via a phpinfo.php screen. Also, the entire Plugs folder is already renamed so it isn’t a plugin. This looks bonafide 100% WordPress ONLY PROBLEM. It just magically happen. Maybe it had WordPress automatic updates on. If that is the case, I know that will be off from this point on.

    Line 228 reads:
    require( ABSPATH . WPINC . ‘/rest-api/endpoints/class-wp-rest-attachments-controller.php’ );

    It is correct, that file doesn’t exist. Why doesn’t it exist? Nothing has been touched on this website for years.
    Any ideas?

    I cannot ping your website at all. I don’t think you have a wordpress problem. You have a “my website is down” problem. Contact your ISP.

    Thread Starter salescart

    (@codeaholic)

    Anybody know the answer to this? I turned on error logging and I see this message:

    Warning: require(C:\deprecated\wwwroot/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php): failed to open stream: No such file or directory in C:\deprecated\wwwroot\wp-settings.php on line 228

    Fatal error: require(): Failed opening required ‘C:\deprecated\wwwroot/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php’ (include_path=’.;C:\php\pear’) in C:\deprecated\wwwroot\wp-settings.php on line 228

Viewing 15 replies - 16 through 30 (of 87 total)