I activated your plugin and this is the error I’m receiving.
Warning: trim() expects parameter 1 to be string, object given in /home/customer/www/mydomain.com/public_html/wp-includes/class-wp-user.php on line 212
I enabled debug mode and debug log and the error disappears on the product page and shows in the debug log. It only shows on the product page when I set debug to false.
The object that is given to the get_data_by() method is a WP_Comment Object. It’s the review for the product. I’m using the [cusrev_reviews] shortcode on my product page.
This error only shows for the first review of the product. It does not show on the other reviews for that product. When I delete one review, the error will show for the next review in line.