WPIntell

Source evidence

Update breaks site

Categories Images · support · 2025-12-20T01:36:00+00:00

mixedsentiment
highseverity
0.95relevance
7replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

8 / 21 rows with source links

38.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

13 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
mattwmc2001 resolved
New update breaks my WP site, when I disable the updated plugin, site works fine. Says: There has been a critical error on this website. Hi, can you enable debug mode and share the error you are getting, this will help identify the problem so I can fix it I had the same experience this morning. The plugin caused a fatal flaw in the REST API. When I disabled the categories images plugin, it was fixed. I just updated to WordPress 6.9 (on PHP 8.2) Categories Images causes a fatal error during rest_api_init , breaking /wp-json/ and any plugin that relies on REST. Uncaught TypeError: Cannot access offset of type string on string in categories-images.php:460 . Disabling the plugin immediately restores REST functionality, except that my categories don’t have featured images right now. it’s not a huge deal, but I’d love to get this plugin back in action. Thanks! I uploaded the previous version and it works. debug log shows: PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/mattwmc/public_html/wp-content/plugins/categories-images/categories-images.php:460 Stack trace: 0 …/wp-includes/class-wp-hook.php(341): ZCategoriesImages->zInitRestApi(Object(WP_REST_Server)) 1 …/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array) 2 …/wp-includes/plugin.php(522): WP_Hook->do_action(Array) 3 …/wp-includes/rest-api.php(636): do_action(‘rest_api_init’, Object(WP_REST_Server)) 4 …/wp-includes/rest-api.php(460): rest_get_server() 5 …/wp-includes/class-wp-hook.php(341): rest_api_loaded(Object(WP)) 6 …/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(”, Array) 7 …/wp-includes/plugin.php(570): WP_Hook->do_action(Array) 8 …/wp-includes/class-wp.php(418): do_action_ref_array(‘parse_request’, Array) 9 …/wp-includes/class-wp.php(821): WP->parse_request(”) 10 …/wp-includes/functions.php(1343): WP->main(”) 11 …/wp-blog-header.php(16): wp() 12 …/index.php(17): require(‘/home/mattwmc/p…’) 13 {main} thrown in …/wp-content/plugins/categories-images/categories-images.php on line 460 This reply was modified 5 months, 1 week ago by mattwmc2001 . Thanks guys for sharing the error logs. I found the potential bug, fixed it, and release a patch, it should work fine now after updating the plugin to the latest version 3.3.1, please let me know if you still facing any issues. Regards, Zahlan Thank you for the quick turn around. I was able to update and re-activate the plugin and everything is fine! You’re very welcome! I’m glad to hear everything is back to normal. If you encounter any other issues, feel free to reach out.

Comments

7 shown
Zahlan 2025-12-20T14:39:00+00:00

Hi, can you enable debug mode and share the error you are getting, this will help identify the problem so I can fix it

Bonnie Walker 2025-12-20T18:41:00+00:00

I had the same experience this morning. The plugin caused a fatal flaw in the REST API. When I disabled the categories images plugin, it was fixed. I just updated to WordPress 6.9 (on PHP 8.2) Categories Images causes a fatal error during rest_api_init , breaking /wp-json/ and any plugin that relies on REST. Uncaught TypeError: Cannot access offset of type string on string in categories-images.php:460 . Disabling the plugin immediately restores REST functionality, except that my categories don’t have featured images right now. it’s not a huge deal, but I’d love to get this plugin back in action. Thanks!

mattwmc2001 2025-12-20T23:59:00+00:00

I uploaded the previous version and it works.

mattwmc2001 2025-12-21T00:06:00+00:00

debug log shows: PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/mattwmc/public_html/wp-content/plugins/categories-images/categories-images.php:460 Stack trace: 0 …/wp-includes/class-wp-hook.php(341): ZCategoriesImages->zInitRestApi(Object(WP_REST_Server)) 1 …/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array) 2 …/wp-includes/plugin.php(522): WP_Hook->do_action(Array) 3 …/wp-includes/rest-api.php(636): do_action(‘rest_api_init’, Object(WP_REST_Server)) 4 …/wp-includes/rest-api.php(460): rest_get_server() 5 …/wp-includes/class-wp-hook.php(341): rest_api_loaded(Object(WP)) 6 …/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(”, Array) 7 …/wp-includes/plugin.php(570): WP_Hook->do_action(Array) 8 …/wp-includes/class-wp.php(418): do_action_ref_array(‘parse_request’, Array) 9 …/wp-includes/class-wp.php(821): WP->parse_request(”) 10 …/wp-includes/functions.php(1343): WP->main(”) 11 …/wp-blog-header.php(16): wp() 12 …/index.php(17): require(‘/home/mattwmc/p…’) 13 {main} thrown in …/wp-content/plugins/categories-images/categories-images.php on line 460 This reply was modified 5 months, 1 week ago by mattwmc2001 .

Zahlan 2025-12-21T00:41:00+00:00

Thanks guys for sharing the error logs. I found the potential bug, fixed it, and release a patch, it should work fine now after updating the plugin to the latest version 3.3.1, please let me know if you still facing any issues. Regards, Zahlan

Bonnie Walker 2025-12-21T16:49:00+00:00

Thank you for the quick turn around. I was able to update and re-activate the plugin and everything is fine!

Zahlan 2025-12-21T22:59:00+00:00

You’re very welcome! I’m glad to hear everything is back to normal. If you encounter any other issues, feel free to reach out.