Search
Other Cache Cleaner questions
Forum

autoload_psr4.php issues

Jacob Hodara's Avatar Jacob Hodara
We are not sure if this is related to Cache Cleaner. Want to get your input if this has been reported.

We've recently enabled auto cache cleaner (on article save).

This week a client's site crashed with error on screen (after Article was saved > then auto cache clear)
Class "Joomla\Plugin\Behaviour\Compat\Extension\Compat" not found"

Somehow related to administrator/cache/autoload_psr4.php
Peter van Westen's Avatar Peter van Westen ADMIN
If it keeps causing issues, you could add that file to the ignore list in the Cache Cleaner system plugin settings.
Please post a rating at the Joomla! Extensions Directory
Jacob Hodara's Avatar Jacob Hodara
Will try, thanks.
Jacob Hodara's Avatar Jacob Hodara
Hi Peter, we have excluded "/administrator/cache/autoload_psr4.php" 2 weeks ago from clearing cache.
The issue happened again the other day, after making content updates and clearing cache the site crashed again. We had to manually remove "/administrator/cache/autoload_psr4.php" and allow Joomla to create a new version for the site to come up.

Do you have any additional insights on this?
Jacob Hodara's Avatar Jacob Hodara
We have the before/after file, noticed these differences: app.screencast.com/nyXrxXIPaJuhn
Peter van Westen's Avatar Peter van Westen ADMIN
Sorry, but Cache Cleaner only cleans cache. It deletes files. It has nothing to do with the creation of them.

The issue seems to point at Akeeba. Ask them for further help on this.
Please post a rating at the Joomla! Extensions Directory
Jacob Hodara's Avatar Jacob Hodara
Thanks Peter
Jacob Hodara's Avatar Jacob Hodara
Hi Peter
We still facing the issue of site went down withh autoload file.
After couple of re try we noticed it happen when the site cache is cleared.
Intersting is the file timestamp change and regenrated if the cache is clear via regular labs cache clear. Did multiple test and autoload php file got refeshed each time if i do a cache clear via Cache cleaner button.

If i do clear cache via Normal Joomla > settings > clear cache the file does not get any change.

Is there any way to ignore this behaviour or any fix would be helpfull.

Thank you
Peter van Westen's Avatar Peter van Westen ADMIN
try placing the file in the ignore settings in the Cache Cleaner system plugin.
Please post a rating at the Joomla! Extensions Directory
Jacob Hodara's Avatar Jacob Hodara
We added all these variations but noticed the timestamp on the file still changes.

app.screencast.com/wegblTAYAHTjj
Peter van Westen's Avatar Peter van Westen ADMIN
Sorry, correct.
The namespace map is re-generated as a separate process.
I have added an option to switch that off. Also, I changed the ordering of the processes (now first the namespace map generation, then the emptying of the cache folders).

Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Jacob Hodara's Avatar Jacob Hodara
Thanks Peter will test the new changes and keep you updated.
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription