We have an error breaking our MainWP overview page:
**Fatal error** : Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/apwm/public_html/wp-content/plugins/mainwp/widgets/widget-mainwp-updates-overview.php:182 Stack trace: #0 /home/apwm/public_html/wp-content/plugins/mainwp/widgets/widget-mainwp-updates-overview.php(182): count(NULL) #1 /home/apwm/public_html/wp-content/plugins/mainwp/widgets/widget-mainwp-updates-overview.php(94): MainWP\Dashboard\MainWP_Updates_Overview::render_sites() #2 [internal function]: MainWP\Dashboard\MainWP_Updates_Overview::render('toplevel_page_m...', Array) #3 /home/apwm/public_html/wp-content/plugins/mainwp/class/class-mainwp-ui.php(1653): call_user_func(Array, 'toplevel_page_m...', Array) #4 /home/apwm/public_html/wp-content/plugins/mainwp/pages/page-mainwp-overview.php(400): MainWP\Dashboard\MainWP_UI::do_widget_boxes('toplevel_page_m...') #5 /home/apwm/public_html/wp-content/plugins/mainwp/pages/page-mainwp-overview.php(340): MainWP\Dashboard\MainWP_Overview::render_dashboard_body() #6 /home/apwm/public_html/wp-includes/class-wp-hook.php(324): MainWP\Dashboard\MainWP_Overview->on_show_page('') #7 /home/apwm/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #8 /home/apwm/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /home/apwm/public_html/wp-admin/admin.php(259): do_action('toplevel_page_m...') #10 {main} thrown in**/home/apwm/public_html/wp-content/plugins/mainwp/widgets/widget-mainwp-updates-overview.php** on line**182**
Here’s our system report:
### WordPress Check Required Detected Status ###
FileSystem Method = direct direct Pass
MultiSite Disabled =true true Pass
WordPress Memory Limit >=64M 256M Pass
WordPress Version >=6.2 6.7.1 Pass
### PHP Required Detected Status ###
cURL Extension Enabled =true true Pass
cURL Timeout >=300 seconds 600 Pass
cURL Version >=7.29.0 8.11.1 Pass
Function `tmpfile` enabled N/A Enabled Pass
OpenSSL Version >=OpenSSL/1.1.0 OpenSSL/1.1.1w 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 No functions disabled.
PHP Exif Support N/A YES
PHP IPTC Support N/A YES
PHP Loaded Extensions N/A Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, calendar, cgi-fcgi, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, hash, iconv, imap, intl, json, libxml, mbstring, memcached, mysqli, mysqlnd, openssl, pcntl, pcre, pdo_mysql, pdo_sqlite, posix, readline, session, sockets, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, zlib
PHP Max Execution Time >=30 seconds 1200 Pass
PHP Max Input Time >=30 seconds 300 Pass
PHP Memory Limit >=256M 512M Pass
PHP Post Max Size >=2M 64M Pass
PHP Safe Mode Disabled =true true Pass
PHP Session enabled N/A Enabled Pass
PHP Upload Max Filesize >=2M 32M Pass
PHP Version >=7.4 8.1.31 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.3.39-MariaDB 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 12.63 MB
Operating System Linux
Request Time 1736872618
Server Protocol HTTP/2.0
Server self connect Response Test O.K.
Server Software Apache
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
### MainWP Dashboard Settings Detected Value ###
Abandoned plugins/themes tolerance 9999
Cache control enabled Yes
Enable Uptime Monitoring Yes
MainWP Dashboard Version Latest: 5.3.4 | Detected: 5.3.4 Pass
MainWP legacy backups enabled No
Maximum number of pages to return 50
Maximum number of posts to return 2
Maximum simultaneous install and update requests4
Maximum simultaneous requests 8
Maximum simultaneous requests per ip4
Maximum simultaneous sync requests 8
Maximum simultaneous uptime monitoring requests (Default: 10)10
Minimum delay between requests 500
Minimum delay between requests to the same ip1000
Number of connected sites 586
Optimize data loading Yes
Plugin advanced automatic updates enabledYes
Primary Backup System API Backups
REST API enabled No
Site health monitoring enabled No
Theme advanced automatic updates enabledYes
Use WP Cron Yes
WP Core advanced automatic updates enabledYes
### Extensions Version License Status ###
MainWP Bulk Settings Manager Extension5.0.1 Active Pass
MainWP Code Snippets Extension 5.0.4 Active Pass
MainWP Custom Dashboard Extension 5.0.1 Active Pass
MainWP Custom Post Type 5.0.2 Active Pass
MainWP Database Updater Extension 5.0.5 Active Pass
MainWP Favorites Extension 5.0.1 Active Pass
MainWP Maintenance Extension 5.0 Active Pass
MainWP Rocket Extension 5.0.1 Active Pass
MainWP Team Control 5.0.1 Active Pass
### Plugin Version Status ###
Advanced Editor Tools 5.9.2 Active
Classic Editor 1.6.7 Active
Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd6.18.14 Inactive
Custom Post Type UI 1.17.2 Active
Enable jQuery Migrate Helper 1.4.1 Inactive
Login Logo 0.10.3 Active
MainWP Dashboard 5.3.4 Active
Modern Image Formats 2.4.0 Inactive
Multicons 5.4 Active
My Custom Functions 4.51 Inactive
Performance Lab 3.7.0 Inactive
User Switching 1.9.1 Inactive
Wordfence Security 8.0.2 Inactive
WP Compress | MainWP 6.30.03 Inactive
WP Rollback 2.0.7 Inactive
WP-Optimize - Clean, Compress, Cache3.8.0 Inactive
WPS Hide Login 1.9.17.1 Active
Yoast SEO 24.2 Active