Hey gang, i'm new and just got this extension. (FB Events Pro)
setup went fine and as expected, but when enabled i get the following page error:
0 - count(): Argument #1 ($value) must be of type Countable|array, null given
and then the following is found in the logs:
Got error 'PHP message: PHP Warning: Trying to access array offset on value of type null in ####/###/########.com/httpdocs/modules/mod_jo_facebookevents_pro/tmpl/default.php on line 47'
line 47 in the code is:
<?php
if($params->get('max') != ""){
if(count($fbevents) > $params->get('max')) {
$limit = $params->get('max');
}else{
$limit = count($fbevents);
}
}else{
$limit = count(@$fbevents);
}
.....
Any advice or help appreciated.
Thanks a bunch!
j.
PS - assuming the red exclamation Topic icon is for "I need help!"