Title: update plugin for php 7.2
Last modified: January 8, 2018

---

# update plugin for php 7.2

 *  Resolved [gowithadvanced](https://wordpress.org/support/users/gowithadvanced/)
 * (@gowithadvanced)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/update-plugin-for-php-7-2/)
 * Hello,
 * I’m using WordPress 4.9.1 on PHP 7.2. I get the following message:
 * `Deprecated: Function create_function() is deprecated in /var/www/site-name/wp-
   content/plugins/rotatingtweets/rotatingtweets.php on line 390`
 * Can you please update the code to use an anonymous function instead of create_function?
 * [http://php.net/manual/en/function.create-function.php](http://php.net/manual/en/function.create-function.php)
 * Thanks!
    -  This topic was modified 8 years, 4 months ago by [gowithadvanced](https://wordpress.org/support/users/gowithadvanced/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/update-plugin-for-php-7-2/#post-9844457)
 * Thanks for highlighting this.
 * Now fixed (hopefully).
 * Martin
 *  Thread Starter [gowithadvanced](https://wordpress.org/support/users/gowithadvanced/)
 * (@gowithadvanced)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/update-plugin-for-php-7-2/#post-9847371)
 * Thanks for the super speedy fix!
 *  [canon1dx](https://wordpress.org/support/users/canon1dx/)
 * (@canon1dx)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/update-plugin-for-php-7-2/#post-10041784)
 * Hello,
 * I’m running a local server for testing using WordPress 4.9.4 on PHP 7.2.2 I get
   the following message:
 * Warning: sizeof(): Parameter must be an array or an object that implements Countable
   in C:\xampp\htdocs\wordpress\wp-content\plugins\oypo\config.php on line 149
 * is there a solution for this
    -  This reply was modified 8 years, 2 months ago by [canon1dx](https://wordpress.org/support/users/canon1dx/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘update plugin for php 7.2’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/rotatingtweets.svg)
 * [Rotating Tweets (Twitter widget and shortcode)](https://wordpress.org/plugins/rotatingtweets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rotatingtweets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rotatingtweets/)
 * [Active Topics](https://wordpress.org/support/plugin/rotatingtweets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rotatingtweets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rotatingtweets/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [canon1dx](https://wordpress.org/support/users/canon1dx/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/update-plugin-for-php-7-2/#post-10041784)
 * Status: resolved