Community AlphaAlpha MUADMINS
DEDeutsch
Anmelden
Auf MuADMINSConfig ScannerZip deiner Dateien hochladen: Rates, Drops, Spots, LimitsÖffnenAuf MuADMINSTriff uns auf DiscordFrag nach Hilfe, zeig, woran du arbeitest, und sprich mit anderen Serverbetreibern über MU.Öffnen
← Alle Lösungen
Websiteany

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.

✓ Im Issue bestätigt
  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.

Die Person, die das Issue eröffnet hat, hat bestätigt, dass es damit behoben wurde.

Originalwortlaut (Englisch)

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

Im Issue, 2023-05-10 (Originalwortlaut)
Hat das geholfen?

Kommst du immer noch nicht weiter? MuGPS durchsuchen Frag den MU-Assistenten

MuADMINS Community Alpha: kostenlos, von der Community gemacht, in aktiver Entwicklung.