PHP Fatal error: Uncaught TypeError: count()
-
Good Day,
When viewing the Product lIsting and clicking on the wish listed items, trying to view who has wished the specific product I see that there is a PHP Fatal error: Uncaught TypeError: count() error appearing in the log and nothing loads. I see you had a similar issue 2 years ago on the users page and was resolved, but it appears to not be resolved on the products page. Below is the full error for the logs
2352790#0: *3566058 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/vhosts/..../wp-content/plugins/woo-smart-wishlist/wpc-smart-wishlist.php:2312
Stack trace:
#0 /var/www/vhosts/..../wp-includes/class-wp-hook.php(308): WPCleverWoosw->wishlist_quickview()
#1 /var/www/vhosts/..../wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /var/www/vhosts/..../wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /var/www/vhosts/..../wp-admin/admin-ajax.php(188): do_action()
#4 {main}
thrown in /var/www/vhosts/..../wp-content/plugins/woo-smart-wishlist/wpc-smart-wi" while reading response header from upstream
The topic ‘PHP Fatal error: Uncaught TypeError: count()’ is closed to new replies.