I am getting 2 PHP warnings on my product pages:
“PHP message: id was called incorrectly. Product properties should not be accessed directly. (…)”
This is because the product ID is called the old way: $product->id
Instead it must be called: $product->get_id()
I changed it by myself in two of this plugins files and it seems to be working fine now. Maybe you want to check that with your deeper insights and update it in the next release.
The files are:
class-alg-wc-pq-core.php
class-all-wc-pq-qty-info.php
- This topic was modified 8 months, 4 weeks ago by
WPWhale.