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 17 replies, has 2 voices.

Last updated by Ahmed Ibrahim 5 months, 1 week ago.

Assigned support staff: Ahmed Ibrahim.

Author Posts
October 28, 2018 at 12:58 pm #2856197

quidoD

As in our previous errors we are ones getting the same while updating the plugins. Please see again the same problem.

It was solved after you guys changed something but after the new update we again have the problem. Can it be fixed for always and not that i need to send a email after a update with the same problem? Thanks!

So when adding a product and then clicking on save you get this errror again:

Fatal error: Uncaught ArgumentCountError: Too few arguments to function WPML_PB_Integration::migrate_location(), 1 passed in /home/ugx/domains/ugx-shop.com/public_html/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /home/ugx/domains/ugx-shop.com/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/page-builders/src/st/class-wpml-pb-integration.php:165 Stack trace: #0 /home/ugx/domains/ugx-shop.com/public_html/wp-includes/class-wp-hook.php(286): WPML_PB_Integration->migrate_location(NULL) #1 /home/ugx/domains/ugx-shop.com/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(NULL, Array) #2 /home/ugx/domains/ugx-shop.com/public_html/wp-includes/post.php(2154): apply_filters('pre_post_update', '') #3 /home/ugx/domains/ugx-shop.com/public_html/wp-includes/post.php(2041): sanitize_post_field('update', '', 15803, 'db') #4 /home/ugx/domains/ugx-shop.com/public_html/wp-includes/post.php(3165): sanitize_post(Array, 'db') #5 /home/ugx/domains/ugx-shop.com/public_html/wp-includes/post in /home/ugx/domains/ugx-shop.com/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/page-builders/src/st/class-wpml-pb-integration.php on line 165

October 28, 2018 at 1:00 pm #2856198

quidoD

Our login is still the same a previous

October 29, 2018 at 1:40 pm #2858190

Ahmed Ibrahim
Supporter

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

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

Hi, and thanks for contacting our support forum.

I have made the changed for you, please check it and let me know if everything is ok now.

Best Regards.

October 29, 2018 at 2:32 pm #2858393

quidoD

Thanks! it seems to be fixed 🙂

October 29, 2018 at 4:41 pm #2858819

Ahmed Ibrahim
Supporter

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

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

Hi, thanks for the confirmation, so can you please close this ticket, and feel free to open a new ticket if you get any new issues.

Best Regards.

October 29, 2018 at 4:42 pm #2858822

quidoD

My issue is resolved now. Thank you!

November 30, 2018 at 12:29 pm #2956025

quidoD

Hi and we have after the update the same problem again.
Login is with hidden link

thanks!

November 30, 2018 at 4:16 pm #2956783

Ahmed Ibrahim
Supporter

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

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

Hi, and sorry for the inconveniences.

We will have to apply the fix every time you install a new update till our developers fix the issue and batch the fix in our WPML plugin.

So I suggest you to know how to do the change yourself, it is easy, you just have to 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 ) {

Best Regards

December 17, 2018 at 2:41 pm #3008773

quidoD

sorry i cant find it. Can you please adjust it again?
can you send me a link of the page how i can go directly to that file.

Thanks!

December 24, 2018 at 3:30 pm #3030894

Ahmed Ibrahim
Supporter

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

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

Hi,

Here is the path that I use on FileZilla: /domains/ugx-shop.com/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/page-builders/src/st

I have changed it for you, so please let me know if it works great now.

Best Regards.

January 28, 2019 at 2:49 pm #3136094

quidoD

can you please change it again.

Also i cant see my waiting for approval reactions. I have 13 waiting for approval but i cant see them. Do you maybe have time to check it please?

Thanks for your help!

Gr Q

January 28, 2019 at 3:23 pm #3136267

Ahmed Ibrahim
Supporter

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

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

Hi,

I have changed it for you, and if you have any other issues please open a new ticket for it.

Best Regards.

March 25, 2019 at 8:13 am #3450325

quidoD

Same problem as previous. Can you please fix it again. Thanks!

March 25, 2019 at 12:25 pm #3453469

Ahmed Ibrahim
Supporter

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

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

I have fixed it, can you please check?

April 29, 2019 at 7:58 pm #3706413

quidoD

hi,

Same problem again as from the start 🙂
Please fix it. Thanks again!

When will this be fixed so we dont have to email this again ?