Title: Error when using PHP 7.4
Last modified: April 8, 2020

---

# Error when using PHP 7.4

 *  [knoxi](https://wordpress.org/support/users/knoxi/)
 * (@knoxi)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-when-using-php-7-4-2/)
 * After updating to PHP 7.4, an error is shown on the product pages.
 *     ```
       Warning: count(): Parameter must be an array or an object that implements Countable in /home/httpd/vhosts/fil-magic.ch/httpdocs/fil-magic/wp-content/plugins/spider-facebook/spider-facebook.php on line 466 Warning: count(): Parameter must be an array or an object that implements Countable in /home/httpd/vhosts/fil-magic.ch/httpdocs/fil-magic/wp-content/plugins/spider-facebook/spider-facebook.php on line 466 Warning: count(): Parameter must be an array or an object that implements Countable in /home/httpd/vhosts/fil-magic.ch/httpdocs/fil-magic/wp-content/plugins/spider-facebook/spider-facebook.php on line 466
       ```
   
    -  This topic was modified 6 years, 1 month ago by [knoxi](https://wordpress.org/support/users/knoxi/).

Viewing 1 replies (of 1 total)

 *  [jkniez](https://wordpress.org/support/users/jkniez/)
 * (@jkniez)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/error-when-using-php-7-4-2/#post-13126002)
 * I have the same problem: when the plugin is active and I want to edit a page,
   the same warning is displayed.

Viewing 1 replies (of 1 total)

The topic ‘Error when using PHP 7.4’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/spider-facebook.svg)
 * [WDSocialWidgets](https://wordpress.org/plugins/spider-facebook/)
 * [Support Threads](https://wordpress.org/support/plugin/spider-facebook/)
 * [Active Topics](https://wordpress.org/support/plugin/spider-facebook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/spider-facebook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/spider-facebook/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [jkniez](https://wordpress.org/support/users/jkniez/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/error-when-using-php-7-4-2/#post-13126002)
 * Status: not resolved