Exception encountered, of type "TypeError"
[8a5ccaa6] /wiki/api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp%7Cuser%7Ccomment&rvdir=newer&rvstart=2006-05-01T00:00:00Z TypeError from line 267 of /home/setswana/www.setswana.info/wiki/includes/api/ApiQueryBase.php: count(): Argument #1 ($value) must be of type Countable|array, int given
Backtrace:
#0 /home/setswana/www.setswana.info/wiki/includes/api/ApiQueryRevisions.php(237): ApiQueryBase->addWhereFld(string, integer)
#1 /home/setswana/www.setswana.info/wiki/includes/api/ApiQueryRevisionsBase.php(43): ApiQueryRevisions->run()
#2 /home/setswana/www.setswana.info/wiki/includes/api/ApiQuery.php(286): ApiQueryRevisionsBase->execute()
#3 /home/setswana/www.setswana.info/wiki/includes/api/ApiMain.php(1233): ApiQuery->execute()
#4 /home/setswana/www.setswana.info/wiki/includes/api/ApiMain.php(433): ApiMain->executeAction()
#5 /home/setswana/www.setswana.info/wiki/includes/api/ApiMain.php(405): ApiMain->executeActionWithErrorHandling()
#6 /home/setswana/www.setswana.info/wiki/api.php(88): ApiMain->execute()
#7 {main}