Vulnerability Checker Extension: An error of type E_ERROR was caused

Hi there,

The dashboard shows me, that I have 2 vulnerabilities:
(as I can only post 1 image, here is the second)

When I click on the button, it only shows me one vulnerability:

Also the theme part is missing and the information in the one warning does not make much sense.

I also got this issue (via email from wordpress):

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.3.2
Current theme: Twenty Twenty Child (version 1.0.0)
Current plugin: MainWP Vulnerability Checker Extension (version 4.0.2)
PHP version 7.4.3

Error Details
=============
An error of type E_ERROR was caused in line 662 of the file /wp-content/plugins/mainwp-vulnerability-checker-extension/class/class-mainwp-vulnerability-checker.php. Error message: Uncaught Error: Call to undefined function ecs_html() in /wp-content/plugins/mainwp-vulnerability-checker-extension/class/class-mainwp-vulnerability-checker.php:662
Stack trace:
#0 /wp-content/plugins/mainwp-vulnerability-checker-extension/class/class-mainwp-vulnerability-checker.php(538): MainWP_Vulnerability_Checker::vulnche_list(Array)
#1 /wp-content/plugins/mainwp-vulnerability-checker-extension/class/class-mainwp-vulnerability-checker.php(391): MainWP_Vulnerability_Checker::render_detail_tabs()
#2 /wp-includes/class-wp-hook.php(288): MainWP_Vulnerability_Checker::render_detail('')
#3 /wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array)
#4 /var/www/vhost

If any information is missing, please let me know!

Thanks :slight_smile:

Hi @Zoker,

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:

image

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

Here is the report:


### Server Info                    Required                                               Detected                                     Status   ###

MainWP Dashboard                   
MainWP Dashboard Version           4.0.7.2                                                4.0.7.2                                      Pass        
MainWP Upload Directory            Writable                                               Writable                                     Pass        
MainWP Extensions                  
Advanced Uptime Monitor Extension  5.0.2                                                  Active                                       Pass        
MainWP BackWPup Extension          4.0.1                                                  Active                                       Pass        
MainWP Branding Extension          4.0                                                    Active                                       Pass        
MainWP Clean and Lock Extension    4.0.1                                                  Active                                       Pass        
MainWP Client Reports Extension    4.0.3                                                  Active                                       Pass        
MainWP Custom Dashboard Extension  4.0                                                    Active                                       Pass        
MainWP Favorites Extension         4.0.2                                                  Active                                       Pass        
MainWP iThemes Security Extension  4.0.1                                                  Active                                       Pass        
MainWP Maintenance Extension       4.0.1                                                  Active                                       Pass        
MainWP Pro Reports Extension       4.0                                                    Active                                       Pass        
MainWP Rocket Extension            4.0                                                    Active                                       Pass        
MainWP Team Control                4.0.1                                                  Active                                       Pass        
MainWP UpdraftPlus Extension       4.0.1                                                  Active                                       Pass        
MainWP Vulnerability Checker Extension4.0.2                                                  Active                                       Pass        
MainWP WooCommerce Status Extension4.0.1                                                  Active                                       Pass        
WordPress                          
WordPress Version                  >=3.6                                                  5.3.2                                        Pass        
WordPress Memory Limit             >=64M                                                  512M                                         Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
FileSystem Method                  = direct                                               direct                                       Pass        
PHP                                
PHP Version                        >=5.6                                                  7.4.3                                        Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Max Execution Time             >=30 seconds                                           180                                          Pass        
PHP Max Input Time                 >=30 seconds                                           60                                           Pass        
PHP Memory Limit                   >=128M                                                 512M                                         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.38.0                                       Pass        
cURL SSL Version                   >=OpenSSL/0.9.8l                                       GnuTLS/3.3.30                                Pass        
PHP Allow URL fopen                YES                                                    
PHP Exif Support                   YES ( V7.4.)                                           
PHP IPTC Support                   YES                                                    
PHP XML Support                    YES                                                    
PHP Disabled Functions             , pcntl_alarm, pcntl_exec, pcntl_fork, pcntl_get_last_error, pcntl_getpriority, pcntl_setpriority, pcntl_signal, pcntl_signal_dispatch, pcntl_sigprocmask, pcntl_sigtimedwait, pcntl_sigwaitinfo, pcntl_strerror, pcntl_wait, pcntl_waitpid, pcntl_wexitstatus, pcntl_wifexited, pcntl_wifsignaled, pcntl_wifstopped, pcntl_wstopsig, pcntl_wtermsig,
PHP Loaded Extensions              Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, pdo_mysql, pdo_sqlite, posix, session, shmop, soap, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
MySQL                              
MySQL Version                      >=5.0                                                  5.7.28                                       Pass        
MySQL Mode                         IGNORE_SPACE,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
MySQL Client Encoding              utf8mb4                                                
Server Info                        
Server Software                    Apache                                                 
Operating System                   Linux                                                  
Architecture                       64 bit                                                 
Server Protocol                    HTTP/1.0                                               
HTTPS                              ON - 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/81.0.4044.62 Safari/537.36 Edg/81.0.416.31
Gateway Interface                  CGI/1.1                                                
Memory Usage                       4.6 MB                                                 
Request Time                       1584367117                                             
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              30                                                     
Use WP-Cron                        Yes                                                    
Optimize for Shared Hosting or Big NetworksYes                                                    
Automatic Daily Update             Install trusted updates                                
Abandoned Plugins/Themes Tolerance 600                                                    
Maximum number of posts to return                                                         
Maximum number of pages to return  50                                                     
Primary Backup System              MainWP BackWPup Extension                              
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                     
Disable Emails                     1.6.2                                                  Inactive                                     
iThemes Security Pro               6.5.1                                                  Inactive                                     
MainWP Dashboard                   4.0.7.2                                                Active                                       
MainWP Time Capsule Extension      4.0                                                    Inactive                                     
Sucuri Security - Auditing, Malware Scanner and Hardening1.8.24                                                 Active                                       

Hi @Zoker, thanks for the update. I checked the report and it looks fine. Nothing unusual in there. However, I did notice that you use a couple of 3rd party plugins on the Dashboard site. Can you try to quickly disable these so we can eliminate potential plugin conflicts?

Hi Bogdan,

Currently there is no vulnerability issue, so I can’t test it. But when there is an issue again, I will disable them and check it.

Thanks!

Hi @Zoker, thanks, please let me know how it goes.

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