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.

This topic contains 9 replies, has 2 voices.

Last updated by waleedO 3 years, 4 months ago.

Assisted by: Riffaz.

Author Posts
October 20, 2020 at 1:37 pm #7266297

waleedO

The site is returning the following error when trying to set translation roles:

AH01071: Got error 'PHP message: PHP Warning: array_combine(): Both parameters should have an equal number of elements in /mnt/data/home/415213.cloudwaysapps.com/tewknarzdu/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Integrations/WPML/Rewrites.php on line 97PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to Tribe__Rewrite::remove_percent_placeholders() must be of the type array, bool given, called in /mnt/data/home/415213.cloudwaysapps.com/tewknarzdu/public_html/wp-content/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/closuresSupport.php on line 24 and defined in /mnt/data/home/415213.cloudwaysapps.com/tewknarzdu/public_html/wp-content/plugins/the-events-calendar/common/src/Tribe/Rewrite.php:176nStack trace:n#0 /mnt/data/home/415213.cloudwaysapps.com/tewknarzdu/public_html/wp-content/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/closuresSupport.php(24): Tribe__Rewrite->remove_percent_placeholders()n#1 /mnt/data/home/415213.cloudwaysapps.com/tewknarzdu/public_html/wp-includes/class-wp-hook.php(287): {closure}()n#2 /mnt/data/home/415213.cloudwaysapps.com/tewknarzdu/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters()n#3 /mnt/data/home/415213.cloudwaysapps.com/tewknarzdu/pub...'

October 21, 2020 at 3:27 am #7270811

Riffaz

Hi,

If you disable the plugin 'The Events Calendar' do you see the same issue?
Please check and let us know.

Regards,
Riffaz.

October 21, 2020 at 11:08 am #7273945

waleedO

Hi,
I have deactivated Events manager plugin and all its components and addons related but still the error is there.

October 22, 2020 at 4:59 am #7281567

Riffaz

Hi,

Ok, thank you for the testing.
Please provide a copy of your site as explained here: https://wpml.org/faq/provide-supporters-copy-site/
Also, let us know the username and password to check the site.
The next reply is private.

Regards,

October 24, 2020 at 9:35 am #7299135

waleedO

Hi, could you please check because I see that you did not view my ticket yet?

October 25, 2020 at 12:14 pm #7302943

waleedO

Hi. Are we connected ?

October 26, 2020 at 3:54 am #7304845

Riffaz

Hi,

Sorry for the delay.
I do not work on Fridays and Saturdays.

I see the attached error message when I visit to your translation management.
That means your server is blocking your admin-ajax.php
Show this to your server/hosting support and ask them to check the server log.
They will be able to fix this when they check the server log.

Ps:
The duplicator link asks for permission
So I tested your live site.

Regards,

Translation Management ‹ Quickeyz — WordPress 2020-10-26 09-09-22.jpg
October 31, 2020 at 7:58 am #7348767

waleedO

Hi,
I have spoken to my hosting company and told them to stop the server from blocking my admin-ajax.php and they have done it. I'll be waiting for the issue to be solved.
Thanks.

October 31, 2020 at 12:58 pm #7349627

waleedO

Thanks, I have solved the problem by adding roles to the admin by user role editor 🙂

October 31, 2020 at 12:59 pm #7349629

waleedO

My issue is resolved now. Thank you very much!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.