Please make sure to update to WPML 4.3.4 before reporting any issue

Hi, Amit here, I am the WPML Support Manager, our current ticket queue is high, update your WPML plugins and make sure you meet the minimal requirements for running WPML before reporting an issue please - many tickets are resolved doing that

Please look at our updated list of Known Issues and you can also use our support search to find helpful information and of course review our documentation before opening a ticket.

If you do need to open a ticket please make sure to provide us with all the needed information as described in this page

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 1 reply, has 2 voices.

Last updated by Carlos Rojas 1 month ago.

Assigned support staff: Carlos Rojas.

Author Posts
October 19, 2019 at 6:35 pm #4788153


I am trying to: Add something to the cart and the go to "Om oss".

Link to a page where the issue can be seen: hidden link

I expected to see: A page

Instead, I got: A broken page and an error message in the error_log;

2019-10-19T18:18:22+00:00 CRITICAL Uncaught Error: Call to undefined method WP_Post::get_id() in /home/wse/subdomains/bloms/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-strings.php:80
Stack trace:
#0 /home/wse/subdomains/bloms/wp-includes/class-wp-hook.php(286): WCML_WC_Strings->translated_attribute_label('Ben\xC3\xA4mning', 'benamning', Object(WC_Product_Variable))
#1 /home/wse/subdomains/bloms/wp-includes/plugin.php(208): WP_Hook->apply_filters('Ben\xC3\xA4mning', Array)
#2 /home/wse/subdomains/bloms/wp-content/plugins/woocommerce/includes/wc-attribute-functions.php(211): apply_filters('woocommerce_att...', 'Ben\xC3\xA4mning', 'benamning', Object(WC_Product_Variable))
#3 /home/wse/subdomains/bloms/wp-content/plugins/woocommerce/includes/wc-template-functions.php(3550): wc_attribute_label('benamning', Object(WC_Product_Variable))
#4 /home/wse/subdomains/bloms/wp-content/plugins/woocommerce/templates/cart/mini-cart.php(62): wc_get_formatted_cart_item_data(Array)
#5 /home/wse/subdomains/bloms/wp-content/plugins/woocommerce/incl i /home/wse/subdomains/bloms/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-strings.php på rad 80

October 21, 2019 at 3:33 pm #4795859

Carlos Rojas

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Thank you for contacting WPML support.

1.- I would like to ask you to follow this steps in order to isolate the cause of the issue:
- Back up your site first before making any change, this is for security reasons.
- Update all outdated plugins and themes.
- Flush any cache memory that might exists.
- Deactivate all the plugins that are not related to WPML.
- Switch for a moment to a WordPress default theme like Twenty Seventeen.
- If the issue is gone, activate one by one to see with which one there is an interaction issue.

Could you tell me the result of this steps?

2.- Please increase the PHP Memory Limit. Minimum requirements are 128Mb:
You can add this to wp-config.php to increase WP memory:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '128M');
define( 'WP_MAX_MEMORY_LIMIT', '128M' );

- Add it above the line /* That's all, stop editing! Happy blogging. */

Kind regards,