[wordfence.scan.count] not working anymore

In my Pro Report send today to my clients [wordfence.scan.count] is showing 0 scans.

When I scroll down the Pro report I see that all performed Wordfence scans last month are listed with their scan date and status in the report.

So scan dates are showed, but amount of scans ([wordfence.scan.count]) is not (it’s zero).

It worked fine until last month and I did not change anything in the code of my custom Pro Report.

Thanks for the help!
Alwin

Hey @Alwin

Sorry to hear this issue has resurfaced for you.

Can you please post the community system report from your MainWP Dashboard for review? The report is located in your Dashboard under Info → 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:

image

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


### WordPress Check                Required                                               Detected                                     Status   ###

FileSystem Method                  = direct                                               direct                                       Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
WordPress Memory Limit             >=64M                                                  512M                                         Pass        
WordPress Version                  >=3.6                                                  6.1.1                                        Pass        

### PHP                            Required                                               Detected                                     Status   ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL SSL Version                   >=OpenSSL/1.1.0                                        OpenSSL/1.1.1n                               Pass        
cURL Timeout                       >=300 seconds                                          300                                          Pass        
cURL Version                       >=7.29.0                                               7.64.0                                       Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Allow URL fopen                N/A                                                    YES                                                      
PHP Disabled Functions             N/A                                                    , pcntl_alarm, pcntl_async_signals, pcntl_exec, pcntl_fork, pcntl_get_last_error, pcntl_getpriority, pcntl_setpriority, pcntl_signal, pcntl_signal_dispatch, pcntl_signal_get_handler, pcntl_sigprocmask, pcntl_sigtimedwait, pcntl_sigwaitinfo, pcntl_strerror, pcntl_unshare, pcntl_wait, pcntl_waitpid, pcntl_wexitstatus, pcntl_wifcontinued, pcntl_wifexited, pcntl_wifsignaled, pcntl_wifstopped, pcntl_wstopsig, pcntl_wtermsig,            
PHP Exif Support                   N/A                                                    YES ( V8.0.)                                             
PHP IPTC Support                   N/A                                                    YES                                                      
PHP Loaded Extensions              N/A                                                    Core, FFI, PDO, PDO_Firebird, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apcu, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, intl, json, libxml, mbstring, memcached, mongodb, msgpack, mysqli, mysqlnd, odbc, openssl, pcre, pdo_dblib, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, readline, redis, session, shmop, soap, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           899                                          Pass        
PHP Max Input Time                 >=30 seconds                                           299                                          Pass        
PHP Memory Limit                   >=128M                                                 512M                                         Pass        
PHP Post Max Size                  >=2M                                                   100M                                         Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Upload Max Filesize            >=2M                                                   100M                                         Pass        
PHP Version                        >=7.0                                                  8.0.22                                       Pass        
PHP XML Support                    N/A                                                    YES                                                      
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                                                             Pass        

### MySQL                          Required                                               Detected                                     Status   ###

MySQL Client Encoding              N/A                                                    utf8                                                     
MySQL Mode                         N/A                                                    ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION            
MySQL Version                      >=5.0                                                  10.4.20-MariaDB-1:10.4.20+maria~buster-log   Pass        

### Server Configuration           Detected Value                                      ###

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.7
Accept-Charset Content             N/A                                                    
Architecture                       64		 bit                                               
Gateway Interface                  CGI/1.1                                                
HTTPS                              ON                                                     
Memory Usage                       11.89 MB                                               
Operating System                   Linux                                                  
Request Time                       1677702554                                             
Server Protocol                    HTTP/1.0                                               
Server self connect                Not expected HTTP response body:                       
Server Software                    Apache/2.4.54 (Debian)                                 
User Agent                         Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.57

### MainWP Dashboard Settings      Detected Value                                      ###

