添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

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.

Thank you for using CusRev.

Please follow this solution https://help.cusrev.com/support/solutions/articles/43000611175-troubleshooting-plugins-and-themes
to troubleshoot the issue. Let me know how it goes.