Simple Fields gives error "Indirect modification of overloaded property"
Currently, UkuuPeople is dependent on the free Simple Fields plugin. We've noticed in some installations the following warning is being thrown:
Notice: Indirect modification of overloaded property WP_Object_Cache::$cache has no effect in /home/nfntest/public_html/wp-content/plugins/simple-fields/simple_fields.php on line 4067
This is a known bug in how Simple Fields is calling for an array. Anyway, this is JUST A WARNING. We have no reason to believe anything bad will happen. However, it is scary (particularly to clients), so you can do one of two things depending on how lazy you're feeling:
- Disable PHP warnings and ignore the issue altogether by modifying WP_Debug in wp-config.php like so: define('WP_DEBUG', false); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false);
- Patch Simple Fields via https://github.com/bonny/WordPress-Simple-Fields
You can find a full thread discussing this issue here: https://wordpress.org/support/topic/notice-indirect-modification-of-overloaded-property-wp_object_cachecache