Support #23785
closed
experimenting with plug-ins
Added by Marilyn Weber about 2 months ago.
Updated about 1 month ago.
Category name:
WordPress Plugins
Description
Via Keeping
I was experimenting with plug-ins on my course site (https://undersideofschooling.commons.gc.cuny.edu/wp-admin/,the site I am using for my course this Fall 2025 semester) and I got a critical error message and cannot even visit my site anymore.
Angela Dunne
Doctoral Candidate, Urban Education
The Graduate Center, City University of New York
365 Fifth Avenue, Room 4202
I've replied "Please tell me more about what plugins you activated."
- Assignee set to Raymond Hoh
The problem is with the cac-creative-commons plugin, and some weirdness with the way the 'sidebars_widgets' option is populated on this site.
Ray, I've put a temporary fix in place on the site (wp-content/plugins/cac-creative-commons/includes/widget-inject.php) where I ensure that the $sidebar_widgets will be an array. For some reason it's a string. I'm not sure how you want to handle this longterm, so for now I've just left the dirty index in place.
- Category name set to WordPress Plugins
- Status changed from New to Staged for Production Release
- Target version set to 2.5.17
Yeah, I wondered about that myself. It doesn't look like wp_get_sidebars_widgets() protects against a string value being stored in 'sidebars_widgets' either. But it does access the global-state cached value, and it uses the filters. I don't see a reason why it shouldn't be used in cac-creative-commons.
- Status changed from Staged for Production Release to Resolved
Also available in: Atom
PDF