Hi @mailtobb ,
The reviewer_name as the name suggest is the reviewer’s name, an undefined array key means that this value is missing.
On your feed, use the rules and filter to check for the name/attribute field and check if it’s empty. If yes, add a rule to set the name to something like Anonymous user.
Thanks, Jeff!
The problem should occur with the “Google Product Review Feed”. I have no “reviewer_name” field in it and that should be like that I guess. Please see the screenshot from the Google documentation https://snipboard.io/3O1sm6.jpg and my feed https://snipboard.io/SqI3U5.jpg
Do you have any ideas what to do?
Thanks,
Bastian
It’s several ongoing issues with this plugin, because it doesn’t follow PHP 8+ standards, and it sadly seems like the dev doesn’t care or can fix it, don’t understand why though: https://wordpress.org/support/topic/php-warning-undefined-array-key-sale_price-2/#post-17837796
@syntaxerrorno Any suggestion for alternatives? Thanks.
Any news on this, @superlemon1998?
Same issue here… this is on an install and setup that has been working for YEARS with current setup with no changes
PHP Warning: Undefined array key “reviewer_name” in …… wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 131
-
This reply was modified 9 months ago by
pckeys.
The new update fixed the problem for me. Thanks!