PHP notices
-
Hi, I’ve got a lot of PHP notices from /mu-plugins/PluginOrganizerMU.class.php in my debug files. I wonder if you can for the next update consider this fix ??null
Example line 102
from
unserialize($storedPluginLists[‘enabled_groups’])to
unserialize($storedPluginLists[‘enabled_groups’]??null)whole line
$enabledGroups = (is_array(@unserialize($storedPluginLists[‘enabled_groups’]??null)))? @unserialize($storedPluginLists[‘enabled_groups’]):array();alternatively this, although it’s not exactly the same
$enabledGroups = unserialize($storedPluginLists[‘enabled_groups’]??’a:0:{}’);Thanks for a great plugin!
Regards,
Jaro
- The topic ‘PHP notices’ is closed to new replies.