Fatal error in administrator after update 3.1.1 to 3.1.4

Need help upgrading your Joomla! website or converting to Joomla! 3.x?

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - 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
User avatar
strumjan
Joomla! Explorer
Joomla! Explorer
Posts: 451
Joined: Sat Oct 20, 2007 11:21 am
Location: Skopje, Macedonia
Contact:

Fatal error in administrator after update 3.1.1 to 3.1.4

Post by strumjan » Sat Jul 27, 2013 7:47 am

After start update via Manager of updates from 3.1.1 to 3.1.4 process goes very fast, maybe 4-5 seconds and then result with:
Fatal error: Call to a member function get() on a non-object in /public_html/administrator/components/com_joomlaupdate/controller.php on line 36
After that I try to make manual update via FTP, but that don't help.

Frontend work fine!

Also Akeeba backup work fine :)
But why update error?

Edit: Frontend work fine only home page and article pages, after click on something related to component (weblinks, contact...) give same fatal error but in other controller related to that menu.
Last edited by strumjan on Fri Aug 02, 2013 11:17 am, edited 1 time in total.
Joomla.mk
Macedonian translation team

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by mcsmom » Sun Jul 28, 2013 12:38 am

What version is now showing in your adminsitrator (lower right corner)?
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

User avatar
strumjan
Joomla! Explorer
Joomla! Explorer
Posts: 451
Joined: Sat Oct 20, 2007 11:21 am
Location: Skopje, Macedonia
Contact:

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by strumjan » Mon Jul 29, 2013 8:20 am

When I log in admin I have error, but in very little moment I can see 3.1.4 in lower right corner.
Joomla.mk
Macedonian translation team

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by mcsmom » Mon Jul 29, 2013 3:27 pm

Did you apply the hotfix?
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

User avatar
strumjan
Joomla! Explorer
Joomla! Explorer
Posts: 451
Joined: Sat Oct 20, 2007 11:21 am
Location: Skopje, Macedonia
Contact:

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by strumjan » Mon Jul 29, 2013 3:40 pm

Hotfix is third-part related, My site is core Joomla and basic Joomla template.
No I don't try hotfix, but I can't even go to Manage Extensions.
Joomla.mk
Macedonian translation team

kbsStraDiggy
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Jul 29, 2013 4:12 pm

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by kbsStraDiggy » Mon Jul 29, 2013 4:16 pm

I'm experiencing the same situation here. Tried to update it via Update manager on Friday, only to experience the same error Fatal Error: Call to a member function set() on a non-object in administrator\component\com_login\controller.php on line 38[/].

Any ideas as to a cause for this?

alireza_89
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Sun Jul 28, 2013 8:53 am

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by alireza_89 » Mon Jul 29, 2013 5:28 pm

i have same problem when i update my joomla website but after it my advance search return
below error
Fatal error: Out of memory (allocated 110100480) (tried to allocate 76 bytes) in /public_html/libraries/joomla/database/driver/mysql.php on line 427


i think it becase somthing about mysql query

Any Help?

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by mcsmom » Tue Jul 30, 2013 12:52 am

Were your sites migrated from 1.5?
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

User avatar
strumjan
Joomla! Explorer
Joomla! Explorer
Posts: 451
Joined: Sat Oct 20, 2007 11:21 am
Location: Skopje, Macedonia
Contact:

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by strumjan » Tue Jul 30, 2013 6:33 am

@mcsmom Yes, it migrated to 2.5 when 2.5 is released, then updated regular to any new version, until 3.0, then migrated to 3.0 and again using regular update.
P.S. I forgot provide you url, but my site is in my signature, so I think everyone know that :)
Joomla.mk
Macedonian translation team

alireza_89
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Sun Jul 28, 2013 8:53 am

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by alireza_89 » Tue Jul 30, 2013 10:33 am

mcsmom wrote:Were your sites migrated from 1.5?
i migrated from 3.1.1 to 3.1.4 and use regular update (from back-end)

some component control panel give such error

MikeUnderwood
Joomla! Apprentice
Joomla! Apprentice
Posts: 44
Joined: Mon Jul 09, 2012 7:08 pm

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by MikeUnderwood » Thu Aug 01, 2013 12:00 am