Abandoned plugins/themes tolerance 360                                                    
Basic uptime monitoring enabled    No                                                     
Cache control enabled              Yes                                                    
MainWP Dashboard Version           Latest: 4.4.0.1 | Detected: 4.4.0.1 Pass               
MainWP legacy backups enabled      No                                                     
Maximum number of pages to return                                                         
Maximum number of posts to return                                                         
Maximum simultaneous install and update requests3                                                      
Maximum simultaneous requests      4                                                      
Maximum simultaneous requests per ip10                                                     
Maximum simultaneous sync requests 10                                                     
Minimum delay between requests     200                                                    
Minimum delay between requests to the same ip1000                                                   
Number of child sites              12                                                     
Optimize for shared hosting or big networksNo                                                     
Plugin advanced automatic updates enabledYes                                                    
Primary Backup System              MainWP UpdraftPlus Extension                           
REST API enabled                   No                                                     
Site health monitoring enabled     Yes                                                    
Theme advanced automatic updates enabledYes                                                    
Use WP Cron                        Yes                                                    
WP Core advanced automatic updates enabledYes                                                    

### Extensions                     Version                                                License                                      Status   ###

Advanced Uptime Monitor Extension  5.2.2                                                  Actived                                      Pass        
MainWP Google Analytics Extension  4.0.5                                                  Actived                                      Pass        
MainWP Lighthouse Extension        4.0.2                                                  Actived                                      Pass        
MainWP Maintenance Extension       4.1.2                                                  Actived                                      Pass        
MainWP Pro Reports Extension       4.0.13                                                 Actived                                      Pass        
MainWP Rocket Extension            4.0.5                                                  Actived                                      Pass        
MainWP SSL Monitor Extension       4.0                                                    Deactivated                                  Warning     
MainWP UpdraftPlus Extension       4.0.8                                                  Actived                                      Pass        
WPvivid Backup MainWP              0.9.29                                                                                                          

### Plugin                         Version                                                Status                                    ###

MainWP Dashboard                   4.4.0.1                                                Active                                       
Wordfence Security                 7.9.0                                                  Active                                       
WP Mail SMTP                       3.7.0                                                  Active                                       
WPvivid Backup MainWP              0.9.29                                                 Active                                       

I noticed the same thing on my reports today.

Thanks for the additional info, @renemorozowich @Alwin.

We’ve managed to reproduce the issue with the [wordfence.scan.count] token, and it will be resolved in the next release of the extension.

1 Like

We have addressed the issue, and the fix will be included in the next release of the MainWP Child plugin.

You can find the pre-release version at this link:

Hello Bojan,

Great, fast fix :slight_smile:

When is the next release of the MainWP Child be planned?

1 Like

We don’t have an exact ETA at this moment.

However, the plugin in my previous post has the same version number as the current official release, so when we release a new stable version of the plugin, it will get automatically updated as usual.

Hello Bojan,

I have installed the updated plugin and it’s working fine now!

Thank you :slight_smile:
Alwin

1 Like

Hello,

thank you for hotfix, but only wordfence.scan.count is ok. But scan.result and .details are No issues detected and “Congratulations…all ok” all time. But issues founds.

Can you help me with this? This new installation and I setting new report template.

Thank you Pavel

Hi @seonet

We can’t reproduce the issue with [wordfence.scan.result] and [wordfence.scan.details] tokens.

Please verify that you are using the latest versions of Wordfence extension 4.0.9, Pro Reports extension 4.0.13, MainWP Dashboard 4.4.0.1, and that you have the MainWP Child plugin that I’ve shared previously in this thread on all your child sites.

And make sure that you have the Report Date Range set correctly.

Hi,

I have this versions. All correct. See this:

So, WF say - some problem here, report say no problems :slight_smile:
Thank you

Pavel

We’ve just tested a scan that has abandoned plugins as one of the issues found, and it appears as expected in the report.

The difference between ours and yours Wordfence scan report is that your scan is reporting the abandoned plugin issue only as a Warning, instead of a Medium priority issue which it does for us.

If Wordfence scan founds an issue instead of a Warning and the extension doesn’t include it, please let us know by opening a new thread here on Managers site or by opening a private help desk ticket.

And if you would like clarification on why the Wordfence scan reported the abandoned plugin only as a Warning in your case, please reach out to Wordfence support.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.