Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

foreach() argument must be of type array|object, null given #107

Closed
xqwtxon opened this issue Feb 24, 2023 · 1 comment
Closed

foreach() argument must be of type array|object, null given #107

xqwtxon opened this issue Feb 24, 2023 · 1 comment
Labels
Issue: Bug Something isn't working Issue: Debugged Reproduced... Issue: Fixed Fixed

Comments

@xqwtxon
Copy link
Contributor

xqwtxon commented Feb 24, 2023

Describe the bug
foreach() argument must be of type array|object, null given

Reproduce
Steps to reproduce the behavior:

  1. Start your server
  2. Wait to load the plugin.
  3. You will see an error

Expected behavior
This should load fine correctly.

Screenshots
image

Device Information:

  • OS: Windows 11 Pro
  • PocketMine-MP: 4.15.1
  • Version: v0.0.6-BETA (f83889e)

Additional Information

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 ---
@xqwtxon xqwtxon added Issue: Bug Something isn't working Issue: Debugging Reproducing... labels Feb 24, 2023
@xqwtxon
Copy link
Contributor Author

xqwtxon commented Feb 24, 2023

POGGIT IS DOWN 😞

Since the poggit is down, you may experiencing this error. You can kindly safe ignoring this error.

@xqwtxon xqwtxon added Issue: Fixed Fixed Issue: Debugged Reproduced... and removed Issue: Debugging Reproducing... labels Feb 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Bug Something isn't working Issue: Debugged Reproduced... Issue: Fixed Fixed
Projects
None yet
Development

No branches or pull requests

1 participant