• 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:163
    Stack 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 to see the link]

Viewing 1 replies (of 1 total)
  • Hi @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 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.