ErrorException: "foreach() argument must be of type array|object, null given" (EXCEPTION) in "C:/Users/xqwtxon/Documents/ReinfyDevelopment/DevelopmentServer/plugins/ProfanityFilter/src/Tasks/UpdateTask" at line 49
--- Stack trace ---
#0 C:/Users/xqwtxon/Documents/ReinfyDevelopment/DevelopmentServer/plugins/ProfanityFilter/src/Tasks/UpdateTask(49): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[59] foreach() argument must be of type array|object, null given, string[111] C:\Users\xqwtxon\Documents\ReinfyDevelopment\DevelopmentServer\plugins\Profanity, int 49)
#1 pmsrc/src/scheduler/AsyncTask(90): ReinfyTeam\ProfanityFilter\Tasks\UpdateTask->onRun()
#2 (): pocketmine\scheduler\AsyncTask->run()
--- End of exception information ---
Describe the bug foreach() argument must be of type array|object, null given
Reproduce Steps to reproduce the behavior:
Expected behavior This should load fine correctly.
Screenshots![image](https://user-images.githubusercontent.com/100104970/221110150-5a56ca2b-3058-4267-b873-1ec905057347.png)
Device Information:
Additional Information