- 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.
Osoba, która zgłosiła problem, potwierdziła, że to go naprawiło.
W zgłoszeniu, 2023-05-10 (oryginalne słowa)Oryginalne słowa (angielski)
“Apryed's fix did the trick for me!”