Skip Navigation

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 Bobby 1 year, 2 months ago.

Assisted by: Bobby.

Author Posts
March 11, 2024 at 5:32 pm #15396873

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

It looks like these 2 issues are separate and independent of each other.

Please confirm that the SQL query resolved the issue with the undefined property errors and I will split our ticket to focus on the add-to-cart issue separately as it will require further debugging.

March 11, 2024 at 5:57 pm #15396916

petriR

Yes that fixed the debug log issue but the bigger issue is (still) that we cannot sell to US or Canada as I said pages ago. I hoped that you would prioritize commercial issue over the log issue. This is critical to us.

March 12, 2024 at 8:22 pm #15401502

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Yes, I am aware of the issue you are facing and we can both agree that solving the undefined errors was part of resolving the bigger issue for you, which has led us to the conclusion of not being directly related.

I will split it into its own and update you with additional feedback from further debugging.