Fatal error: Uncaught Error: Call to a member function get_attributes() on bool in /home/sebraspo/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-orders.php:273 Stack trace: #0 /home/sebraspo/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-orders.php(295): WCML_Orders->get_attribute_options(NULL, 'pa_maat') #1 /home/sebraspo/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-orders.php(216): WCML_Orders->update_attribute_item_meta_value(Object(WC_Order_Item_Product), 78610) #2 /home/sebraspo/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-orders.php(154): WCML_Orders->adjust_variation_item_if_translated(Object(WC_Order_Item_Product), 'nl') #3 /home/sebraspo/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-orders.php(121): WCML_Orders->adjust_order_item_in_language(Array, 'nl') #4 /home/sebraspo/public_html/wp-includes/class-wp-hook.php(326): WCML_Orders->woocommerce_order_get_items(Array, Object(Automattic\WooCom in /home/sebraspo/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-orders.php on line 273
I get this error when looking at an order that comes from outside my main country (The Netherlands) and it's gone when I turn off the WPML String Translation plugin
Could you please increase the WordPress memory limit (WP Memory Limit) to at least 256 MB? WPML requires at least 128M.
Your current values are:
PHP MemoryLimit 2000M
WP Memory Limit 40M
You need to connect to your website's server and open the wp-config.php file in a text editor. The file is located in the WordPress root directory.
Add this code to the wp-config.php file to increase WordPress memory:
define ('WP_MEMORY_LIMIT', '256M');
Add this just before this comment:
// That's all, stop editing! Happy blogging.
The current values can be viewed under WPML > Support > WordPress.
These settings can be restricted directly by your hosting provider. Therefore, I recommend contacting them and asking them to change them directly if the changes are not applied immediately.
It might be that one of the items was altered or deleted.
I would need to take a closer look into the database to get more details about this.
I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further.
You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.
IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.
The private response form looks like this: hidden link
Next time you reply, click "I still need assistance."
Video: hidden link
Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.
Checking this attribute on WCML I found an empty table.
See screenshot.
I was able to solve this issue using the WPML troubleshooting options at WPML > Support > Troubleshooting.
Also, for some reason at WPML > Settings > Post Type translation the "Variaties (product_variation)" were using the fallback setting. I have adjusted this now, as this setting is not recommended.