404 on Manage Sites

Hello!
I got a strange bug (i guess). I have recently installed and started to use MainWP. I have only a few sites connected and haven’t had the time to get in full gear. The other day i had a strange problem i still haven’t found a solution for.

One page “Manage Sites” (?page=managesites) sends me to a 404-page and i got this error message in the mail:

An error of type E_ERROR was caused in line 1459 of the file /wp-content/plugins/mainwp/pages/page-mainwp-manage-sites.php. Error message: Uncaught Error: Call to a member function prepare_items() on null in /wp-content/plugins/mainwp/pages/page-mainwp-manage-sites.php:1459
Stack trace:
#0 /wp-content/plugins/mainwp/pages/page-mainwp-manage-sites.php(1667): MainWP_Manage_Sites::renderAllSites()
#1 /wp-includes/class-wp-hook.php(288): MainWP_Manage_Sites::renderManageSites(’’)
#2 /wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(’’, Array)
#3 /wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#4 /wp-admin/admin.php(254): do_action(‘mainwp_page_man…’)

And it’s the only page, everything else works, and the “Manage Sites” have worked before. Suggestions?

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.

Of course! Here it is.


### 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                  
No installed extensions            
WordPress                          
WordPress Version                  >=3.6                                                  5.3.2                                        Pass        
WordPress Memory Limit             >=64M                                                  40M                                          Warning     
MultiSite Disabled                 =true                                                  true                                         Pass        
FileSystem Method                  = direct                                               direct                                       Pass        
PHP                                
PHP Version                        >=5.6                                                  7.3.15                                       Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Max Execution Time             >=30 seconds                                           120                                          Pass        
PHP Max Input Time                 >=30 seconds                                           120                                          Pass        
PHP Memory Limit                   >=128M                                                 768M                                         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                                          20                                           Warning     
cURL Version                       >=7.18.1                                               7.59.0                                       Pass        
cURL SSL Version                   >=OpenSSL/0.9.8l                                       OpenSSL/1.0.2r                               Pass        
PHP Allow URL fopen                YES                                                    
PHP Exif Support                   YES ( V7.3.)                                           
PHP IPTC Support                   YES                                                    
PHP XML Support                    YES                                                    
PHP Disabled Functions             No functions disabled.                                 
PHP Loaded Extensions              Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, ionCube Loader, json, libxml, mbstring, memcached, mysqli, mysqlnd, openssl, pcntl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, readline, session, shmop, soap, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
MySQL                              
MySQL Version                      >=5.0                                                  5.6.40-84.0-log                              Pass        
MySQL Mode                         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/80.0.3987.132 Safari/537.36
Gateway Interface                  CGI/1.1                                                
Memory Usage                       6.35 MB                                                
Request Time                       1584372937                                             
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              4                                                      
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                                                         
Maximum number of pages to return  50                                                     
Primary Backup System              Default MainWP Backups                                 
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                     
LoginPress - Customizing the WordPress Login1.4.3                                                  Active                                       
LoginPress - Hide Login            1.2.1                                                  Active                                       
LoginPress - Redirect Login        1.1.4                                                  Active                                       
LoginPress Pro                     2.3.2                                                  Active                                       
MainWP Dashboard                   4.0.7.2                                                Active                                       
Security Ninja (Premium)           5.97                                                   Active                                       
SG Optimizer                       5.4.4                                                  Inactive                                     

Thanks @chris, nothing unusual in there.

Would it be possible to send me a temporary access to your dashboard via private message so I can check this further? I have never seen this issue before.

Sure thing, I just sent you a message!

The only thing i have in mind is an update that isn’t complete. But it’s far fetched since it’s so specific to one page.

The problem appears to be just a temporary glitch.

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