FluentToolkit 2.0 breaks compatibility with EUM
-
Hi there,
Fluentkit (2.x) breaks the Easy Updates Manager plugin. This wasn’t an issue with the older FluentToolkit (1.x)
How to reproduce:
- Install FluentoolKit (2.x)
- Display the plugins in EUM
Result: The plugin list crashes when it reaches FluentKit with this error:
Code
Error: Cannot use object of type stdClass as arrayIn: /home/[domain]/public_html/wp-content/plugins/stops-core-theme-and-plugin-updates/includes/MPSUM_Plugins_List_Table.php on line 528This happens because FluentKit’s update metadata is returned as a
stdClassinstead of an associative array, and EUM expects an array when rendering plugin update information.Removing FluentKit (or reverting to FluentToolkit 1.0.2) immediately resolves the issue.
No other plugin causes this.
I’ve reported this to the FluentManageNijas team and asked them to update FluentKit’s update API response so it returns a proper array structure, but in the meantime please could you handle this more gracefully, so that the plugins list rendering isn’t broken by a plugin that doesn’t provide data in the expected way, which makes EUM unusable when such a plugin is active?
I noticed this error because after installing FluentKit, I wasn’t able to re-enable some plugins I had blocked with EUM. It took a while to find the cause and deactivate FluentKit so that I could access EUM functionality again.
Thanks!
You must be logged in to reply to this topic.