Thank you for reporting this. I have submitted a message to the developers to investigate your findings further.
Kind regards.
@mbrsolution Thank you.
It has been suggested that the other error messages may be plugin related so I’m including them here just in case…
`on line 696 PHP Fatal error: Uncaught ArgumentCountError: Too few
arguments to function WP_Widget::__construct(), 0 passed in
/home/bejoy/be-joy.com/wp-includes/class-wp-widget-factory.php on line 61
and at least 2 expected in
/home/bejoy/be-joy.com/wp-includes/class-wp-widget.php:162 Stack trace: #0
/home/bejoy/be-joy.com/wp-includes/class-wp-widget-factory.php(61):
WP_Widget->__construct() #1 /home/bejoy/be-joy.com/wp-includes/widg`
Hi, This Looks to be a server setup related issue. Please ask your hosting provider why the following variable is not set in this server’s configuration:
$_SERVER[ "SERVER_NAME" ]
That variable should be available in PHP8. Once that is taken care of, you won’t see that warning.
@mra13, will this clear all of these, or just the plugin specific ones? I wasn’t sure if the widget factory ones should be included or not. When I talk with the host it would be good to know. Thank you
The plugin specific one is what I can say for sure. I have tested this plugin with a PHP 8.1 system so I know that our plugin should work fine with PHP 8 system. I am not sure about any other things that might be impacting this particular server/site.
For the widget, you can try removing all the widgets then add the widgets one by one to see which one causes an issue. For this plugin, you can simply add a standard “Text” widget or block and use the following shortcode in there:
[show_wp_shopping_cart]
We’ve tracked down the problem and identified another plugin as the culprit.
Thank you