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 Mihai Apetrei 1 year ago.

Assigned support staff: Mihai Apetrei.

Author Posts
October 7, 2018 at 6:07 pm #2794099

izabelA

The website content has been copied to the new hosting.
Before I redirect the DNS, I've set up a preview with an online local host so we can test for issues.
You can see the website at the following link:
hidden link
Everything seems to be working fine, apart of the product pages.
Every product displays the following error:
Warning: Illegal string offset 'switcher_style' in /home/starbg60/public_html/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-currency-switcher.php on line 84
Do you happen to know what might cause this issue?

October 9, 2018 at 7:05 am #2798481

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi and thank you for contacting WPML Support!

I will be happy to help you with this.

I went here (hidden link) and could not find any PHP Warning error (I'm also attaching a screenshot) so can you please let me know the steps that you are taking to reproduce this?

Also, warnings are not severe issues and they can be easily hidden for the public by following the steps below.

❌ Before proceeding please make a full website backup! ❌

Add this in the wp-config.php file that can be found in your WordPress site's directory:

define('WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

I will be waiting for your reply.