Undefined array key "id" warnings caused by two extensions

This has been an issue for several months, but I am just now getting around to reporting it. I searched the forums and do not see any other reports, so this may be a unique situation.

I see the following warning message at the top of the MainWP Dashboard Overview page (and on that page only):

Warning: Undefined array key “id” in …/public_html/wp-content/plugins/mainwp/pages/page-mainwp-overview.php on line 256

When I have all of my extensions activated, there are four of these warnings. I have traced them (two warnings each) to the MainWP Buddy Extension and MainWP Page Speed Extension – when deactivated, there are no warnings; when one is active, there are two warnings.

These do not necessarily affect any functionality (at least that I have noticed), but they are annoying and I can’t figure out why they appear and what can be done to fix them.

Any suggestions?

Hey @wtftechsolutions

Welcome to the MainWP community!

I couldn’t reproduce this issue with Buddy and Page Speed extensions.

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:


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

Thanks for the reply @bojan. System info is below:

### WordPress Check                Required                                               Detected                                     Status   ###

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

### PHP                            Required                                               Detected                                     Status   ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          300                                          Pass        
cURL Version                       >=7.29.0                                               7.64.0                                       Pass        
OpenSSL Version                    >=OpenSSL/1.1.0                                        OpenSSL/1.1.1n                               Pass        
OpenSSL Working Status             Yes                                                    Yes                                          Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Allow URL fopen                N/A                                                    YES                                                      
PHP Disabled Functions             N/A                                                    , , _getppid, diskfreespace, dl, escapeshellcmd, exec, fpassthru, getmyuid, highlight_file, ini_alter, ini_alter, leak, link, passthru, pcntl_exec, popen, posix, posix_ctermid, posix_getcwd, posix_getegid, posix_geteuid, posix_geteuid, posix_getgid, posix_getgrgid, posix_getgrnam, posix_getlogin, posix_getpgid, posix_getpgrp, posix_getpid, posix_getpwuid, posix_getrlimit, posix_gets, posix_getsid, posix_getuid, posix_isatty, posix_kill, posix_mkfifo, posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setsid, posix_setuid, posix_times, posix_ttyname, posix_uname, proc_close, proc_nice, proc_open, proc_terminate, shell_exec, show_source, socket_, socket_accept, socket_bind, socket_clear_error, socket_close, socket_connect, socket_create_, socket_create_pair, socket_read, source, stream_socket_server, symlink, virtual,            
PHP Exif Support                   N/A                                                    YES                                                      
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, newrelic, 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                                           300                                          Pass        
PHP Max Input Time                 >=30 seconds                                           250                                          Pass        
PHP Memory Limit                   >=256M                                                 512M                                         Pass        
PHP Post Max Size                  >=2M                                                   128M                                         Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Upload Max Filesize            >=2M                                                   20M                                          Pass        
PHP Version                        >=7.4                                                  8.0.30                                       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                                                    NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION               
MySQL Version                      >=5.0                                                  10.6.17-MariaDB-1:10.6.17+maria~deb10-log    Pass        

### Server Configuration           Detected Value                                      ###

Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,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                       76.16 MB                                               
Operating System                   Linux                                                  
Request Time                       1710268028                                             
Server Protocol                    HTTP/1.0                                               
Server self connect                Not expected HTTP response body:                       
Server Software                    Apache/2.4.58 (Debian)                                 
User Agent                         Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

### MainWP Dashboard Settings      Detected Value                                      ###

Abandoned plugins/themes tolerance 365                                                    
Basic uptime monitoring enabled    No                                                     
MainWP Dashboard Version           Latest: 5.0.1 | Detected: 5.0.1 Pass                   
MainWP legacy backups enabled      No                                                     
Maximum number of pages to return  50                                                     
Maximum number of posts to return                                                         
Maximum simultaneous install and update requests2                                                      
Maximum simultaneous requests      3                                                      
Maximum simultaneous requests per ip1                                                      
Maximum simultaneous sync requests 6                                                      
Minimum delay between requests     300                                                    
Minimum delay between requests to the same ip1500                                                   
Number of connected sites          75                                                     
Optimize data loading              No                                                     
Plugin advanced automatic updates enabledYes                                                    
Primary Backup System              MainWP Buddy 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   ###

