Background of the issue:
I found and fixed a bug in WCML code leading to this notice (and probably some side effects that I couldn't identify):
[02-Aug-2024 15:30:13 UTC] PHP Notice: Undefined property: stdClass::$_regular_price in /var/www/vhosts/edited.com/shop.edited.com/wp-includes/class-wp-list-util.php on line 192
[02-Aug-2024 15:30:13 UTC] PHP Notice: Undefined property: stdClass::$_sale_price in /var/www/vhosts/edited.com/shop.edited.com/wp-includes/class-wp-list-util.php on line 192
[02-Aug-2024 15:30:13 UTC] PHP Notice: Undefined property: stdClass::$_price in /var/www/vhosts/edited.com/shop.edited.com/wp-includes/class-wp-list-util.php on line 192
Those 2 calls use $key to find the value, but it's wrong. At this line, the value is located into 'meta_value', see example below:
Array (
[0] => stdClass Object ( [post_id] => 4753 [meta_key] => _regular_price [meta_value] => 70 )
[3] => stdClass Object ( [post_id] => 4754 [meta_key] => _regular_price [meta_value] => 45 )
)
Please let me know when it's integrated so that I don't lose my local changes with an update.
Symptoms:
PHP Notice: Undefined property: stdClass::$_regular_price, stdClass::$_sale_price, stdClass::$_price in /var/www/vhosts/adlice.com/shop.adlice.com/wp-includes/class-wp-list-util.php on line 192
Questions:
When will the fix be integrated so that I don't lose my local changes with an update?