Title: PHP v8.x+
Last modified: September 24, 2026

---

# PHP v8.x+

 *  [VERYA Inc.](https://wordpress.org/support/users/veryaca/)
 * (@veryaca)
 * [6 days, 4 hours ago](https://wordpress.org/support/topic/php-v8-x/)
 * My client is using this plugin, and I get errors when trying to access it.
   Looking
   at the log, it seems like it has to do with variables type.
 * `An error of type E_ERROR was caused in line 449 of the file /home/XXXXXX/public_html/
   wp-content/plugins/googleanalytics/class/class-ga-helper.php. Error message: 
   Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array,
   string given in /home/XXXXXX/public_html/wp-content/plugins/googleanalytics/class/
   class-ga-helper.php:449`
 * Can you make sure your code is up to date for PHP v8.x+?

Viewing 1 replies (of 1 total)

 *  [Hector](https://wordpress.org/support/users/hectorsharethis/)
 * (@hectorsharethis)
 * [6 days, 4 hours ago](https://wordpress.org/support/topic/php-v8-x/#post-19028433)
 * Hi [@veryaca](https://wordpress.org/support/users/veryaca/), thanks for bringing
   this to our attention and for sharing the error details.
 * We’ve surfaced this to our development team, and they’re currently reviewing 
   the issue and will work on an update for PHP 8.x+ compatibility. We’ll follow
   up here once we have an update to share.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-v8-x%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/googleanalytics/assets/icon-256x256.jpg?rev=2624799)
 * [ShareThis Dashboard for Google Analytics](https://wordpress.org/plugins/googleanalytics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/googleanalytics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/googleanalytics/)
 * [Active Topics](https://wordpress.org/support/plugin/googleanalytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/googleanalytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/googleanalytics/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Hector](https://wordpress.org/support/users/hectorsharethis/)
 * Last activity: [6 days, 4 hours ago](https://wordpress.org/support/topic/php-v8-x/#post-19028433)
 * Status: not resolved