Skip to content Skip to sidebar

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

Last updated by Bobby 1 year, 11 months ago.

Assisted by: Bobby.

Author Posts
August 1, 2023 at 9:26 am #14131981

stuartM-7

I am trying to: Upgrade WPML String Translation from version 3.2.5 to 3.2.6

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

I expected to see: No error

Instead, I got: Error Details
=============
An error of type E_ERROR was caused in line 134 of the file /nas/content/live/enerconindstag/wp-content/plugins/wpml-string-translation/classes/translation-files/Domains.php. Error message: Uncaught Error: Call to a member function reject() on int in /nas/content/live/enerconindstag/wp-content/plugins/wpml-string-translation/classes/translation-files/Domains.php:134
Stack trace:
#0 /nas/content/live/enerconindstag/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/CustomTextDomains.php(57): WPML\ST\TranslationFile\Domains->getCustomMODomains()
#1 /nas/content/live/enerconindstag/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(154): WPML\ST\MO\Hooks\CustomTextDomains->add_hooks()
#2 /nas/content/live/enerconindstag/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(92): WPML_Action_Filter_Loader->run_factory(Object(WPML\ST\MO\Hooks\Factory))
#3 /nas/content/live/enerconindstag/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(76): WPML_Action_Filter_Loader->load_factory(Object(WPML\ST\MO\Hooks\Factory))
#4

August 1, 2023 at 10:03 pm #14137925

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello,

Please review the following errata:
https://wpml.org/errata/fatal-error-uncaught-error-call-to-a-member-function-reject-on-int/

Let me know your results, please.

August 2, 2023 at 1:03 pm #14142559

stuartM-7

Thanks for the update.

I have tested this on my Staging site and looks to have resoled the issue.

I'll apply this to the production site (out of hours) and come back and close this ticket - all being well.

Thanks again.

August 2, 2023 at 7:22 pm #14144527

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Sounds great, glad I was able to help!