Support

Akeeba Backup for Joomla!

#27898 0 - Class 'FOF30\Container\Container' not found

Posted in ‘Akeeba Backup 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
Akeeba Backup version
n/a

Latest post by on Thursday, 06 July 2017 17:17 CDT

Nick_Q
Hi Guys,
Ok, I have a problem on two of my sites which are now showing an error with "0 - Class 'FOF30\Container\Container' not found" - nothing in the error logs. and they return blank sites with no access to admin.

I have looked through the tickets and found # 25871, #25881 and #26444 so have implemented renaming/removing the akeebaback folder from /public_html/plugins/quickicon/ this did not subsequently provide access to the backend (or front of the site) so I have not been able to reload akeeba backup

I also downloaded the newest (3.1.0) of the FOF30 and uploaded the contents into /public_html/libraries/fof30 but still with no progress.

at this stage, I would really appreciate some help?

dlb
Let's disable Admin Tools with the instructions here: https://www.akeebabackup.com/documentation/troubleshooter/atwafissues.html. That should allow you into the back end of your site. Then install Admin Tools twice, back to back, without doing anything in between. Do not uninstall. That will cause you to lose all your settings and logs. The upgrade can go wrong two ways, the Joomla! installer can fail to copy some of the files in the FOF library, you already covered that. And it can fail to copy some of the files in Admin Tools, this should fix that possibility.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

Nick_Q
HI Dale,
Many thanks for the update...

I have now successfully applied this fix to both sites so a big thank you for the clarity...

Interestingly whilst one site was giving the Class 'FOF30\Container\Container' not found" error the other was only presenting a 500 error - don't know if this makes any sense to you?

Suffice to say Thank you for your support... we can now consider this ticket closed.

nicholas
Akeeba Staff
Manager
The two sites are probably using a different version of PHP. The one with the explanatory message uses PHP 7.0 or 7.1 whereas the other one is on PHP 5.x.

I'm not an oracle, I know how PHP and Joomla! work :) In PHP 5.x the missing class is a PHP fatal error which results in a 500 Internal Server Error as it cannot be handled by user code (like Joomla!). You'd only see an error message if Error Reporting was set to All or Development in Joomla's Global Configuration. This makes it hard for developers to troubleshoot stuff, so PHP 7 changed this behavior. Now this kind of an error is a PHP Exception. Exceptions "bubble up" all the way to application's (Joomla) error handler which will then render an error page with the exception message (i.e. the error message which gives us a clue on what's going on) and, if Debug is enabled on the site, an error trace.

So technically we're talking about the same issue, same error message, rendered differently due to different PHP versions. That's yet another reason to use PHP 7: troubleshooting is infinitely easier. You can almost always see an error message with a useful clue without having to modify configuration.php, php.ini / .user.ini and/or hunt down the server and the PHP error logs.

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!