Title: PHP 8.0 Bug
Last modified: January 10, 2022

---

# PHP 8.0 Bug

 *  [mountbatt](https://wordpress.org/support/users/mountbatt/)
 * (@mountbatt)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/php-8-0-bug-2/)
 * Hi, i tried to switch to PHP 8.0 and this plugin broke my site.
 *     ```
       Fatal error: Uncaught Error: count(): Argument #1 ($value) must be of type Countable|array, string given
       in /mnt/web123/b0/27/123445/htdocs/html/my-site.de/wp/wp-content/plugins/advanced-custom-fields-table-field/acf-table-v5.php on line 569
       ```
   
 * It looks like there is a problem with an array
 * Maybe this helps?: [https://stackoverflow.com/questions/66671269/fatal-error-uncaught-typeerror-count-argument-1-var-must-be-of-type-cou](https://stackoverflow.com/questions/66671269/fatal-error-uncaught-typeerror-count-argument-1-var-must-be-of-type-cou)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Johann Heyne](https://wordpress.org/support/users/jonua/)
 * (@jonua)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/php-8-0-bug-2/#post-15239449)
 * Hi,
 * Sorry for the issue. I was unable to replicate the `count()` issue with PHP 8.
   
   Anyway, I have included `is_countable()` in a new plugin version 1.3.15 that 
   is not yet public. You can download and install manually this version under the
   following link… [https://downloads.wordpress.org/plugin/advanced-custom-fields-table-field.1.3.15.zip](https://downloads.wordpress.org/plugin/advanced-custom-fields-table-field.1.3.15.zip)
 * Does this version fix your issue?
 * Cheers,
    Johann
    -  This reply was modified 4 years, 4 months ago by [Johann Heyne](https://wordpress.org/support/users/jonua/).

Viewing 1 replies (of 1 total)

The topic ‘PHP 8.0 Bug’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields-table-field/assets/icon-256x256.png?
   rev=1962986)
 * [Table Field Add-on for ACF and SCF](https://wordpress.org/plugins/advanced-custom-fields-table-field/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields-table-field/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [Johann Heyne](https://wordpress.org/support/users/jonua/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/php-8-0-bug-2/#post-15239449)
 * Status: not resolved