Problem with updating certain sites, Fatal Error

I tried Main WP today with around 20 different sites on different servers.
I have now noticed that some updates go through very quickly on different sites, others very slowly or not at all.
In one case I tried wp-cli and got a fatal error back:
This site is still online and nothing happens there.

Fatal error: Uncaught MainWP\Dashboard\MainWP_Exception: NOMAINWP in /var/www/vhosts/
Stack trace:
#0 /var/[*]/wp-content/plugins/mainwp/class/class-mainwp-connect.php(1106): MainWP\Dashboard\MainWP_Connect::fetch_url_site(Object(stdClass), 'https://cleandi...', 'user=tobias.lor...', false, '0', '', '', '0', Array, Array)
#1 /var/[*]/wp-content/plugins/mainwp/class/class-mainwp-connect.php(980): MainWP\Dashboard\MainWP_Connect::fetch_url(Object(stdClass), 'https://cleandi...', 'user=tobias.lor...', false, '0', true, '', '', '0', Array)
#2 /var/[*]/wp-content/plugins/mainwp/pages/page-mainwp-updates-handler.php(95): MainWP\Dashboard\MainWP_Connect::fetch_url_authed(Object(stdClass), 'upgrade')
#3 /var/[*]/wp-content/plugins/mainwp/class/class-mainwp-wp-cli-handle. in /var/[*]/wp-content/plugins/mainwp/class/class-mainwp-connect.php on line 1371

Hi Tobias,

thanks for reporting this problem. Since I can’t duplicate it on our test setups, 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.

Hello Bogdan,
thanks for your reply, so here it is:

### Server-Info                    Erforderlich                                           Erkannt                                      Status   ###

MainWP Dashboard                   
MainWP Dashboard Version           4.1.12                                                 4.1.12                                       Bestanden   
MainWP Upload Directory            Writable                                               Writable                                     Bestanden   
MainWP UpdraftPlus Extension       4.0.5                                                  API-Lizenz aktiv                             Bestanden   
WordPress Version                  >=3.6                                                  5.9.1                                        Bestanden   
WordPress Memory Limit             >=64M                                                  256M                                         Bestanden   
MultiSite Disabled                 =true                                                  true                                         Bestanden   
Dateisystem-Methode                = direct                                               direct                                       Bestanden   
PHP Version                        >=7.0                                                  8.0.16                                       Bestanden   
PHP Safe Mode Disabled             =true                                                  true                                         Bestanden   
PHP Max Execution Time             >=30 seconds                                           30                                           Bestanden   
PHP Max Input Time                 >=30 seconds                                           60                                           Bestanden   
PHP Memory Limit                   >=128M                                                 256M                                         Bestanden   
PCRE Backtracking Limit            >=10000                                                1000000                                      Bestanden   
PHP Upload Max Filesize            >=2M                                                   2M                                           Bestanden   
PHP Post Max Size                  >=2M                                                   8M                                           Bestanden   
SSL Extension Enabled              =true                                                  true                                         Bestanden   
SSL Warnings                       = empty                                                                                             Bestanden   
cURL Extension Enabled             =true                                                  true                                         Bestanden   
cURL Timeout                       >=300 seconds                                          360                                          Bestanden   
cURL Version                       >=7.29.0                                               7.29.0                                       Bestanden   
cURL SSL Version                   >=OpenSSL/1.1.0                                        NSS/3.53.1                                   Bestanden   
PHP Allow URL fopen                JA                                                     
PHP unterstĂĽtzt Exif               JA ( V8.0.)                                            
PHP unterstĂĽtzt IPTC               JA                                                     
PHP unterstĂĽtzt XML                JA                                                     
PHP Deaktivierte Funktionen        opcache_get_status,                                    
PHP Geladene Erweiterungen         Core, PDO, PDO_ODBC, 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, imagick, imap, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, odbc, openssl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, redis, session, soap, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, zlib
MySQL Version                      >=5.0                                                  5.5.68-MariaDB                               Bestanden   
MySQL-Modus                        NICHT GESETZT                                          
MySQL Client VerschlĂĽsselung       utf8                                                   
Server-Software                    Apache                                                 
Betriebssystem                     Linux                                                  
Architektur                        64		 bit                                               
Server-Protokoll                   HTTP/1.1                                               
HTTPS                              AN                                                     
Verbindung zum Server selbst       Unerwarteter HTTP response body:                       
User Agent                         Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:98.0) Gecko/20100101 Firefox/98.0
Geteway-Schnittstelle              CGI/1.1                                                
Arbeitsspeicherauslastung          20.14 MB                                               
Antwortzeit                        1645702349                                             
Inhalt akzeptieren                 text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Zeichensatz des Inhalts            n. a.                                                  
Anzahl Child-Websites              19                                                     
WP-Cron benutzen                   Ja                                                     
FĂĽr Shared Hosting oder groĂźe Netzwerke optimierenJa                                                     
Automatische tägliche AktualisierungInstall trusted updates                                
Verwaiste Plugins/Themes-Toleranz  365                                                    
Maximale Anzahl der Beiträge, die zurückgegeben werden sollen                                                       
Maximale Anzahl der Seiten, die zurĂĽckgegeben werden sollen                                                       
Vorrangiges Backup-System          MainWP UpdraftPlus Extension                           
Maximale gleichzeitige Anfragen    2                                                      
Minimale Verzögerung zwischen Anfragen200                                                    
Maximale gleichzeitige Anfragen pro IP1                                                      
Minimale Verzögerung zwischen Anfragen zu derselben IP1000                                                   
Maximale gleichzeitige Synchronisierungs-Anfragen6                                                      
Maximale Anzahl gleichzeitiger Installations- und Aktualisierungs-Anfragen3                                                      
Aktive Plugins                     
Activity Log                       2.8.2                                                  Aktiviert                                    
Asset CleanUp: Page Speed Booster                                                Inaktiv                                      
MainWP Dashboard                   4.1.12                                                 Aktiviert                                    
Query Monitor                      3.8.2                                                  Aktiviert                                    
UpdraftPlus - Backup/Restore       1.22.4                                                 Aktiviert                                    
Wordfence Security                 7.5.8                                                  Inaktiv                                      
Yoast Duplicate Post               4.4                                                    Inaktiv                                      

CLI PHP Version is
PHP 7.4.28 (cli)

Maybe I found the root of the problem:
In that case the Core update of this page didn`t went though, because of “core_updater.loc” was set in the wp_options table of the remote page. After the deletion of the value in the database (of the remote page), the update via Main WP worked.

But I tried this maybe 20 times on differend days, so the normal 15min lock of core_updater.loc should be checked by main wp.
Maybe it was just a local problem, but I should be known by mainap, I think. If the page is locked by core_updater.loc, main wp should tell the user (like: hey this page is locked, try again later).


Hi Tobias,

I got an update from our dev team. They were able to make some tweaks and they sent me new versions for you if you would be able to check out if these will solve the problem:

1 Like

Thank you Bogdan and MainWP for this absolutely great support!
Will install asap.

you are very welcome.
Let us know how it goes when you get a chance to test it out.

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