Vulnerability Checker - "Schedule automatic checks" and "Check sites when syncing" not working

I installed the Vulnerability Checker extension over a month ago and it checks my sites fine when I run it manually (using MainWP NVD API).

The one thing I notice is that the “Schedule automatic checks” I had set to daily (I have also tried weekly) never seems to work. “Last Run” always says Never and “Next Run” says Today under Settings.

“Check sites when syncing” is enabled as well but I don’t think it does anything as well since in the Vulnerability Checker Overview list “Last check date” column for any of my sites is always the date I last time did a manual check.

I have other scheduled tasks running like the Pro Reports so I am not sure why the Vulnerability Checker schedule doesn’t seem to work.

Anyone have any ideas on how to fix it?

Hi Tom,

Can you please post the community system report from your MainWP Dashboard for review? The report is located in your Dashboard under Status → Server, on the top right of the page.

Be sure to use the button like the one below; this button hides all your private information:


Pressing the button auto-copies the report to your clipboard then just paste it in a reply here.

Hmm never knew about the service status page, nice. I see that my WP memory limit is reported a little low but I will not change anything until you take a look. The only other thing that is not passed is the cURL timeout is a little low as well but neither should prevent a schedule from running especially syncing more heavier tasks like scheduled synching child sites runs without problems.

### Server Info                    Required                                               Detected                                     Status   ###

MainWP Dashboard                   
MainWP Dashboard Version                                                                             Pass        
MainWP Upload Directory            Writable                                               Writable                                     Pass        
MainWP Extensions                  
Advanced Uptime Monitor Extension  5.2                                                    API License Active                           Pass        
MainWP Google Analytics Extension                                                API License Active                           Pass        
MainWP Maintenance Extension                                                API License Active                           Pass        
MainWP Pro Reports Extension       4.0.6                                                  API License Active                           Pass        
MainWP Vulnerability Checker Extension4.1                                                    API License Active                           Pass        
MainWP Wordfence Extension         4.0.4                                                  API License Active                           Pass        
WPvivid Backup MainWP              0.9.22                                                                                                          
WordPress Version                  >=3.6                                                  5.8                                          Pass        
WordPress Memory Limit             >=64M                                                  40M                                          Warning     
MultiSite Disabled                 =true                                                  true                                         Pass        
FileSystem Method                  = direct                                               direct                                       Pass        
PHP Version                        >=5.6                                                  7.4.23                                       Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Max Execution Time             >=30 seconds                                           60                                           Pass        
PHP Max Input Time                 >=30 seconds                                           60                                           Pass        
PHP Memory Limit                   >=128M                                                 256M                                         Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Upload Max Filesize            >=2M                                                   128M                                         Pass        
PHP Post Max Size                  >=2M                                                   128M                                         Pass        
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                                                             Pass        
cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          60                                           Warning     
cURL Version                       >=7.18.1                                               7.78.0                                       Pass        
cURL SSL Version                   >=OpenSSL/0.9.8l                                       OpenSSL/1.1.1l                               Pass        
PHP Allow URL fopen                YES                                                    
PHP Exif Support                   YES ( V7.4.)                                           
PHP IPTC Support                   YES                                                    
PHP XML Support                    YES                                                    
PHP Disabled Functions             No functions disabled.                                 
PHP Loaded Extensions              Core, PDO, Phar, Reflection, SPL, SimpleXML, bcmath, bz2, cgi-fcgi, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, hash, iconv, imagick, ionCube Loader, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, pdo_mysql, pdo_sqlite, posix, readline, session, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, zlib
MySQL Version                      >=5.0                                                  5.7.35                                       Pass        
MySQL Client Encoding              utf8mb4                                                
Server Info                        
Server Software                    Apache                                                 
Operating System                   Linux                                                  
Architecture                       64		 bit                                               
Server Protocol                    HTTP/2.0                                               
HTTPS                              ON                                                     
Server self connect                Response Test O.K.                                     
User Agent                         Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36 Edg/92.0.902.84
Gateway Interface                  CGI/1.1                                                
Memory Usage                       62.63 MB                                               
Request Time                       1631011777                                             
Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Charset Content             N/A                                                    
MainWP Settings                    
Number Of Child Sites              6                                                      
Use WP-Cron                        Yes                                                    
Optimize for Shared Hosting or Big NetworksNo                                                     
Automatic Daily Update             Install trusted updates                                
Abandoned Plugins/Themes Tolerance 365                                                    
Maximum number of posts to return  50                                                     
Maximum number of pages to return                                                         
Primary Backup System              WPvivid Backup for MainWP                              
Maximum simultaneous requests      4                                                      
Minimum delay between requests     200                                                    
Maximum simultaneous requests per ip1                                                      
Minimum delay between requests to the same ip1000                                                   
Maximum simultaneous sync requests                                                        
Minimum simultaneous install/update requests                                                       
Active Plugins                     
MainWP Child                       4.1.7                                                  Active                                       
MainWP Dashboard                                                         Active                                       
WP Crontrol                        1.10.0                                                 Active                                       
WPvivid Backup MainWP              0.9.22                                                 Active                                       
WPvivid Backup Plugin              0.9.60                                                 Active                                       
WPvivid Plugins Pro                2.0.23                                                 Active                                       

Here is a bit more info on the issue.

So I looked at MainWP Cron Schedules and I notice that the “Last Run” date is missing for

Now I believe the maintenance cron is running because in the pro reports it does display maintenance information for each child site. I also manually ran mainwp_cron_vulner_recheck using the WP Control plugin and the dates for the “Last check date” for each child site did not change.

Here is the info from the Vulnerability Checker Overview
Once every minute
Last Run: September 7, 2021 8:37 pm
Next Run: September 8, 2021 9:13 am

Once hourly
Last Run: September 8, 2021 8:37 am
Next Run: September 8, 2021 9:27 am

Once hourly
Last Run:
Next Run: September 8, 2021 9:59 am

Once every minute
Last Run:
Next Run: September 8, 2021 9:13 am

Once daily
Last Run: September 7, 2021 11:37 am
Next Run: September 8, 2021 11:27 am

Once hourly
Last Run: September 8, 2021 8:37 am
Next Run: September 8, 2021 9:30 am

Once hourly
Last Run:
Next Run: September 8, 2021 10:03 am

Hi Tom,

Can you please try to update the WP Memory Limit to at least 128M and see if that helps?

It’s weird it should already be at 256 (which is what I set all my sites at when I create them). I just confirmed and I have PHP memory set at 256MB. My backup plugin on the same site also states in its website info page that the memory_limit is at 256.

I even added in wp-config.php

define (‘WP_MEMORY_LIMIT’, ‘256M’);

and rebooted the server but for some reason MainWP thinks the WordPress Memory Limit is 40M

Could there be a bug on the MainWP Server Info page?

Can you please check your code? Now it looks like you are using curly quotes. They must be straight. Like this:

define( 'WP_MEMORY_LIMIT', '256M' );

Oops… okay that works and now the WP Memory Limit has been set.

Still 12 hours later and the vulnerability checker has not automatically run.

Should those cron jobs listed by the extension that I have listed above have last run dates (some do and some don’t as I listed above).

If I trigger the cron job “mainwp_cron_vulner_recheck” should that check the schedule and trigger anything over due? (I just tried it and the last run date did not change). Currently that cron job is scheduled hourly.

Hi Tom,

Would you mind opening a private Help Desk ticket so we can collect some additional information & investigate further?

Okay, I just opened a ticket.

1 Like