All extensions are free now. Because it was coded by Russians.

Good Search Module: Error w/PHP v8.0

Please Log in or Create an account to join the conversation.

#
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

Please Log in or Create an account to join the conversation.

#
Hello, Vicky.

I will need admin and ftp access for debug it on your site. Please email me the details.

Please Log in or Create an account to join the conversation.

#
I have the same problem, how did you solve it?

in_array(): Argument #2 ($haystack) must be of type array, null given

I am testing the step in php 8 locally and from this error, can you help me to solve thanks.

Istofir

Please Log in or Create an account to join the conversation.

#
Hello, Istofir.

It is not fixed yet. I need admin and ftp access for debug it on your site. Please email me to This email address is being protected from spambots. You need JavaScript enabled to view it.