- 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.
Persoana care a deschis issue-ul a confirmat că asta a rezolvat problema.
În raportul problemei, 2023-05-10 (cuvintele originale)Cuvintele originale (engleză)
“Apryed's fix did the trick for me!”