Solved checkRequirements does not validate $warning/$error are arrays

This topic has been solved
X

Xon

Guest
AbstractSetup::checkRequirements has the signature public function checkRequirements(&$errors = [], &$warnings = [])

However, nothing actually checks that $errors and $warnings remain arrays which can result in the not very useful error message;

Code:

Code:
In AddOnActionTrait.php line 73:

  [ErrorException]
  [E_WARNING] foreach() argument must be of type array|object, string given

Continue reading...