Activity Log for MainWP            2.1.1                                                                                                           
Advanced Uptime Monitor Extension  5.3                                                    Active                                       Pass        
Dashboard Lock                     5.0.1                                                  Active                                       Pass        
MainWP Buddy Extension             5.0                                                    Active                                       Pass        
MainWP Bulk Settings Manager Extension5.0                                                    Active                                       Pass        
MainWP Cache Control Extension     5.0                                                    Active                                       Pass        
MainWP Custom Dashboard Extension  5.0                                                    Active                                       Pass        
MainWP Custom Post Type            5.0                                                    Active                                       Pass        
MainWP Database Updater Extension  5.0                                                    Active                                       Pass        
MainWP Domain Monitor Extension    5.0.1                                                  Active                                       Pass        
MainWP Google Analytics Extension  5.0                                                    Active                                       Pass        
MainWP Lighthouse Extension        5.0                                                    Active                                       Pass        
MainWP Maintenance Extension       5.0                                                    Active                                       Pass        
MainWP Pro Reports Extension       5.0                                                    Active                                       Pass        
MainWP SSL Monitor Extension       5.0                                                    Active                                       Pass        
MainWP White Label Extension       5.0                                                    Active                                       Pass        
MainWP WooCommerce Shortcuts Extension5.0                                                    Active                                       Pass        
MainWP Wordfence Extension         5.0                                                    Active                                       Pass        
MainWP WordPress SEO Extension     5.0                                                    Active                                       Pass        
Termageddon for MainWP             2.3                                                    Active                                       Pass        

### Plugin                         Version                                                Status                                    ###

Activity Log for MainWP            2.1.1                                                  Active                                       
MainWP API Backups Extension - BETA4.0.06                                                 Inactive                                     
MainWP Child                       5.0                                                    Active                                       
MainWP Dashboard                   5.0.1                                                  Active                                       
MainWP Key Maker                   1.2                                                    Active                                       
MainWP Page Speed Extension        4.0.3                                                  Inactive                                     
MalCare WordPress Security Plugin - Malware Scanner, Cleaner, Security Firewall5.47                                                   Active                                       
Yoast SEO                          22.2                                                   Active                                       

1 Like

Please update both the API Backups extension and Page Speed Extension, because you are still using the 4.x versions instead of 5.0.


@josklever Thanks for the reply.

The MainWP API Backups Extension is inactive, and will not activate (I believe this is because the Buddy extension is active?).

UPDATE: The API beta extension will not activate even if the Buddy extension is inactive.

My dashboard is running v5.0 of the MainWP Buddy Extension. No updates are available either via the regular WP “Check updates” feature nor the extension’s “Check for updates now”: link on the plugins page.

While I am running v4.0.3 of the MainWP Page Speed Extension, the same lack of updates applies to this extension, as well.

Both plugins show that the license key is active.

1 Like

Hey @wtftechsolutions and @josklever

Thanks for the update.

API Backups extension can be deleted because it has become a core feature of MainWP Dashboard since version 5.

It is designed to automatically deactivate should you try to activate it while running MainWP Dashboard v5 or above.

And Page Speed has been retired some time ago so we also recommend to delete it and migrate to Lighthouse extension.
Page Speed will not be receiving any more updates.

Your Buddy extension is up to date, but I wasn’t able to reproduce this Warning message on our test Dashboards.

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

And please refer to this Managers thread by its URL in the ticket.

I see my reaction wasn’t very helpful, though posted with the best intentions.

@bojan Both extensions I mentioned have a 5.0 version according to their changelogs. If that’s not correct, please edit the changelogs and mention the conditions of the deprecation.


Not at all, Jos; thank you for your comment, and thank you for pointing out those changelogs.

We will get them updated.


Just to provide an update on this -

We have fixed the PHP Warning issue produced by the Buddy extension.

It will be included in the next release of the extension.

1 Like

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