joomla-extensions/search

Joomla 4.3.4 with PHP 8.1 - PHP deprecated on com_search component

suniz opened this issue · 2 comments

suniz commented

Steps to reproduce the issue

Updating from PHP 8.0.30 to PHP 8.1

Expected result

no deprecations

Actual result

warnings-php-com_search

System information (as much as possible)

PHP 8.1
Joomla 4.3.4

Additional comments

suniz commented

Any update on this issue ?

I have the same problem with Joomla 4.4 and PHP 8.2.11
I get the following error, simply by visiting my page:
Deprecated
: version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in
/home/customer/www/101.millviews.com/public_html/libraries/src/Updater/Updater.php
on line
330

https://www.101.millviews.com/ same on https://www.millviews.com/

When I refresh the page, the error code disappears. I am not capable of fixing the error myself and hope for some help. Once I have refreshed the page or visit it for a second time, there is no more error.

Update: the PHP version is now 8.3