Exception encountered, of type "TypeError"
[d11804b3af02627fdfde92f9] /api.php?action=query&garfrom=B&generator=allredirects TypeError from line 267 of /var/www/wiki/includes/api/ApiQueryBase.php: count(): Argument #1 ($value) must be of type Countable|array, string given
Backtrace:
#0 /var/www/wiki/includes/api/ApiQueryAllLinks.php(129): ApiQueryBase->addWhereFld()
#1 /var/www/wiki/includes/api/ApiQueryAllLinks.php(93): ApiQueryAllLinks->run()
#2 /var/www/wiki/includes/api/ApiPageSet.php(175): ApiQueryAllLinks->executeGenerator()
#3 /var/www/wiki/includes/api/ApiPageSet.php(139): ApiPageSet->executeInternal()
#4 /var/www/wiki/includes/api/ApiQuery.php(236): ApiPageSet->execute()
#5 /var/www/wiki/includes/api/ApiMain.php(1372): ApiQuery->execute()
#6 /var/www/wiki/includes/api/ApiMain.php(473): ApiMain->executeAction()
#7 /var/www/wiki/includes/api/ApiMain.php(439): ApiMain->executeActionWithErrorHandling()
#8 /var/www/wiki/api.php(83): ApiMain->execute()
#9 {main}