This thread is resolved. Here is a description of the problem and solution.
Problem: The client is encountering PHP deprecation warnings related to the creation of dynamic properties in WooCommerce when editing products. These warnings appear specifically when the WPML plugins are activated.
Solution: If you're experiencing similar PHP deprecation warnings, we recommend the following steps: 1. Ensure you have a backup of your site. 2. Temporarily disable all plugins except for WPML and WooCommerce, and switch to a default WordPress theme to check if the issue persists. 3. If the warnings disappear after deactivating other plugins and themes, it indicates a possible conflict with other installed extensions or the theme. 4. The issue has been identified as related to PHP 8.3+ versions, and a fix will be included in upcoming releases of the WPML plugins, specifically versions beyond 5.5.2.2.
Please note that these warnings are not indicative of functional problems with your site but are meant to inform about deprecated practices. If this solution does not apply or is outdated, or if the problem persists, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If needed, do not hesitate to open a new support ticket at WPML support forum for further assistance.
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.
Can you please confirm issue is related to WPML plugin? Please create a staging site and disable WPML for a moment, and check if the issue still happens.
Great, then please can you disable WPML plugin and test by editing simple product.
As I can see from the first shared image, it does not seem to be coming from WPML plugins. Also shared WP forum implies issue is with custom code and Bricks theme.
If the issue still happens when WPML is disabled then it is not something related to WPML products and something we can from WPML support help with.
Yes, I deactivated WPML plugins and editted the SKU in an variable product and a simple product:
variable: hidden link
simple: hidden link
No error.
I activated WPML plugins, and re-editted the SKU. Error appeared:
[20-Oct-2025 03:37:46 UTC] PHP Deprecated: Creation of dynamic property WC_Product_Variable::$ID is deprecated in /home/sensutoy/public_html/wp-includes/post.php on line 2879
[20-Oct-2025 03:37:46 UTC] PHP Deprecated: Creation of dynamic property WC_Product_Variable::$filter is deprecated in /home/sensutoy/public_html/wp-includes/post.php on line 2884
[20-Oct-2025 03:37:46 UTC] PHP Deprecated: Creation of dynamic property WC_Product_Variable::$ID is deprecated in /home/sensutoy/public_html/wp-includes/post.php on line 2879
[20-Oct-2025 03:37:46 UTC] PHP Deprecated: Creation of dynamic property WC_Product_Variable::$filter is deprecated in /home/sensutoy/public_html/wp-includes/post.php on line 2884
[20-Oct-2025 03:37:46 UTC] PHP Deprecated: Creation of dynamic property WC_Product_Variable::$ID is deprecated in /home/sensutoy/public_html/wp-includes/post.php on line 2879
[20-Oct-2025 03:37:46 UTC] PHP Deprecated: Creation of dynamic property WC_Product_Variable::$filter is deprecated in /home/sensutoy/public_html/wp-includes/post.php on line 2884
[20-Oct-2025 03:37:46 UTC] PHP Deprecated: Creation of dynamic property WC_Product_Variable::$ID is deprecated in /home/sensutoy/public_html/wp-includes/post.php on line 2879
[20-Oct-2025 03:37:46 UTC] PHP Deprecated: Creation of dynamic property WC_Product_Variable::$filter is deprecated in /home/sensutoy/public_html/wp-includes/post.php on line 2884
[20-Oct-2025 03:39:04 UTC] PHP Deprecated: Creation of dynamic property WC_Product_Simple::$ID is deprecated in /home/sensutoy/public_html/wp-includes/post.php on line 2879
[20-Oct-2025 03:39:04 UTC] PHP Deprecated: Creation of dynamic property WC_Product_Simple::$filter is deprecated in /home/sensutoy/public_html/wp-includes/post.php on line 2884
[20-Oct-2025 03:39:04 UTC] PHP Deprecated: Creation of dynamic property WC_Product_Simple::$ID is deprecated in /home/sensutoy/public_html/wp-includes/post.php on line 2879
[20-Oct-2025 03:39:04 UTC] PHP Deprecated: Creation of dynamic property WC_Product_Simple::$filter is deprecated in /home/sensutoy/public_html/wp-includes/post.php on line 2884
[20-Oct-2025 03:39:04 UTC] PHP Deprecated: Creation of dynamic property WC_Product_Simple::$ID is deprecated in /home/sensutoy/public_html/wp-includes/post.php on line 2879
[20-Oct-2025 03:39:04 UTC] PHP Deprecated: Creation of dynamic property WC_Product_Simple::$filter is deprecated in /home/sensutoy/public_html/wp-includes/post.php on line 2884
[20-Oct-2025 03:39:04 UTC] PHP Deprecated: Creation of dynamic property WC_Product_Simple::$ID is deprecated in /home/sensutoy/public_html/wp-includes/post.php on line 2879
[20-Oct-2025 03:39:04 UTC] PHP Deprecated: Creation of dynamic property WC_Product_Simple::$filter is deprecated in /home/sensutoy/public_html/wp-includes/post.php on line 2884
great, thanks for testing and getting back to us. This is very helpfull.
Please try next steps:
- Make sure you have a backup.
- Disable all other plugins and leave active only WPML plugins and Wocommerce
- Switch to WP default theme
- Check if the issue still happens.
- Please backup the site files and database before providing us access.
- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.
great, then we will be checking further on shared staging site, as said we also need FTP access to be able to check debug.log and safely disable plugins etc.
I’ve checked, and it appears the issue is related to PHP 8.3+ versions. We’ll be addressing this in one of the upcoming releases. Please note that it shouldn’t cause any problems with your website or WPML functionality — it’s just a warning message, not an actual error.
Let me know if that works for you. If not, we can revisit this in a few days and test again with the new version of WCML, which will fix several messages and may also resolve the one you’re seeing.
no, there will be 5.5.3 soon released and later version also, like 5.5.0 etc., that will fix this issues, as they are not error message just a warning, so it does not affect your website functionality.