Fatal Error
- This topic has 2 replies, 2 voices, and was last updated 25 minutes ago by
Leo Hermanto.
-
AuthorPosts
-
December 23, 2025 at 4:34 PM #49550
Leo Hermanto
ParticipantI am getting error with this new site installed with Metabox AIO, its a fresh install, The error happen when Metabox is activated and when I wanted to add other plugin, the fatal error happened, when I deactivated Metabox, I can do add plugin as normal.
Here is the error message:
[23-Dec-2025 09:24:02 UTC] PHP Warning: Trying to access array offset on null in /var/www/testuser1-1pcs.1wp.site/wp-content/plugins/share-logins/vendor/pluggable/plugin/src/License.php on line 125
[23-Dec-2025 09:22:48 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /var/www/testuser1-1pcs.1wp.site/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box/src/FeaturedPlugins.php:20
Stack trace:
#0 /var/www/testuser1-1pcs.1wp.site/wp-includes/class-wp-hook.php(343): MetaBox\FeaturedPlugins->process()
#1 /var/www/testuser1-1pcs.1wp.site/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /var/www/testuser1-1pcs.1wp.site/wp-admin/includes/plugin-install.php(230): apply_filters()
#3 /var/www/testuser1-1pcs.1wp.site/wp-admin/includes/class-wp-plugin-install-list-table.php(241): plugins_api()
#4 /var/www/testuser1-1pcs.1wp.site/wp-admin/plugin-install.php(41): WP_Plugin_Install_List_Table->prepare_items()
#5 {main}
thrown in /var/www/testuser1-1pcs.1wp.site/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box/src/FeaturedPlugins.php on line 20December 23, 2025 at 8:35 PM #49551Peter
ModeratorHello Leo,
Thanks for reaching out.
I'm not able to reproduce the issue on my local site when installing a new plugin. Please ensure that the code in the file FeaturedPlugins.php is the same as this one https://github.com/wpmetabox/meta-box/blob/master/src/FeaturedPlugins.php
If not, I suggest you delete the current plugin Meta Box AIO and reinstall it on your site to see if it helps.
December 23, 2025 at 10:17 PM #49552Leo Hermanto
ParticipantHi Peter,
I have deleted the current plugin Meta Box AIO and re-install it and I am still getting the same error.
But seems to me like there is a incompatibility with Sharelogin plugin, because when I deactivate Share login, apparently it returns to normal.If I activate Sharelogin and Metabox together the error occured, if one is deactivated either sharelogin or metabox seems its resolve the problem
-
AuthorPosts
- You must be logged in to reply to this topic.