Support

Admin Tools

#12033 oneclickaction.php fatal error line 180

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 nicholas on Wednesday, 18 April 2012 07:39 CDT

user6633
Mandatory information about my setup:

Joomla! version: 2.5.4
PHP version: 5.3.10
MySQL version: 5.x
Host: Private dedicated server
Admin Tools version: 2.2.4

Description of my issue:

I have a site with Admin Tools running on it, occasionally it produces the following error on pageload, not sure what specific actions trigger it :

Fatal error: Using $this when not in object context in /path/to/public_html/plugins/system/oneclickaction/oneclickaction.php on line 180


The closest result I can seem to find searching is the Akeeba support post :

https://www.akeebabackup.com/support/akeeba-backup-3x/11906-using-this-when-not-in-object-context-in-oneclickactionphp.html

Would those alterations be valid for AT as well?

I run the same setup on other sites but to my knowlege its only this one producing this error. Ive just seen theres a 2.2.5 so I'll be upgrading to that shortly.

nicholas
Akeeba Staff
Manager
Yes, the solution you found is correct and this is exactly what you have to apply. The modifications are also valid for AT 2.2.5. The oneclickaction.php file will be fixed int he next release of Admin Tools Professional.

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!

user6633
Thanks for confirming, ill go make the changes.

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!