Title: does this plugin work with php v8+
Last modified: September 1, 2025

---

# does this plugin work with php v8+

 *  [pascoedj](https://wordpress.org/support/users/pascoedj/)
 * (@pascoedj)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/does-this-plugin-work-with-php-v8-2/)
 * I am having errors with an old version of the google custom search plugin.
 * It is not compatible with php v8 which is a problem
 * thrown in /home/customer/www/rosacea-support.org/public_html/wp-includes/class-
   wp-widget.php on line 163
   …[01-Sep-2025 10:16:13 UTC] PHP Fatal error: Uncaught
   ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0
   passed in /home/customer/www/rosacea-support.org/public_html/wp-includes/class-
   wp-widget-factory.php on line 62 and at least 2 expected in /home/customer/www/
   rosacea-support.org/public_html/wp-includes/class-wp-widget.php:163Stack trace:
   0 /home/customer/www/rosacea-support.org/public_html/wp-includes/class-wp-widget-
   factory.php(62): WP_Widget->__construct() 1 /home/customer/www/rosacea-support.
   org/public_html/wp-includes/widgets.php(123): WP_Widget_Factory->register(‘GSC_Widget’)
   2 /home/customer/www/rosacea-support.org/public_html/wp-content/plugins/google-
   custom-search/widget.php(14): register_widget(‘GSC_Widget’)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdoes-this-plugin-work-with-php-v8-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [A. M. Riffaz](https://wordpress.org/support/users/riffaz/)
 * (@riffaz)
 * [8 months, 1 week ago](https://wordpress.org/support/topic/does-this-plugin-work-with-php-v8-2/#post-18678470)
 * Hi [@pascoedj](https://wordpress.org/support/users/pascoedj/) ,
 * I think you might be referring to a different plugin because your error message
   shows this path:
   `/rosacea-support.org/public_html/wp-content/plugins/**google-
   custom-search**/widget.php(14)`
 * However, `/**google-custom-search**/` is not the folder name of this plugin.
   
   The folder name for the [Search with Google](https://wordpress.org/support/plugin/search-with-google/)
   plugin is `/**search-with-google**/`.Please contact the support team of the plugin
   you’re actually using.
 * By the way, I tested the latest version (**v1.2.3**) on PHP **8.4** and it worked
   fine without any issues.
   So, **Search with Google** should work properly on PHP
   8 as well.
 * Let me know if you need any help with the **Search with Google** plugin. I’ll
   be happy to assist.
 * Regards,

Viewing 1 replies (of 1 total)

The topic ‘does this plugin work with php v8+’ is closed to new replies.

 * ![](https://ps.w.org/search-with-google/assets/icon-256x256.png?rev=2402707)
 * [Search with Google](https://wordpress.org/plugins/search-with-google/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/search-with-google/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/search-with-google/)
 * [Active Topics](https://wordpress.org/support/plugin/search-with-google/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-with-google/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-with-google/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [A. M. Riffaz](https://wordpress.org/support/users/riffaz/)
 * Last activity: [8 months, 1 week ago](https://wordpress.org/support/topic/does-this-plugin-work-with-php-v8-2/#post-18678470)
 * Status: not resolved