Support

Admin Tools

#33247 An error has occurred: Class 'F0FUtilsCacheCleaner' not found

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Sunday, 26 July 2020 17:17 CDT

toad78

I started receiving the 'An error has occurred. Class 'F0FUtilsCacheCleaner' not found in my backend. I followed these instructions to the 'T' and can't install the new Admin Tools Pro (as instructed) because I cannot get passed that message anywhere in my backend (no matter what link I click). So I wound up restoring the files from a backup just to make my site's backend functional.

Recommendation to get rid of the message and fix the automated backup?

Β 

nicholas
Akeeba Staff
Manager

The error message is referencing code we haven't used since 2016. It looks like you have some really old files stuck on your site.

Delete the folder plugins/system/admintools. If this doesn't help also delete the folders administrator/components/com_admintools and components/com_admintools. This should allow you to access your site's backend and you can install the new version of Admin Tools.

Please note that you may get an error but it's not a show stopper and trying to install the update a second time will work. The link explains the chicken and egg situation that causes the error to appear.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

toad78

Hello, Nicholas.

As I've mentioned before, I've already tried installing the Admin Tools Pro AFTER I deleted all of those files but I was constantly barraged by that Error message no matter what action I took clicking in the menu items. So I'm literally STUCK.

nicholas
Akeeba Staff
Manager

Hello Heather,

Please bear in mind that you are not the only client I am responding to. On a good day I am replying to at least 10 different people. Yesterday I was actually responding to over 30 people and I had to deal with some release issues. I honestly didn't recall me replying to your earlier ticket. Sorry about the confusion.

I can give you more information about your issue so you understand the context of my reply and tell you what we can do to further troubleshoot your issue.

The class F0FUtilsCacheCleaner referenced in the error message is part of our FOF 2.x framework which we have not used since June 2016. It's not something that can come from installing an up to date version of Admin Tools – your ticket says you're trying to install the latest version, 5.7.3.

The error message in itself only gives a limited amount of information, namely that an obsolete class we haven't used since 2016 is used. Missing additional information I have to guess where it comes from. It can be either a really old version of one of our extensions installed on your site or a third party extension. FOF is our framework but it's open source. It can and has been used by other developers, unaffiliated with us.

My first guess in the context of replying to a ticket about installing the latest version of Admin Tools is that probably an at least 5 year old version of Admin Tools would be in play. Since you said you have already deleted these folders this is now a remote possibility but not one I can rule out. These old versions of Admin Tools included other system plugins which might have been referencing that class. There's only one way to find out what is really going on.

Edit your site's configuration.php file and find the following two lines (they will probably not be one directly under the other):

public $debug = '0';
public $error_reporting = 'none';

Change them so they read

public $debug = '1';
public $error_reporting = 'development';

This raises the error reporting to the maximum level which will give us more information.

Try to access your site again. Below the error message there will be much more information which tells us exactly where this error comes from. Please print that page as a PDF, put the PDF in a ZIP file and attach it to your next reply. It will give me the information I need to help you better.

Also, in the last ticket I told you that the PHP on your server was doing weird things, like claiming a writable file with the correct permissions was not accessible. Have you addressed this issue? If not, any further steps we take will most definitely be for naught. That's a fundamental problem. At the very least check that the FTP layer in Global Configuration is disabled.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

toad78

Hello, Nicholas.

Thank you for taking the time to expand on your reponse. I COMPLETELY understand your plight and appreciate your patience.Β 

I'm going to review the notes you provided and see if I can try again to fix the problem.Β 

Thank you!

Heather

nicholas
Akeeba Staff
Manager

I am not sure if you can fix the problem yourself but if you do follow the instructions and give me the additional debug information I can provide far more helpful pointers which would let you get to the bottom of this. I really want to help – even if it doesn't look like something from our software.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

toad78

Well after giving it another go of removing the files and re-installing the product, it seems the error message has disappeared, but I did encounter a warning message (attached).

nicholas
Akeeba Staff
Manager

You can safely ignore that message.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!