aos_requirements must return an array

Created on 11 May 2023, over 1 year ago

The hook_requirements must already return an array.

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇫🇷France netsliver Chelles

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @netsliver
  • 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin

    Thanks for the report! I will look into this.

  • 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
  • 🇫🇷France netsliver Chelles

    The Drupal API init the $requirements variable with [] and return the $requirements (empty array or not).

    After upgrade to D10 and PHP8.3, i have an error without return.

  • 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin

    Sorry I cannot reproduce running aos on D10 and D11. Is it a site breaking error? Is it a error in the logs? Can you please copy paste the error log in here?

Production build 0.71.5 2024