checkRequirements does not validate $warning/$error are arrays

  • Thread starter Thread starter Xon
  • Start date Start date

Xon

Guest
Member
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:

Code:
In AddOnActionTrait.php line 73:

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

Continue reading...

Continue reading...
 
Top