Title: Error with PHP 7.2
Last modified: December 6, 2018

---

# Error with PHP 7.2

 *  Resolved [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/error-with-php-7-2-4/)
 * We just upgraded to PHP 7.2 for security reasons, and are getting this error 
   when we hit the ‘Select Slides’ button:
 *     ```
       ArgumentCountError thrown
   
       Too few arguments to function sgpb\Filters::editPopupPreviewLink(), 1 passed in /var/www/humortimes/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected
       ```
   
 * Please update the code. Thanks!

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

 *  Plugin Author [CodeFlavors](https://wordpress.org/support/users/codeflavors/)
 * (@codeflavors)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/error-with-php-7-2-4/#post-10983334)
 * Sorry for the delay. Regarding the error you are seeing, this is not related 
   to our plugin, it is triggered by something else. We tested our plugin on a clean
   installation and everything is OK.
 * One thing you could do is deactivate your other plugins one by one and see if
   the error gets solved. Otherwise, it will need debugging in order to determine
   the exact cause of this.
 *  Thread Starter [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/error-with-php-7-2-4/#post-10985916)
 * Thanks for the reply. For some reason, it just stopped happening, so we’re good!
 *  Thread Starter [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/error-with-php-7-2-4/#post-11005419)
 * Oops, now it’s happening again. Can you give me a hint as to how to try to debug
   this particular error?
 *  Thread Starter [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/error-with-php-7-2-4/#post-11005588)
 * Also, was the install machine you tested it on running PHP 7?
 * Lastly, I notice the plugin hasn’t been updated for a couple years. Just curious,
   do you folks plan on updating it anytime soon?
 *  Plugin Author [CodeFlavors](https://wordpress.org/support/users/codeflavors/)
 * (@codeflavors)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/error-with-php-7-2-4/#post-11006374)
 * Hi,
 * Yes, the machine that the plugin was tested on has PHP 7 installed on it. Have
   you tested the plugin on a clean WP installation?
    As I mentioned before, deactivating
   plugins one by one and checking if the problem gets solved might point into the
   right direction. If this is not an option, maybe you could grant me temporary
   WP admin/FTP access so I can debug directly on your server.
 * Regarding plugin updates, yes, there are plans for evolving this plugin to the
   next version.
 *  Thread Starter [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/error-with-php-7-2-4/#post-11011177)
 * Okay, found the conflicting plugin, it’s Popup Builder. I asked them about in
   their support forum. Thanks!
 *  Plugin Author [CodeFlavors](https://wordpress.org/support/users/codeflavors/)
 * (@codeflavors)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/error-with-php-7-2-4/#post-11012485)
 * My pleasure, happy to be of help. If there’s anything else I can help you with
   please let me know.

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

The topic ‘Error with PHP 7.2’ is closed to new replies.

 * ![](https://ps.w.org/featured-articles-lite/assets/icon-128x128.jpg?rev=1045881)
 * [FA Lite - WP responsive slider plugin](https://wordpress.org/plugins/featured-articles-lite/)
 * [Support Threads](https://wordpress.org/support/plugin/featured-articles-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/featured-articles-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/featured-articles-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/featured-articles-lite/reviews/)

## Tags

 * [ArgumentCountError](https://wordpress.org/support/topic-tag/argumentcounterror/)
 * [FA Lite](https://wordpress.org/support/topic-tag/fa-lite/)

 * 7 replies
 * 2 participants
 * Last reply from: [CodeFlavors](https://wordpress.org/support/users/codeflavors/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/error-with-php-7-2-4/#post-11012485)
 * Status: resolved