I am having the same issue as well. This was an update from 3.1.1 to 3.1.4 The update failed then I received the same error Fatal Error: Call to a member function set() on a non-object in administrator\component\com_login\controller.php on line 38.

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by mcsmom » Thu Aug 01, 2013 1:56 am

I'm not sure what that is about. Can you give me your environment information?
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

User avatar
stonepiano
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Thu Dec 11, 2008 6:42 pm
Location: Chicago, IL
Contact:

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by stonepiano » Thu Aug 01, 2013 6:35 pm

Wow, having the same issue. from 3.1.1 to 3.1.4 and the site was originally built as a 1.5 site (converted to a 1.6 then 2.5 and now 3.1).

The index works but logging in throws the controller.php error. Accessing the administrator/index.php also works but navigating to any back-end component throws a different controller.php error.

would love to hear some insight on this one.

User avatar
stonepiano
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Thu Dec 11, 2008 6:42 pm
Location: Chicago, IL
Contact:

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by stonepiano » Thu Aug 01, 2013 8:01 pm

Ok,

Just resolved my situation. Here's how.

Restored to a backup from before upgrading to 3.1.4.

I checked for database issues under Extension Manager -> Database Check.

I had the same issues as this user: http://forum.joomla.org/viewtopic.php?t ... &p=3045218

When I applied the fix described in that post (delete the 1.7* sql files), I was able to then install the update patch from 3.1.1 to 3.1.5. No controller.php issues.

This also fixed my " Error - Error building Admin Menu Item " that this site had been experiencing as well.

MikeUnderwood
Joomla! Apprentice
Joomla! Apprentice
Posts: 44
Joined: Mon Jul 09, 2012 7:08 pm

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by MikeUnderwood » Fri Aug 02, 2013 1:08 am

Following stonepiano advice above that corrected the issue.

User avatar
strumjan
Joomla! Explorer
Joomla! Explorer
Posts: 451
Joined: Sat Oct 20, 2007 11:21 am
Location: Skopje, Macedonia
Contact:

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by strumjan » Fri Aug 02, 2013 11:15 am

Also, @stonepiano steps, resolve problem for me.
Joomla.mk
Macedonian translation team

EveryWhere
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue May 03, 2011 6:04 am

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by EveryWhere » Mon Aug 05, 2013 11:42 pm

Any way to fix it without restore an old dump? Thank you.

m3graphic
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Apr 15, 2013 1:16 pm

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by m3graphic » Sat Oct 12, 2013 10:26 am

I have similar problem after moved ready website to the right address.
The website is created in the newest Joomla 3.x and I receive error:
Fatal error: Call to a member function get() on a non-object in /home/dxdpfxa/public_html/administrator/components/com_joomfaq/controller.php on line 38
Any ideas for that?

manuelc
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Aug 13, 2012 2:45 am

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by manuelc » Sat Oct 19, 2013 4:37 am

Try

rename :

/public_html/libraries/cms/controller

to

/public_html/libraries/cms/controller_

dave600
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Tue Mar 08, 2011 6:02 pm

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by dave600 » Mon Nov 04, 2013 12:08 am

rename :

/public_html/libraries/cms/controller

to

/public_html/libraries/cms/controller_
Worked for me. thanks

User avatar
RustyJoomla
Joomla! Explorer
Joomla! Explorer
Posts: 404
Joined: Wed Aug 01, 2007 12:08 am
Location: UK
Contact:

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by RustyJoomla » Thu Sep 04, 2014 1:13 pm

manuelc wrote:Try

rename :

/public_html/libraries/cms/controller

to

/public_html/libraries/cms/controller_
This worked for me also, thank you!
Follow me on Twitter - http://twitter.com/RustyJoomla
Company Joomla Website - https://storm.agency

sophia wright
I've been banned!
Posts: 28
Joined: Wed Aug 20, 2014 8:51 pm

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by sophia wright » Thu Sep 04, 2014 2:22 pm

Hi,
i have the same issue. from 3.1.1 to 3.1.4 and the site was originally built as a 1.5 site.

hobra
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Sat Sep 04, 2010 5:37 pm

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by hobra » Thu Dec 11, 2014 12:58 pm

I just wanted to confirm the issue although my "path to the problem" is slightly different.

Had a client website based on 2.5.22 which I copied to a local WAMP environment. There I updated to Joomla 3.3.6 and made various changes. Everything working just fine on my local machine!

