This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing issues with loading products on your screen and encountering errors such as 'Undefined property' related to regular price, sale price, and PHP8 support deprecation errors like 'Creation of dynamic property Whip_RequirementsChecker::$configuration is deprecated', this might be due to a known compatibility issue with PHP 8.2.
Solution:
First, we recommend checking our documentation on the PHP 8.2 deprecation issue: PHP 8.2 Deprecated: Creation of dynamic property.
If the issue is related to custom currency not being set for some products, it's possible that the product was originally a single product and later changed to a variable product. In this case, you can set the
_wcml_custom_prices_status
field to 0 for the container product by running the following SQL query:
UPDATE `wpcom2019_postmeta` SET `meta_value` = '0' WHERE `post_id` = '975' AND `meta_key` = '_wcml_custom_prices_status'
Please note that the solution provided might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please don't hesitate to open a new support ticket with us.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 32 replies, has 2 voices.
Last updated by 1 year, 2 months ago.
Assisted by: Bobby.