Skip Navigation

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.

Tagged: 

This topic contains 16 replies, has 3 voices.

Last updated by Ahmed Ibrahim 3 years, 2 months ago.

Assigned support staff: Ahmed Ibrahim.

Author Posts
August 28, 2018 at 2:45 pm

quidoD

if i want to update a product i get an error also on the homepage i have a error and in admin at tranlaste section to multilanguage i get errors. please can you fix this for me.

Schermafbeelding 2018-08-28 om 16.38.46.png
Schermafbeelding 2018-08-28 om 16.38.02.png
Schermafbeelding 2018-08-28 om 13.53.09.png
August 28, 2018 at 11:07 pm #2684366

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi.

I'm mostly bothered by the fatal error (WPML_PB_Integration) that you are getting.
Where can see or how can I trigger this error on your site?

Regards,
Itamar.

August 29, 2018 at 6:04 am #2685029

quidoD

If you wanna change any product you get the errror when trying to save the product

August 29, 2018 at 6:49 pm #2687651

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi.

I've installed your site on my local server and do not get this fatal error when I update a product. I've noticed that the WPBakery Page Builder plugin on your site is not updated to the latest version and I think that the error might be related to this issue. Could you please update the WPBakery Page Builder to the latest version and see if you still get this fatal error?
The latest version of this plugin is currently 5.5.2

Thanks,
Itamar.

August 30, 2018 at 5:36 am #2688625

quidoD

I updated it. But please check still getting the error.

August 30, 2018 at 7:39 pm #2691709

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Thanks.

Can you allow me to check it on your site even if I get a fatal error?

August 31, 2018 at 6:06 am #2692650

quidoD

yes you can

September 3, 2018 at 8:02 am #2698214

quidoD

Did you find the problem?

September 3, 2018 at 3:39 pm #2700351

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi and sorry for the late response here.

I can see the issue on your site.
I'm discussing it with our second tier supporter.
Once I have more information from him, I'll get back to you here.

Thank you for your patience.

September 4, 2018 at 8:34 pm #2704709

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi.

Our second tier supporter said that this issue might be related to the Hide My WP plugin.
So indeed after that, I activate it on your site's copy I see the notice message.

Notice: Trying to get property of non-object in C:\Ampps\www\c75\wp-content\plugins\sitepress-multilingual-cms\menu\post-menus\post-edit-screen\wpml-meta-boxes-post-edit-html.class.php on line 137

But I do not get the fatal error message when I try to update a product.
Could you please try to see if you still get the fatal error when you deactivate the Hide My WP plugin?

I look forward to your reply!

Regards,
Itamar.

September 5, 2018 at 5:18 am #2705597

quidoD

I deactived the Hide my wp plugin. And still get the error so thats not the problem 🙁

September 6, 2018 at 11:12 am #2710347

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi.

When deactivating the Hide My WP plugin, it still leaves a lot of records in the .htaccess file.
Did you erase those records?

In any case, our second tier supporter says that it also might be an issue with the PHP version.
I've escalated this issue to our second tier supporters, and they will continue to check it.

We'll be in contact with you regarding this issue.

Thanks,
Itamar.

September 14, 2018 at 4:57 pm #2736221

Ahmed Ibrahim
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi, this is Ahmed Ibrahim from the second tier support team.

First thing please update all your WPML plugins to the latest version.

I have checked your issues and for the first one, which is

Notice: Trying to get property 'term_id' of non-object

it happens because you don't have any translation priority terms defined on your site, so I have added one for you "Optional" by following this document: https://wpml.org/documentation/translating-your-contents/adding-priority-to-your-translations/
and now this issue has been resolved.

For the second issue which is a Fatal error when updating a product, I have escalated it to our developers, and for now please do the following workaround to fix it on your site.
Please go to wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/page-builders/src/st/class-wpml-pb-integration.php:165 and change this line:

public function migrate_location( $post_id, $post_data ) {

To be:

public function migrate_location( $post_id ) {

And check again if the issue has been resolved.
Best Regards.

September 14, 2018 at 7:24 pm #2736562

quidoD

Sorry that last option i dont understand. Can you please try it for me. Really dont now where to find it.

September 17, 2018 at 9:55 am #2740487

Ahmed Ibrahim
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I have made the changes for you, can you please check it.

Best Regards.