My Error log is showing this
PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/DOMAIN/public_html/templates/shaper_helixultimate/html/mod_jo_facebookevents_pro/default.php on line 32
[15-Sep-2023 02:02:59 Europe/Amsterdam] PHP Warning: Trying to access array offset on value of type null in /home/DOMAIN/public_html/templates/shaper_helixultimate/html/mod_jo_facebookevents_pro/default.php on line 46
[15-Sep-2023 02:02:59 Europe/Amsterdam] PHP Warning: Trying to access array offset on value of type null in /home/DOMAIN/public_html/templates/shaper_helixultimate/html/mod_jo_facebookevents_pro/default.php on line 49
This is line 46 to 49:
if(count((array)$fbevents['data']) > $params->get('max')) {
$limit = $params->get('max');
}else{
$limit = count((array)$fbevents['data']);