Community AlphaAlpha MUADMINS
FILFilipino
Mag-sign in
Sa MuADMINSConfig ScannerI-upload ang zip ng mga file mo: rate, drop, spot, limitBuksanSa MuADMINSMakipagkita sa amin sa DiscordHumingi ng tulong, ibahagi ang ginagawa mo at makipag-usap tungkol sa MU sa ibang may-ari ng server.Buksan
← Lahat ng solusyon
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.

✓ Kinumpirma sa 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.

Kinumpirma ng taong nagbukas ng issue na naayos nito ang problema.

Orihinal na salita (Ingles)

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

Sa issue, 2023-05-10 (orihinal na salita)
Nakatulong ba ito?

Naipit pa rin? Maghanap sa MuGPS Magtanong sa MU Assistant

MuADMINS Community Alpha: libre, gawa ng komunidad, at patuloy na dine-develop.