MainWP Dashboard warnings: Undefined array key

I’ve created a fresh WordPress installation for testing (translation project) and installed MainWP Dashboard 5.4.0.20. The site is running on PHP 8.4

In the error log there is a constant stream of the following warnings:

PHP Warning:  Undefined array key "title" in /.../wp-content/plugins/mainwp/class/class-mainwp-menu.php on line 498
PHP Warning:  Undefined array key "slug" in /.../wp-content/plugins/mainwp/class/class-mainwp-menu.php on line 500
PHP Warning:  Undefined array key "slug" in /.../wp-content/plugins/mainwp/class/class-mainwp-menu.php on line 501

And sometimes from a different page:

PHP Warning:  Undefined array key "slug" in /.../wp-content/plugins/mainwp/class/class-mainwp-manage-sites-view.php on line 67
PHP Warning:  Undefined array key "slug" in /.../wp-content/plugins/mainwp/class/class-mainwp-manage-sites-view.php on line 71
PHP Warning:  Undefined array key "title" in /.../wp-content/plugins/mainwp/class/class-mainwp-manage-sites-view.php on line 71

Hey @josklever

I couldn’t reproduce these Warning messages.

However, I’ve passed it along to our dev team, and we will have it fixed.

Hey @josklever

The fix for this was included in version 5.4.0.21 of the MainWP Dashboard plugin, released on Aug 26, 2025.

Thanks again for reporting this to us.