This topic has 8 replies, 3 voices, and was last updated 4 years, 2 months ago ago by John Holden
I encounter the error below anytime I visit a page. Shop Page works fine. What could be the problem
Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/gsmtinz.com/public_html/wdpr/wp-includes/formatting.php on line 3357
WANT DEALS?
Hello,
As I can see, you selected to show Featured products – https://prnt.sc/u7axqb
Make sure that you have Featured products (I can’t check it vid your Dashboard with current access), or change Products type in settings of the element.
Regards
Thanks.
I still get the error even when I remove the featured items.
Though I actually have featured products.
The problem started after the update to Version 7 of the theme.
Waiting for your response.
Thanks
Where do you have the error? Try to clear cache and check one more time, because I do not see the warning on the mentioned page – https://prnt.sc/u7e0cp
Regards
Thank you for checking.
The page you loaded was after I remove the Xtheme Product Widget. The page works well without Xtheme Product Widgets. See the error below.
Fatal error: Uncaught DivisionByZeroError: Modulo by zero in /home/customer/www/gsmtinz.com/public_html/wdpr/wp-content/plugins/et-core-plugin/app/models/widgets/products.php:207 Stack trace: #0 /home/customer/www/gsmtinz.com/public_html/wdpr/wp-content/plugins/elementor/includes/widgets/wordpress.php(271): ETC\App\Models\Widgets\Products->widget(Array, Array) #1 /home/customer/www/gsmtinz.com/public_html/wdpr/wp-content/plugins/elementor/includes/base/widget-base.php(530): Elementor\Widget_WordPress->render() #2 /home/customer/www/gsmtinz.com/public_html/wdpr/wp-content/plugins/elementor/includes/base/widget-base.php(643): Elementor\Widget_Base->render_content() #3 /home/customer/www/gsmtinz.com/public_html/wdpr/wp-content/plugins/elementor/includes/base/element-base.php(724): Elementor\Widget_Base->get_raw_data(true) #4 /home/customer/www/gsmtinz.com/public_html/wdpr/wp-content/plugins/elementor/includes/base/element-base.php(724): Elementor\Element_Base->get_raw_data(true) #5 /home/customer/www/gsmtinz.com/public_html/ in /home/customer/www/gsmtinz.com/public_html/wdpr/wp-content/plugins/et-core-plugin/app/models/widgets/products.php on line 207
Provide URL of page, where the Fatal error persists, and temporary FTP access, so we can take a closer look.
Regards
Problems seems to occur not every time.
Hi,
Please provide URL of the mentioned page, so I can take a closer look.
Regards,
Hung PD
You must be logged in to reply to this topic.Log in/Sign up