Application Instantiation Error

Discussion regarding Joomla! 3.x security issues.

Moderators: mandville, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant / FPA - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
Mareia+
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Apr 09, 2018 8:10 am

Application Instantiation Error

Post by Mareia+ » Mon Apr 09, 2018 8:20 am

Our page has been hacked, but after removing/restoring files and manually updating Joomla I get this error-report:

(Jeg er ny her, så ved ikke om jeg skal skrive på dansk eller engelsk)

Call stack
# Function Location
1 () JROOT/libraries/src/Factory.php:137
2 Joomla\CMS\Factory::getApplication() JROOT/libraries/src/Router/Route.php:50
3 Joomla\CMS\Router\Route::_() JROOT/components/com_content/views/article/view.html.php:71
4 ContentViewArticle->display() JROOT/libraries/legacy/controller/legacy.php:671
5 JControllerLegacy->display() JROOT/components/com_content/controller.php:113
6 ContentController->display() JROOT/libraries/legacy/controller/legacy.php:709
7 JControllerLegacy->execute() JROOT/components/com_content/content.php:39
8 require_once() JROOT/libraries/cms/component/helper.php:389
9 JComponentHelper::executeComponent() JROOT/libraries/cms/component/helper.php:364
10 JComponentHelper::renderComponent() JROOT/libraries/cms/application/site.php:191
11 JApplicationSite->dispatch() JROOT/libraries/cms/application/site.php:230
12 JApplicationSite->doExecute() JROOT/libraries/cms/application/cms.php:265
13 JApplicationCms->execute() JROOT/index.php:55

Any suggestions? Please?
Last edited by toivo on Mon Apr 09, 2018 8:38 am, edited 1 time in total.
Reason: mod note: moved to 3.x Security

Mareia+
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Apr 09, 2018 8:10 am

Re: Application Instantiation Error

Post by Mareia+ » Mon Apr 09, 2018 9:47 am

I have manually installed a previous version (3.4), but now it says:

Fatal error: Call to undefined method JApplicationAdministrator::isClient() in /customers/f/b/a/duusgaard.dk/httpd.www/plugins/system/stats/stats.php on line 82

User avatar
kitepascal
Joomla! Intern
Joomla! Intern
Posts: 58
Joined: Thu Aug 27, 2009 2:58 pm
Contact:

Re: Application Instantiation Error

Post by kitepascal » Mon Apr 09, 2018 12:24 pm

Hi Mareia,

from when did you restore the backup?
It may be, that the hack happened many months ago.

It's not a good idea to update from 3.4 to 3.8 by just replacing the files. The 'automatic' way via the update coponent is a lot easier (3.4.8 -> 3.6.5 > 3.8.6).


If you have a 3.4/3.8 mix now a few hints for doing it manually:
Try to rename the /libraries folder and upload it in original state of the target version (3.8.6).
If the backend is running again hit the 'repair database' button to get your database updated and to remove some files from previous versions (causing problems).

In case of other errors you could try the direkt link for that action:
exampla.org/administrator/index.php?option=com_installer&task=database.fix

After that you still have to install the new core components/plugins via Extensions -> Discover. https://docs.joomla.org/Help38:Extensio ... r_Discover

User avatar
abernyte
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4189
Joined: Fri May 15, 2009 2:01 pm
Location: Écosse - Scozia - Escocia - Škotija -स्कॉटलैंड

Re: Application Instantiation Error

Post by abernyte » Tue Apr 10, 2018 10:20 am

If you have been hacked then the only safe route back is via these instructions: viewtopic.php?f=714&t=946026 follow the link at the end for the full set. Replacing files manually at random risks leaving the hack in place.
"Those who expect to reap the blessings of freedom must, like men, undergo the fatigue of supporting it." Thomas Paine


Locked

Return to “Security in Joomla! 3.x”