Really need some help! Unable to go to dashboard & site is filled with "Strict Standards: Non-static method Cache..."

Permalink
Hi,

Any help would be greatly appreciated!

My site is currently filled with the error code below.
I am not able to login to access the dashboard.

fivestones-vintage.com

How can I get it back up & running as usual? It is set to re-direct to another address.

Thank you!

Strict Standards: Non-static method Cache::get() should not be called statically in /home/jexonhpl/public_html/updates/concrete5.4.2.1/concrete/models/package.php on line 78

 
SheldonB replied on at Permalink Reply
SheldonB
this is usually caused by your server upgrading php versions

if you can log in the best thing to do is upgrade .. but only after you make a back up

or you can try this

http://www.concrete5.org/community/forums/installation/strict-stand...


but before you try anything make sure you have back ups

typically just turning off strick standards dose the trick
fivestonesvintage replied on at Permalink Reply
Thanks for your response, SheldonB!

Is there any way you might be able to explain how I might do that step-by-step? I have no idea whatsoever as to editing anything on the back end. I am not able to login to my site.

How & where do I go about editing that line of code?

Thanks again, it is much appreciated.
SheldonB replied on at Permalink Reply
SheldonB
so on your server side you have something called PHP (its like an OS for websites *but not really)

C5 runs off of PHP and few other programs to work

StrickStandards is part of PHP (basically its a very strict code guideline and anything written outside of it will project the error basically any CMS has to have this turned off to work correctly)

if you go to your server side you should see a folder called

public_html

you should find a file called

public_html/php.ini

*if you have more then 1 site on a server you might have more then 1 php.ini

example
public_html/yoursite1/php.ini
public_html/yoursite2/php.ini

in the php.ini file you want to find error_reporting and change it to this:

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

--- or

you can edit your index.php

to this

<?php
error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT);
require('concrete/dispatcher.php');

_______________________________________________________________