PHP error with Alean 25 theme wordpress 643 php 74

Latest Reply from Fabio Celli at 2024-02-03 18:02:33
Hi, to verify some anomalies on the site, I have activated debug mode in wp-config. Now, I see this error in the header and in the back-end side inside Alean's theme panel:

Warning: count(): Parameter must be an array or an object that implements Countable in /web/htdocs/www.vittoriobianchi.com/home/wp-content/themes/alean/inc/administrator.php on line 141

line 141:

if (is_array($this->PageOptions)&&count($this->PageOptions>0)) {

But the same code there is in line 157:

if (is_array($this->PageOptions)&&count($this->PageOptions>0)) {

Will the same problem come up?

Best regards

Fabio Celli

Leave a reply

Add codeAdd image