Title: site diagnostic error
Last modified: August 23, 2020

---

# site diagnostic error

 *  [dudewithaproblem](https://wordpress.org/support/users/dudewithaproblem/)
 * (@dudewithaproblem)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/site-diagnostic-error/)
 * Hey people my wordpress site diagnostic tool gives two errors the first one is
   this:
 * Background updates do not work as expected
    X The WP_AUTO_UPDATE_CORE constant
   is set and enabled.
 * and the second one
 * Mismatched “post_max_size” and “upload_max_filesize” values.
 * The settings for post_max_size and upload_max_filesize are not the same, this
   could cause some problems when trying to upload files.
 * now my wordfence gives these messages:
 * Unknown file in WordPress core: wp-admin/includes/upgrade.php.orig
 * Unknown file in WordPress core: wp-includes/functions.php.orig
 * when i check my file browser these two files (the upgrade.php.orig and functions.
   php.orig) are last edited september 2018
    could they also be the cause of the
   system diagnositc errors? and what would be the best way to fix these issues?
 * thanks in advance

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

 *  [Sunday Ukafia](https://wordpress.org/support/users/sukafia/)
 * (@sukafia)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/site-diagnostic-error/#post-13300051)
 * Hi there
 * > Background updates do not work as expected
   >  X The WP_AUTO_UPDATE_CORE constant
   > is set and enabled.
 * The above error simply means there’s an issue with WordPress background update.
   Background updates ensures WordPress can auto-update and apply fixes to security
   issues, etc.
 * The issue can be caused by a plugin or theme conflict. You can try switching 
   to any of the default WordPress themes to see if the issue exists. You can also
   try disabling all your plugins one after the other, while checking to see if 
   the error disappears and which plugin was deactivated when it did.
 * > Mismatched “post_max_size” and “upload_max_filesize” values.
 * As stated in the error, your post max size and upload nax file size are different.
 * If you’re using a Cpanel hosting, you’ll find the option to adjust this in “Select
   PHP version” or “MultiPHP INI editor” in your Cpanel dashboard. You’ll have to
   ensure that both options have the same value.
 * > now my wordfence gives these messages:
   > Unknown file in WordPress core: wp-admin/includes/upgrade.php.orig
 * The above files aren’t core WordPress file and are likely malwares. You can delete
   them through your file browser or WordFence.
 * You should ensure you’re not using nulled themes or plugins as they’re the major
   source of this.
 * I hope this helps.
 * Cheers!
 *  [caspergd](https://wordpress.org/support/users/caspergd/)
 * (@caspergd)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/site-diagnostic-error/#post-13300224)
 * > The above files aren’t core WordPress file and are likely malwares. You can
   > delete them through your file browser or WordFence.
 * actually they are they original core wordpress files (.orig stands for original).
   These files are from a WordPress APS package used when you install WordPress 
   via a management system like Plesk on a server rather than by installing manually.
   pretty harmless but also not needed to run the site after upload.
 *  [chitrag135](https://wordpress.org/support/users/chitrag135/)
 * (@chitrag135)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/site-diagnostic-error/#post-13300581)
 * i also having same issue, I changed it in the PHP option but still same error
   as above.
    Mismatched “post_max_size” and “upload_max_filesize” values.
 *  Thread Starter [dudewithaproblem](https://wordpress.org/support/users/dudewithaproblem/)
 * (@dudewithaproblem)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/site-diagnostic-error/#post-13300695)
 * thanks for the help/info it really helped me out tackling most of the issues
 * the issue with wordfence is now resolved it was indeed just deleteing it
    after
   testing some plugins without succes i went looking for WP_AUTO_UPDATE_CORE on
   google for the issue with the update wordpress fell over the fact that in the
   wp-config.php there was this line: define(‘WP_AUTO_UPDATE_CORE’, ‘minor’); and
   i changed it to define(‘WP_AUTO_UPDATE_CORE’, true); with seems to fixed the 
   issue
 * the only thing im still haveing is the
    “post_max_size” and “upload_max_filesize”
   my host seems to have no option to manually change it there is a option to select
   a php version but cant adjust the upload/post sizes it does not have a option
   for that
 * they do have a infopage about the php versions and properties
    with show their
 * post_max_size is 76 MB
    and upload_max_filesize 64 MB i guess that issue is on
   their side unless there is another trick to bypass it, i tried putting some php
   in .htacces but that didn’t work i get the idea my host does not allow to change
   it.
 * anyways thanks for the tips and help most problems are resolved now
 * cheers!
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 7 months ago](https://wordpress.org/support/topic/site-diagnostic-error/#post-13300848)
 * >> define(‘WP_AUTO_UPDATE_CORE’, ‘minor’); and i changed it to define(‘WP_AUTO_UPDATE_CORE’,
   true); <<
 * FYI, that will be fixed in 5.5.1, whenever it comes out. ‘minor’ will again be
   a valid value.
 *  [Sunday Ukafia](https://wordpress.org/support/users/sukafia/)
 * (@sukafia)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/site-diagnostic-error/#post-13311055)
 * [@caspergd](https://wordpress.org/support/users/caspergd/)
 * > actually they are they original core wordpress files (.orig stands for original).
   > These files are from a WordPress APS package used when you install WordPress
   > via a management system like Plesk on a server rather than by installing manually.
   > pretty harmless but also not needed to run the site after upload.
 * Thanks for pointing that out. 😀

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

The topic ‘site diagnostic error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 5 participants
 * Last reply from: [Sunday Ukafia](https://wordpress.org/support/users/sukafia/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/site-diagnostic-error/#post-13311055)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
