Community AlphaAlpha MUADMINS
ITItaliano
Accedi
Su MuADMINSConfig ScannerCarica lo zip dei tuoi file: rates, drop, spot, limitiApriSu MuADMINSIncontraci su DiscordChiedi aiuto, condividi quello che stai creando e parla di MU con altri proprietari di server.Apri
← Tutte le soluzioni

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.

✓ Confermato nella 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 che ha aperto la issue ha confermato che questo l'ha risolta.

Parole originali (Inglese)

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

Nella issue, 2023-05-10 (parole originali)
Ti è stato utile?

Non hai ancora risolto? Cerca su MuGPS Chiedi all'Assistente MU

MuADMINS Community Alpha: gratuito, fatto dalla community, in sviluppo attivo.