Navigation überspringen

Dieses Thema ist gelöst. Hier finden Sie eine Beschreibung des Problems und der Lösung.

Problem:
The client is experiencing a TypeError in the WPML Multilingual CMS Plugin, specifically an 'Uncaught TypeError: OTGSInstallerFPpartial(): Argument #1 ($function) must be of type callable, array given' in the file /var/www/clients/client80/web383/web/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/utilities/FP/functions.php. This error occurs when attempting to perform an action.
Solution:
We recommend checking the version of your WPML plugin. If it is not the latest, please remove all WPML plugins, including the OTGS Installer. Then, download and install Version 4.6.15 from https://wpml.org/download/wpml-multilingual-cms/?section=changelog. This should resolve the issue.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket for further assistance.

Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.

Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.

Schlagwörter: 

Dieses Thema enthält 3 Antworten, hat 0 Stimmen.

Zuletzt aktualisiert von Joscha Vor 5 Monaten, 3 Wochen.

Assistiert von: Bruno Kos.

Autor Beiträge
Januar 9, 2025 um 10:51 am #16577097

Joscha

Hintergrund des Themas:
I am trying to use the WPML Multilingual CMS Plugin, but I encountered a new plugin error today in WordPress. The error occurred in the file /var/www/clients/client80/web383/web/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/utilities/FP/functions.php on line 14. The error message is: Uncaught TypeError: OTGSInstallerFPpartial(): Argument #1 ($function) must be of type callable, array given, called in /var/www/clients/client80/web383/web/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/admin-notices/notices/Hooks.php on line 18 and defined in /var/www/clients/client80/web383/web/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/utilities/FP/functions.php:14. I was attempting to perform an action when this issue occurred. Link to a page where the issue can be seen: versteckter Link

Die Symptome:
An error of type E_ERROR was caused in line 14 of the file /var/www/clients/client80/web383/web/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/utilities/FP/functions.php. Error message: Uncaught TypeError: OTGSInstallerFPpartial(): Argument #1 ($function) must be of type callable, array given.

Fragen:
What caused the TypeError in the WPML Multilingual CMS Plugin?
How can I resolve the error related to the callable argument in the plugin?

Januar 9, 2025 um 3:32 pm #16578769

Bruno Kos
WPML-Unterstützer seit 12/2018

Sprachen: Englisch (English ) Deutsch (Deutsch ) Französisch (Français )

Zeitzone: Europe/Zagreb (GMT+02:00)

Hi,

Thank you for contacting WPML support!

Can you tell me which version of WPML do you have?

Also, can you try removing all WPML plugins, including the OTGS Installer and then download Version 4.6.15 from https://wpml.org/download/wpml-multilingual-cms/?section=changelog and install, does it work then?

Regards,
Bruno Kos

Januar 9, 2025 um 4:25 pm #16578935

Joscha

Hi Bruno

I use 4.6.15. When I remove all WPML plugins, do I loose all settings?

Regards,
Joscha

Januar 10, 2025 um 6:25 am #16580304

Bruno Kos
WPML-Unterstützer seit 12/2018

Sprachen: Englisch (English ) Deutsch (Deutsch ) Französisch (Français )

Zeitzone: Europe/Zagreb (GMT+02:00)

No, WPML settings and translations remain regardless.

I am suspecting that some files may be corrupted (also, if you have WPML configured already, you don't need Installer no longer and can't activate it anyway).

Januar 10, 2025 um 7:59 am #16580486

Joscha

I deleted the sitepress-multilingual-cms plugin an re-installed. Error was gone. Thanks for you help!