CacheCleaner: Query Url unable to request url....

Search
Other Bug Reports questions
Forum

CacheCleaner: Query Url unable to request url. Internal Server Error.

Anastasios Dionysiou's Avatar Anastasios Dionysiou
Hi,

I have a URL that I need to be called every time I press clean cache and i've set it up on CacheCleaner plugin options.
When I press "clean cache" I get the error "Cache could not be cleaned" and the following error from the network tab using inspect:

Argument 2 passed to Joomla\Http\Http::get() must be of the type array, null given, called in [edited]/plugins/system/cachecleaner/src/Cache.php on line 475

file: plugins/system/cachecleaner/src/Cache.php
line: 475
$http = JHttpFactory::getHttp()->get($params->query_url_selection, null, max(1, $params->query_url_timeout));

When i change it to an empty array() it works:
$http = JHttpFactory::getHttp()->get($params->query_url_selection, array(), max(1, $params->query_url_timeout));

joomla version: 4.2.8

Dimitris
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Anastasios Dionysiou's Avatar Anastasios Dionysiou
It works. Thank you!
Peter van Westen's Avatar Peter van Westen ADMIN
Ok, great 🙂
The fix will be included in the next release.
Please post a rating at the Joomla! Extensions Directory
You can only post on this forum if you log in