I have gotten this error message and I searched and can’t get an answer that I understand. I am running Backlight 1x, and I’m ready to upgrade to 3 but I want to fix this before I do. When clicking on a link to my galleries I get this error message. I found the line and I’ve pasted it below. What should I change to correct this?
count(): Parameter must be an array or an object that implements Countable in SimpleHTMLTag.php on line 44
This is the text of line 44 the first line being line 44:
if (count($matches == 3)) {
for ($i = 0; ; $i++) {
if (!isset($matches[1][$i]) || !isset($matches[2][$i])) {
break;
}
if ($matches[1][$i] == '#') {
$this->setId($matches[2][$i]);
} else if ($matches[1][$i] == '.') {
$this->addClass($matches[2][$i]);
}
Any help would be appreciated……
-Nigel