- Open includes/functions.php.
- Replace every count( call with count((array) so a string or empty value is cast to an array.
- Better long term: update to WebEngine 1.2.5 or newer, where the author fixed this for new PHP versions.
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.
La persona que abrió el issue confirmó que esto lo solucionó.
En el issue, 2023-05-10 (texto original)Palabras originales (Inglés)
“Apryed's fix did the trick for me!”