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 2 replies, has 1 voice.

Last updated by George Botsev 2 months ago.

Author Posts
April 5, 2025 at 3:03 pm #16900032

paoloB-21

Background of the issue:
[This was written in english originally] Estoy ejecutando la versión 4.7.3 y tengo un error fatal en mis registros relacionado con WPML. Esto solo se muestra al visitar mi página de inicio como usuario registrado. Veo que rawurlencode está relacionado con algo que fue 'arreglado' en la versión 4.7.1, ¿pueden verificar? [Sat Apr 05 14:50:19.456748 2025] [proxy_fcgi:error] [pid 2874715:tid 139816989603584] [client 93.41.3.122:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: rawurlencode(): Argument #1 ($string) must be of type string, array given in /home/admin/web/argenteriadabbene.com/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/cookie/class-wpml-cookie.php:16nStack trace:n#0 /home/admin/web/argenteriadabbene.com/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/cookie/class-wpml-cookie.php(16): rawurlencode()n#1 /home/admin/web/argenteriadabbene.com/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/language/Detection/CookieLanguage.php(67): WPML_Cookie->set_cookie()n#2 /home/admin/web/argenteriadabbene.com/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/request-handling/wpml-request.class.php(181): WPMLLanguageDetectionCookieLanguage->set()n#3 /home/admin/web/argenteriadabbene.com/public_html/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(1175): WPML_Request->set_language_cookie()n#4 /home/admin/web/argenteriadabbene.com/public_ht...', referer: hidden link. Enlace a una página donde se puede ver el problema: hidden link

Symptoms:
La página de inicio está rota cuando estoy registrado como usuario. Error fatal de PHP: Uncaught TypeError: rawurlencode(): Argument #1 ($string) must be of type string, array given.

Questions:
¿Pueden verificar si el problema con rawurlencode fue realmente solucionado en la versión 4.7.1?
¿Por qué la página de inicio solo se rompe cuando estoy registrado como usuario?

April 5, 2025 at 3:21 pm #16900054

paoloB-21

no idea why my ticket was translated to spanish.. i wrote it in plain english 😀

April 7, 2025 at 12:17 pm #16904192

George Botsev
WPML Supporter since 02/2014

Languages: English (English )

Timezone: Europe/Sofia (GMT+03:00)

Hello!
Sorry for the issues with the forum ticket. I will have our team to go over the ticket to see whats going on there.

About the issue that produces a fatal error that you have.
Would it be possible if you can provide the full error stack trace in a pastebin for example? As currently it is barely readable and not complete.

In addition, would it be possible to let us know if this happens on every page? Or if there are specific pages that can trigger this issue to happen? This could potentially help us identify a plugin that could be misbehaving.

The topic ‘[Closed] Fatal Error – rawurlencode – My homepage is broken when logged as admin’ is closed to new replies.