MediaWiki | 1.39.4 |
PHP | 8.0.28 (cgi-fcgi) |
MySQL | 8.0.28-0ubuntu0.20.04.3 |
CommentStreams | 8.0-dev (6b3a3ed) |
Monitoring my error logs turned up the following:
2023-07-30 19:22:34 vps##### my_site_: [ZMa4egRUU0EnKv8CqPYMwAAAAAU] /w/api.php PHP Warning: foreach() argument must be of type array|object, bool given #0 /home/my_user/mysite.com/w/extensions/CommentStreams/includes/CommentStreamsStore.php(722): MWExceptionHandler::handleError(integer, string, string, integer) #1 /home/my_user/mysite.com/w/extensions/CommentStreams/includes/EchoInterface.php(165): MediaWiki\Extension\CommentStreams\CommentStreamsStore->getWatchers(integer) #2 /home/my_user/mysite.com/w/extensions/Echo/includes/controller/NotificationController.php(447): MediaWiki\Extension\CommentStreams\EchoInterface::locateUsersWatchingComment(EchoEvent) #3 /home/my_user/mysite.com/w/extensions/Echo/includes/controller/NotificationController.php(478): EchoNotificationController::evaluateUserCallable(EchoEvent, string) #4 /home/my_user/mysite.com/w/extensions/Echo/includes/controller/NotificationController.php(115): EchoNotificationController::getUsersToNotifyForEvent(EchoEvent) #5 /home/my_user/mysite.com/w/extensions/Echo/includes/model/Event.php(190): EchoNotificationController::notify(EchoEvent, boolean) #6 /home/my_user/mysite.com/w/extensions/CommentStreams/includes/EchoInterface.php(144): EchoEvent::create(array) #7 /home/my_user/mysite.com/w/extensions/CommentStreams/includes/ApiCSPostReply.php(119): MediaWiki\Extension\CommentStreams\EchoInterface->sendReplyNotifications(MediaWiki\Extension\CommentStreams\Reply, WikiPage, User, MediaWiki\Extension\CommentStreams\Comment) #8 /home/my_user/mysite.com/w/includes/api/ApiMain.php(1900): MediaWiki\Extension\CommentStreams\ApiCSPostReply->execute() #9 /home/my_user/mysite.com/w/includes/api/ApiMain.php(875): ApiMain->executeAction() #10 /home/my_user/mysite.com/w/includes/api/ApiMain.php(846): ApiMain->executeActionWithErrorHandling() #11 /home/my_user/mysite.com/w/api.php(90): ApiMain->execute() #12 /home/my_user/mysite.com/w/api.php(45): wfApiMain() #13 {main}