Error on my Control Panel

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

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
verdura
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Jan 06, 2010 3:25 pm

Error on my Control Panel

Post by verdura » Mon Dec 02, 2019 3:38 pm

Hi all,

Today, out of the blue, I'm getting this error when clicking the Control Panel:

An error has occurred.
0 Call to a member function format() on null
Return to Control Panel

I need please help!

Thanks in advance!

waarnemer
Joomla! Hero
Joomla! Hero
Posts: 2954
Joined: Sun May 04, 2008 12:37 pm

Re: Error on my Control Panel

Post by waarnemer » Mon Dec 02, 2019 4:16 pm

There never is "an out of the blue".

You may have fallen victim to your hosting provider performing server upgrade from old PHP5 to 7... and some plugin from the past can't handle the new PHP7

if you can, check your webserver error log.

verdura
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Jan 06, 2010 3:25 pm

Re: Error on my Control Panel

Post by verdura » Mon Dec 02, 2019 4:23 pm

Thanks waarnemer,

I consider that and already change the PHP version from 7.0 (current) to 5.6 but the error stayed the same...

waarnemer
Joomla! Hero
Joomla! Hero
Posts: 2954
Joined: Sun May 04, 2008 12:37 pm

Re: Error on my Control Panel

Post by waarnemer » Mon Dec 02, 2019 4:44 pm

You are aware PHP7.0 also has reached EOL? (https://www.php.net/supported-versions.php)

anyway... what does the error log show? There usually is a message that may hint to your problem.
also, check on top of this thread for the FPA tool... very useful...

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9711
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Error on my Control Panel

Post by AMurray » Mon Dec 02, 2019 9:51 pm

Yes, "PHP 7.0" is definitely not current. 7.4 was released last week.
Regards - A Murray
General Support Moderator

uksamo
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon May 21, 2018 1:48 pm

Re: Error on my Control Panel

Post by uksamo » Thu Dec 05, 2019 5:17 pm

"Out of the blue" we have exactly the same issue occur over the last couple of days. The rest of the admin console appears to work fine but the control panel page generates the "Call to a member function format() on null" error!

I've compared the entire web root with a backup from last month and nothing Joomla related appears to have changed. I did create an override for the profile editor page of one of our templates recently, so it shows those additional files. I have removed them to confirm it wasn't that, and as expected it made no difference.

There's no error in the PHP logs, nothing related in the MySQL logs. We fully manage our server and have not run any upgrades to either the platform or Joomla over the past few weeks, no server reboots etc. The same error occurs for different admin users and across different web browsers etc. I'm at a bit of a loss of where to look next.

Any help or pointers of where to look next would be helpful. Thanks.

verdura
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Jan 06, 2010 3:25 pm

Re: Error on my Control Panel

Post by verdura » Thu Dec 05, 2019 6:02 pm

Hi uksamo,

I've managed to get past the error just by changing the PHP version. We where in 7.0 and change it to 7.2
In reality, it was a member of the hosting provider that did it but he gave us this explanation...

See if it helps. I could ask for more details if that doesn't help!

Regards

uksamo
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon May 21, 2018 1:48 pm

Re: Error on my Control Panel

Post by uksamo » Thu Dec 05, 2019 7:05 pm

Thanks for the update, we're also on 7.0 at the moment. Unfortunately it's a production server so upgrading PHP would require a lot of testing before we could go live. Very strange how it's suddenly occurred for no obvious reason.

verdura
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Jan 06, 2010 3:25 pm

Re: Error on my Control Panel

Post by verdura » Thu Dec 05, 2019 11:01 pm

Can you make a clone of your site to other server and test it with another php version?

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Error on my Control Panel

Post by sozzled » Fri Dec 06, 2019 12:15 am

uksamo wrote:
Thu Dec 05, 2019 5:17 pm
Any help or pointers of where to look next would be helpful. Thanks.
Image


Locked

Return to “Administration Joomla! 3.x”