Then I pushed the site online. Had to upgrade the hoster's PHP version to PHP 5.5 as they had 5.2 running before. Then the frontend worked just fine.

When going to the backend I had the same fatal error:
Fatal error: Call to a member function set() on a non-object in /homepages/[ - snip ]/htdocs/administrator/components/com_login/controller.php on line 38
Thank god I found this topic.

When I renamed the folder

Code: Select all

/libraries/cms/controller
to

Code: Select all

/libraries/cms/controller_ 
everything worked again.

Note: it does not matter what the new name is as long as you rename it:

Code: Select all

/libraries/cms/controller_rename_fix
is also just fine.

Hope that helps someone else, too.

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by sovainfo » Thu Dec 11, 2014 1:41 pm

Suggest to verify the update instead. That file /libraries/cms/controller shouldn't exist, it should have been removed since J3.0. Try cli/deletefiles.php, maybe there are more files that shouldn't be there! And check logs/joomla_update.php!
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

hobra
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Sat Sep 04, 2010 5:37 pm

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by hobra » Fri Dec 12, 2014 7:59 am

@sovainfo
Many thanks for the tip, I had no idea that there is this CLI script to delete the unnecessary files. Apparently the update did not run through.

I checked the logs/joomla_update.php file and all is looking good. There are only INFO level entries and no errors. The last entry is:

Code: Select all

2014-12-06T13:35:30+00:00	INFO 127.0.0.1	update	Update to version 3.3.6 is complete.
To be sure I want to run the CLI script. However I have already pushed the site back online yesterday and made further changes. I have no shell access and thus have no idea how to run a PHP script on its own.
Is there a way to execute the CLI scripts from the backend?

Thank you again for your help.

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by sovainfo » Fri Dec 12, 2014 8:03 am

No, it must be run from the command line. Suggest to manually check the removals since J3, both files and folders.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

hobra
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Sat Sep 04, 2010 5:37 pm

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by hobra » Fri Dec 12, 2014 8:49 am

Ok, thanks a lot. I finally figured it out!

I have transferred it back to my local host, and ran the CLI script deletefiles.php - and it apparently did not have any effects whatsoever (no CLI output, no files where deleted / changed in my Dropbox).

But I finally realized what I did wrong: when I deployed the site from my local host to the online site I pushed everything on top of the current 2.5 version of the site - and thus I of course ended up with many files that should have been gone (which were locally deleted during the update). :-[

So the end of the story is that I have to say goodbye to my good old overwrite-approach to updating which I have used since the early Joomla days...

I assume that many others have done that error when I see all the forum posts of similar kind.

User avatar
TomT
Joomla! Ace
Joomla! Ace
Posts: 1311
Joined: Thu Aug 18, 2005 5:50 am
Location: Amsterdam
Contact:

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by TomT » Sat Dec 13, 2014 1:55 pm

manuelc wrote:Try

rename :

/public_html/libraries/cms/controller

to

/public_html/libraries/cms/controller_
And worked for me :).

Thanks, Tom

User avatar
regexaurus
Joomla! Apprentice
Joomla! Apprentice
Posts: 30
Joined: Fri Jul 13, 2012 10:00 pm

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by regexaurus » Sun Feb 01, 2015 3:50 am

hobra wrote:...I have no shell access...
I would highly recommend that you find a new host! Shell access should be a non-negotiable hosting requirement for any Joomla admin.

User avatar
spikespiegel
Joomla! Explorer
Joomla! Explorer
Posts: 290
Joined: Sat Jan 22, 2011 4:34 am

Re: Fatal error in administrator after update 3.1.1 to 3.1.4

Post by spikespiegel » Mon Aug 31, 2015 8:46 pm

Renaming the controller folder worked for me, but after logging in I got this error: Fatal error: Call to a member function checkSession() on a non-object in /home/xxxxxxxx/public_html/plugins/user/joomla/joomla.php on line 216

Then refreshed the page and the error was gonne, but now I don't have the left side bar.
What I'm seeing here is that due to the errors that appeared because of the extensions compatibility, the site couldn't upload all the upgrade's files. So I'm going to reupload the upgrade now and run a database check from inside the administration.

After that, I'll check if a new controller folder was created, so I can delete the older one.


Locked

Return to “Migrating and Upgrading to Joomla! 3.x”