- 🇷🇴Romania claudiu.cristea Arad 🇷🇴
PHP >=8 is not supported by 8.x-1.x branch. You should switch to >=2.1.0
The same error was already reported here → , but I believe that issue was opened for the wrong version. In version 2 this issue seems to be fixed by this change.
TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in in_array() (line 169 of /var/www/html/web/modules/composer/cas/cas.module)
However, the error still exists in 8.x-1.x-dev.
I receive this error during an Ajax call when editing an Address field in the user form with CAS enabled. Also see original report → .
Apply the same fix 'Properly retrieve the submit handlers' already done on 2.x branch. $form_state->getSubmitHandlers()
should always return an array so it's safe to pass to in_array
as haystack.
None
None
None
Closed: won't fix
1.0
CAS
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
PHP >=8 is not supported by 8.x-1.x branch. You should switch to >=2.1.0