Support

Akeeba Backup for Joomla!

#36368 Class 'FOF40\Container\Container' not found

Posted in ‘Akeeba Backup for Joomla!’
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

HDcms

Hello

I wanted to update fof40 which was offered (update)
As a result, the site is down in front-end and backoffice
I searched on internet and renamed /system/backuponupdateASUP
No improvement

I downloaded the lib_fof40-4.1.0 file from your site but I did not see an old fof file
What should I do?

Regards

HDcms

HI

I renamed com_akeebabackupASUP and com_engageASUP in both directories
No improvement

tampe125
Akeeba Staff

Hello,

just to double check: do you have Akeeba Engage installed?

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

HDcms

Hi

Yes your 2 extensions were installed.
From memory it seems that it was a joomla 3 site that was upgraded a few months ago to joomla 4 by putting the pro version of akeeba in place of the community version.
I hope this helps?

tampe125
Akeeba Staff

Ok that makes sense: Engage 2 is built on FOF. The latest version includes FOF 4.1.0. When FOF 4.1.0 detects that it's not used by anything (per the DB information) and it's under Joomla 4 it automatically uninstalls itself. If this happens and Engage is installed you will get an error.

Delete the plugins/system/engage folder, log into the backend and upgrade to Engage 3.0 released this early afternoon our time. Akeeba Engage 3 does not use FOF, it uses Joomla 4's core MVC.

Finally, all our software under Joomla 4 does not use FOF anymore, but only core Joomla features; you can find more details in this announcement https://www.akeeba.com/news/1747-joomla-4-is-around-the-corner.html

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

HDcms

HI

I don't have a plugins/system/engage
I only have an engage folder under \plugin
I have renamed it.see image

No improvement !
Wrong path or another file?

HDcms

see image

nicholas
Akeeba Staff
Manager

Please rename plugins/system/backuponupdate to its normal name. Akeeba Backup 9 DOES NOT use FOF. This plugin is unrelated to your issue. Renaming it and forgetting to change its name back will cause update issues when Joomla 4.1 is released next month.

Regarding FOF, you can follow the manual workaround.

Download its ZIP file.

Extract it on your computer.

Rename the folder fof to fof40

Upload the fof40 folder into your site's libraries folder so now you have a libraries/fof40 folder

Whatever was using FOF 4 will continue working

Download and install Akeeba Engage 3.0.1 WITHOUT uninstalling your existing version.

Install the FOF 4.1.0 ZIP file you have already downloaded. Now that it's no longer needed it will uninstall itself. If it doesn't, uninstall it manually. You should not have any other extension using FOF 4 on your site. The only other extension of ours using FOF 3 on Joomla 4 is Akeeba Ticket System and that's only until we release Akeeba Ticket System 5 next week which uses core Joomla MVC. After that there will be no Joomla 4–only extension of ours using FOF anymore. As we announced in August, FOF will be retired.

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!

HDcms

Hi

Ok rename plugins/system/backuponupdate 

Ok Upload the fof40 folder into your site's libraries folder so now you have a libraries/fof40 folder

I think I have not been patient enough and I will have to lose some update.
Indeed before your message, I installed engage 3.01 but without leaving engage 2.x active
I find myself with a new error on the admin and front-end side

If this tells you anything?

 public_html/plugins/system/webauthn/webauthn.php (line 34)
  1.  * The plugin features are broken down into Traits for the sole purpose of making an otherwise supermassive class
  2.  * somewhat manageable. You can find the Traits inside the Webauthn/PluginTraits folder.
  3.  *
  4.  * @since  4.0.0
  5.  */
  6. class PlgSystemWebauthn extends CMSPlugin
  7. {

HDcms

HI

A/ active site
As I'm not sure if you helped me with the previous complex problem, I finally restored from a backup of the host. Apart from a small cache issue that I fixed momentarily by disabling the cache*, I have a problem with engage. The site works, but I have no comments on the articles.
I didn't see in the updates the change from 2.0x to 3.01 of engage. So I did the update manually by downloading the 3.0.1 package as mentioned.

B/ On the test site;
I can see the updates
engage 2.0 -> 3.01
fof40 4.0.9 -> 4.0.11
I haven't updated fof40, I have to update it? a little apprehensive because it had produced damage on the other site?
When I click on the "leave a comment" button, I don't see the comment form!

Regards

nicholas
Akeeba Staff
Manager

The error message about the WebAuthn plugin does not tell me anything because you did not give me the most important part of it: the actual error message. The file you are referencing is a core plugin in Joomla 4. The line it's referencing is just the start of its code (the class declaration). Without knowing the actual error message I can't make heads or tails of it. If it's something like class not found delete the administrator/cache/autoload_psr4.php file. This is an internal cache of extension class names to filesystem paths maintained by Joomla. If it gets borked you get weird errors about missing classes. Deleting that file will cause Joomla to create it afresh. Creating this information afresh is a bit slow (about half a second) which is why this file gets cached; it saves a lot of page load time.

Regarding the other issues, please try this dev release:  Version 3.0.2-dev20220106120 It should fix both issues.

You can use that dev release on both of your sites.

Regarding FOF, do install version 4.1.1 (it's 4.1.1, not 4.0.11, there was never a 4.0.11 version — we went from 4.0.9 to 4.1.0 to 4.1.1). I have removed the code for automatic uninstallation on Joomla 4 from FOF 4.1.1. There are too many screwed up sites out there. I will re–enable that code in 2023 when FOF will become end of life.

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!

HDcms

Hi

Everything seems to work fine with Engage 3.0.2. There is no minimum/maximum issue of the number of characters (https://github.com/akeeba/engage/issues/102 ) I guess that will be for the next version?

I will upgrade via the joomla update, version fof40 4.1.1 on the test site as proposed after making a backup!

For the joomla error, I dropped, a little complicated and solved by a backup even if perhaps lost a little content.
Thank you for all

 

regards

nicholas
Akeeba Staff
Manager

New features will be implemented in version 3.1.0. The main goal here was to make this extension Joomla 4 native.

I will be focusing on releasing Admin Tools 5 for Joomla 4, finally converting our own site to Joomla 4 and then start working on new stuff, always giving priority to paid software (gotta pay the bills!). Joomla 4.1 will be out in February and I will need to rework all our scheduled tasks to use its new CRON system which I expect will take a lot of research over months.

So... new features for Engage should be expected around summer at the earliest. I can't keep working 60–70 hour weeks. I've been doing that for two years. It's not healthy.

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!

HDcms

Hi
Sincerely I understand perfectly. There is no urgency, just thank you for giving me approximately one quarter.
I understand even more as I often work on a voluntary basis and I also exceed 40 hours per week. I also have to be careful to earn a decent living.
Regards

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!

Summer vacations: Our support will be closed for replies and new tickets from August 6th to August 21st, 2022 due to summer vacations.