Hi, I just installed the latest version of Good Search module, J3 v1.2.5_b0006
I then attempted to update to PHP8 on the server, but got this error:
Error: in_array(): Argument #2 ($haystack) must be of type array, null given: in_array(): Argument #2 ($haystack) must be of type array, null given
The module works fine in PHP 7.4+, but when I switched to PHP 8.0 series, got that error.
I got that same error in PHP 8.1.
Do you have suggestion to fix?
More info:
In PHP 8.2, got this error:
Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/prevent/public_html/libraries/vendor/joomla/input/src/Input.php on line 41
Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/prevent/public_html/libraries/vendor/joomla/input/src/Input.php on line 170
Deprecated: Joomla\CMS\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/prevent/public_html/libraries/src/Input/Input.php on line 31
Deprecated: Joomla\CMS\Input\Cookie implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/prevent/public_html/libraries/src/Input/Cookie.php on line 21
Warning: session_start(): Failed to read session data: user (path: /var/cpanel/php/sessions/ea-php74) in /home/prevent/public_html/libraries/joomla/session/handler/native.php on line 260
Error: Failed to start application: Failed to start the session
Sincerely, Vicky