2.2.1 PHP Fatal error: Uncaught TypeError: Cannot access offset of type string
-
Hi! It looks like this plugin updated on one of my sites, and version 2.2.1 is now throwing PHP Fatal errors as follows.
[Thu Sep 04 08:51:47.139763 2025] [proxy_fcgi:error] [pid 2880713:tid 140176047203904] [client 10.150.17.9:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/vhosts/example.com/httpdocs/wp-content/plugins/wp-accessibility/wp-accessibility-stats.php:229\nStack trace:\n#0 /var/www/vhosts/example.com/httpdocs/wp-includes/class-wp-hook.php(324): wpa_stats_action()\n#1 /var/www/vhosts/example.com/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#2 /var/www/vhosts/example.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()\n#3 /var/www/vhosts/example.com/httpdocs/wp-admin/admin-ajax.php(207): do_action()\n#4 {main}\n thrown in /var/www/vhosts/example.com/httpdocs/wp-content/plugins/wp-accessibility/wp-accessibility-stats.php on line 229', referer: https://example.com/Hope this helps!
The topic ‘2.2.1 PHP Fatal error: Uncaught TypeError: Cannot access offset of type string’ is closed to new replies.