Support

Akeeba Backup for WordPress

#22091 Service definition is not a Closure or invokable object.

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

WordPress version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Wednesday, 18 February 2015 06:29 CST

user22354
Hi,

I've just finished to install Akeebabackup for Wordpress and I get this error:
Service definition is not a Closure or invokable object.

I've read a ticket from a user who had the same problem but you said it was probably because of Wordpress Version.

I have Akeebabackup for Wrodpress in another domain in the same server and I don't have this problem. I've already uninstalled the plugin and reinstall but I always get the same error.

The fist time I've installed the plugin, just after activating it I was presented with a Internal error page and after refreshing it I would get Service definition is not a Closure or invokable object.

nicholas
Akeeba Staff
Manager
Please open the file wp-content/plugins/akeebabackupwp/helpers/defines.php with a text editor. Find the line reading:
// define('AKEEBADEBUG', 1);

and remove the two slashes in front so that it reads:
define('AKEEBADEBUG', 1);

Save and close the file and retry loading Akeeba Backup. It will now come with a much more detailed error message. Please copy it and paste it here verbatim. Do not give me a screenshot, I can't use it. Do not skip any lines, I won't be able to use it. I need the complete backtrace included in the error page which will allow me to understand where this is is coming from and let me make an educated guess why it happens.

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!

user22354
Hi,

I think it was a problem with my server, I've installed the site on another server and everything is working fine now.

Thank you for your help.

nicholas
Akeeba Staff
Manager
You're welcome! That was my guess, too. The instructions would only allow me to be sure before telling you that your server configuration is off. For what it's worth, if you have a PHP code cache installed you need to reset it after installing or updating any plugin on your site.

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!

user22354
I do have a cache in place indeed. Thank you very much for letting me know, this will probably solve me many headaches in the future :)

nicholas
Akeeba Staff
Manager
You're welcome!

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!

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!