You didn't saw what version of Geeklog you are using...
I believe this error relates to PHP 7.2 and has been fixed in the upcoming version of Geeklog.
Text Formatted Code
$TIDS = @array_values($A['topics']); // array of strings
$AIDS = @array_values($A['selauthors']); // array of integers
$BOXES = @array_values($A['blocks']); // array of integers
$ETIDS = @array_values($A['etids']); // array of strings
$AETIDS = USER_getAllowedTopics(); // array of strings (fetched, needed to "clean" $TIDS and $ETIDS)
Text Formatted Code
$TIDS = array();
if (isset($A['topics']) && is_array($A['topics'])) {
$TIDS = array_values($A['topics']); // array of strings
}
$AIDS = array();
if (isset($A['selauthors']) && is_array($A['selauthors'])) {
$AIDS = array_values($A['selauthors']); // array of integers
}
$BOXES = array();
if (isset($A['blocks']) && is_array($A['blocks'])) {
$BOXES = array_values($A['blocks']); // array of integers
}
$ETIDS = array();
if (isset($A['etids']) && is_array($A['etids'])) {
$ETIDS = array_values($A['etids']); // array of strings
}
$AETIDS = USER_getAllowedTopics(); // array of strings (fetched, needed to "clean" $TIDS and $ETIDS)
Let us know if it fixes your problem.