[RSS Feed/News] checkRequirements does not validate $warning/$error are arrays

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
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

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom