- 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.
Kinumpirma ng taong nagbukas ng issue na naayos nito ang problema.
Sa issue, 2023-05-10 (orihinal na salita)Orihinal na salita (Ingles)
“Apryed's fix did the trick for me!”