Upgrade - 3.6 Fatal Error ~ public_html/plugins/system/stats/stats.php on line 87

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
drmilling46
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sun Jul 24, 2016 1:15 pm

Upgrade - 3.6 Fatal Error ~ public_html/plugins/system/stats/stats.php on line 87

Post by drmilling46 » Sun Jul 24, 2016 1:40 pm

I'm get the following error message after updating to ver 3.6 from 2.5
Fatal error: Call to a member function isAdmin() on a non-object in /home/******/public_html/plugins/system/stats/stats.php on line 87
:eek:

Any ideas? I have seen a couple of threads saying the PHP ver may need updating?? Cheers

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20400
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: Upgrade - 3.6 Fatal Error ~ public_html/plugins/system/stats/stats.php on line 87

Post by leolam » Sun Jul 24, 2016 2:16 pm

-- a mistake with the reply as mentioned below by Michael and therefore withdrawn -

Leo 8)
Last edited by leolam on Sun Jul 24, 2016 2:58 pm, edited 1 time in total.
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Webmaster Services: gws-webmaster.services

deleted user

Re: Upgrade - 3.6 Fatal Error ~ public_html/plugins/system/stats/stats.php on line 87

Post by deleted user » Sun Jul 24, 2016 2:48 pm

Leo, that is the core stats collection plugin!

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20400
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: Upgrade - 3.6 Fatal Error ~ public_html/plugins/system/stats/stats.php on line 87

Post by leolam » Sun Jul 24, 2016 2:57 pm

Smack, Whack, ouch.......thought this was a 3rd party plug based on some searches on Google. Mea Culpa and thanks for correcting this! Post corrected. Thanks Michael!

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Webmaster Services: gws-webmaster.services

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20400
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: Upgrade - 3.6 Fatal Error ~ public_html/plugins/system/stats/stats.php on line 87

Post by leolam » Sun Jul 24, 2016 3:16 pm

Is your server compliant with the minimum requirements to run Joomla 3.x? See https://www.joomla.org/about-joomla/tec ... ments.html

If compliant download a full version of Joomla 3.6.0, extract and upload all files and folders in binary mode and overwrite all (except for installation and images folder. Leave those alone and do not upload)


Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Webmaster Services: gws-webmaster.services

dnelson69
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Jul 29, 2016 1:12 am

Re: Upgrade - 3.6 Fatal Error ~ public_html/plugins/system/stats/stats.php on line 87

Post by dnelson69 » Fri Jul 29, 2016 1:18 am

I just tried to upgrade from 2.5.28 and got two errors this being one of them. I have GoDaddy.com as a hosting company and everything checked good for the upgrade. I will restore my backup but I need to get my site upgraded. I have no extra extension and have a template from gavrick.com and it is 3.0 compliant. What could be causing this error? The other error was listed three times before this one, not sure if it is related. It was, Notice: Use of undefined constant DS - assumed 'DS' in /plugins/system/plg_gkestmenu/plg_extmenu.php. I will delete this plugin for the next attempt.

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

Re: Upgrade - 3.6 Fatal Error ~ public_html/plugins/system/stats/stats.php on line 87

Post by sovainfo » Fri Jul 29, 2016 8:24 am

Suggest to see docs.joomla.org on migrating from j2.5 to j3.
The plugin is not ready for j3, replace it with a j3 compatible version.

The stats plugin is introduced in j3.5.0. The line 87 is the first statement executed. Suggest to clear cache.
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!

drmilling46
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sun Jul 24, 2016 1:15 pm

Re: Upgrade - 3.6 Fatal Error ~ public_html/plugins/system/stats/stats.php on line 87

Post by drmilling46 » Sun Jul 31, 2016 2:37 pm

leolam wrote:Is your server compliant with the minimum requirements to run Joomla 3.x? See https://www.joomla.org/about-joomla/tec ... ments.html

If compliant download a full version of Joomla 3.6.0, extract and upload all files and folders in binary mode and overwrite all (except for installation and images folder. Leave those alone and do not upload)


Leo 8)
Many thanks Leo - I checked with HostPapa and the server looks compliant. I Did what you recommended but I now get the following error ~

Notice: Undefined property: LoginController::$input in /home/cherr709/public_html/administrator/components/com_login/controller.php on line 36

Fatal error: Call to a member function set() on a non-object in /home/cherr709/public_html/administrator/components/com_login/controller.php on line 36

Any ideas? Cheers :eek:


Locked

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