Title: salescart's Replies - page 2 | WordPress.org

---

# salescart

  [  ](https://wordpress.org/support/users/codeaholic/)

 *   [Profile](https://wordpress.org/support/users/codeaholic/)
 *   [Topics Started](https://wordpress.org/support/users/codeaholic/topics/)
 *   [Replies Created](https://wordpress.org/support/users/codeaholic/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/codeaholic/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/codeaholic/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/codeaholic/engagements/)
 *   [Favorites](https://wordpress.org/support/users/codeaholic/favorites/)

 Search replies:

## Forum Replies Created

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

[←](https://wordpress.org/support/users/codeaholic/replies/?output_format=md) [1](https://wordpress.org/support/users/codeaholic/replies/?output_format=md)
2 [3](https://wordpress.org/support/users/codeaholic/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/codeaholic/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/codeaholic/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/codeaholic/replies/page/6/?output_format=md)
[→](https://wordpress.org/support/users/codeaholic/replies/page/3/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress keeps breaking all by itself.](https://wordpress.org/support/topic/wordpress-keeps-breaking-all-by-itself/)
 *  Thread Starter [salescart](https://wordpress.org/support/users/codeaholic/)
 * (@codeaholic)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/wordpress-keeps-breaking-all-by-itself/#post-15361331)
 * 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.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress keeps breaking all by itself.](https://wordpress.org/support/topic/wordpress-keeps-breaking-all-by-itself/)
 *  Thread Starter [salescart](https://wordpress.org/support/users/codeaholic/)
 * (@codeaholic)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/wordpress-keeps-breaking-all-by-itself/#post-15360551)
 * 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.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress keeps breaking all by itself.](https://wordpress.org/support/topic/wordpress-keeps-breaking-all-by-itself/)
 *  Thread Starter [salescart](https://wordpress.org/support/users/codeaholic/)
 * (@codeaholic)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/wordpress-keeps-breaking-all-by-itself/#post-15359411)
 * 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
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Unable to edit pages on the backend](https://wordpress.org/support/topic/unable-to-edit-pages-on-the-backend/)
 *  [salescart](https://wordpress.org/support/users/codeaholic/)
 * (@codeaholic)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/unable-to-edit-pages-on-the-backend/#post-15335165)
 * Great. I’m glad you got it working!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Unable to edit pages on the backend](https://wordpress.org/support/topic/unable-to-edit-pages-on-the-backend/)
 *  [salescart](https://wordpress.org/support/users/codeaholic/)
 * (@codeaholic)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/unable-to-edit-pages-on-the-backend/#post-15335080)
 * 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/](https://www.wpbeginner.com/wp-tutorials/how-to-find-and-access-wordpress-error-logs-step-by-step/)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress broke on 5.9 and it seem permanent](https://wordpress.org/support/topic/wordpress-broke-on-5-9-and-it-seem-permanent/)
 *  Thread Starter [salescart](https://wordpress.org/support/users/codeaholic/)
 * (@codeaholic)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/wordpress-broke-on-5-9-and-it-seem-permanent/#post-15335016)
 * Thanks…got it.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress broke on 5.9 and it seem permanent](https://wordpress.org/support/topic/wordpress-broke-on-5-9-and-it-seem-permanent/)
 *  Thread Starter [salescart](https://wordpress.org/support/users/codeaholic/)
 * (@codeaholic)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/wordpress-broke-on-5-9-and-it-seem-permanent/#post-15334994)
 * 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.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress broke on 5.9 and it seem permanent](https://wordpress.org/support/topic/wordpress-broke-on-5-9-and-it-seem-permanent/)
 *  Thread Starter [salescart](https://wordpress.org/support/users/codeaholic/)
 * (@codeaholic)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/wordpress-broke-on-5-9-and-it-seem-permanent/#post-15334976)
 * 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?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress destroyed my website–It’s gone!](https://wordpress.org/support/topic/wordpress-destroyed-my-website-its-gone/)
 *  Thread Starter [salescart](https://wordpress.org/support/users/codeaholic/)
 * (@codeaholic)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/wordpress-destroyed-my-website-its-gone/#post-15330845)
 * Ok, I downgrade to php 7.4.
 * [https://www.comcity.com/](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](https://wordpress.org/support/users/codeaholic/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress destroyed my website–It’s gone!](https://wordpress.org/support/topic/wordpress-destroyed-my-website-its-gone/)
 *  Thread Starter [salescart](https://wordpress.org/support/users/codeaholic/)
 * (@codeaholic)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/wordpress-destroyed-my-website-its-gone/#post-15330836)
 * 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](https://wordpress.org/support/users/codeaholic/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress destroyed my website–It’s gone!](https://wordpress.org/support/topic/wordpress-destroyed-my-website-its-gone/)
 *  Thread Starter [salescart](https://wordpress.org/support/users/codeaholic/)
 * (@codeaholic)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/wordpress-destroyed-my-website-its-gone/#post-15330824)
 * (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](https://wordpress.org/support/users/codeaholic/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress destroyed my website–It’s gone!](https://wordpress.org/support/topic/wordpress-destroyed-my-website-its-gone/)
 *  Thread Starter [salescart](https://wordpress.org/support/users/codeaholic/)
 * (@codeaholic)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/wordpress-destroyed-my-website-its-gone/#post-15330820)
 * 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](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.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress destroyed my website–It’s gone!](https://wordpress.org/support/topic/wordpress-destroyed-my-website-its-gone/)
 *  Thread Starter [salescart](https://wordpress.org/support/users/codeaholic/)
 * (@codeaholic)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/wordpress-destroyed-my-website-its-gone/#post-15330806)
 * 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?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Admin log in link won’t open and site down](https://wordpress.org/support/topic/admin-log-in-link-wont-open-and-site-down/)
 *  [salescart](https://wordpress.org/support/users/codeaholic/)
 * (@codeaholic)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/admin-log-in-link-wont-open-and-site-down/#post-15311819)
 * 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.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Website just stopped working](https://wordpress.org/support/topic/website-just-stopped-working/)
 *  Thread Starter [salescart](https://wordpress.org/support/users/codeaholic/)
 * (@codeaholic)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/website-just-stopped-working/#post-15311794)
 * 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)

[←](https://wordpress.org/support/users/codeaholic/replies/?output_format=md) [1](https://wordpress.org/support/users/codeaholic/replies/?output_format=md)
2 [3](https://wordpress.org/support/users/codeaholic/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/codeaholic/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/codeaholic/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/codeaholic/replies/page/6/?output_format=md)
[→](https://wordpress.org/support/users/codeaholic/replies/page/3/?output_format=md)