Every time i add an event (i think this not only relates to events) i get 4 times of the same warning in my logs. Is it safe to ignore this one?
array_diff(): Argument #1 is not an array in /var/www/htdocs/inc/classes/BxDolFormMedia.php on line 300, referer: http://www.mydolphinsite111.com/m/events/browse/my&bx_events_filter=add_event
if i understand the code right this part wants to process media files that are marked to be deleted. Can i change the line of code so it checks the variable before trying to make a diff? I guess array argument #1 ($aFiles2Delete) is just empty. Let me be clear, the code works i just want to get rid of these warnings is see all the time.
Line
299 > // process all deleted media - delete actual file
300 > $aDeletedMedia = array_diff ($aFiles2Delete, $aMediaIds);
Thanks in advance