Community AlphaAlpha MUADMINS
ESEspañol
Iniciar sesión
En MuADMINSConfig ScannerSube el zip de tus archivos: rates, drops, spots, límitesAbrirEn MuADMINSEncuéntranos en DiscordPide ayuda, comparte lo que estás creando y habla de MU con otros dueños de servidores.Abrir
← Todas las soluciones

WebEngine CMS 1.2.4 shows 'Fatal error: Uncaught TypeError: count(): Argument #1 must be of type Countable|array, string given' in includes/functions.php as soon as the site opens on PHP 8.

✓ Confirmado en el issue
  1. Open includes/functions.php.
  2. Replace every count( call with count((array) so a string or empty value is cast to an array.
  3. Better long term: update to WebEngine 1.2.5 or newer, where the author fixed this for new PHP versions.

La persona que abrió el issue confirmó que esto lo solucionó.

Palabras originales (Inglés)

“Apryed's fix did the trick for me!”

En el issue, 2023-05-10 (texto original)
¿Te sirvió?

¿Sigues atascado? Buscar en MuGPS Pregúntale al Asistente MU

MuADMINS Community Alpha: gratis, hecho por la comunidad y en desarrollo activo.