Home > Cakephp, Server > Strict Standards: Non-static method Configure::getInstance() should not be called statically in

Strict Standards: Non-static method Configure::getInstance() should not be called statically in

Server problem :
Strict Standards: Redefining already defined constructor for class Object in C:\xampp\htdocs\project\cake\libs\object.php on line 57
Strict Standards: Non-static method Configure::getInstance() should not be called statically in C:\xampp\htdocs\project\cake\bootstrap.php on line 42

 

Solutions :

Please go to the cakephp project directory , then go cake folder and you will see bootstrap.php file

location : yourprojects/cake/bootstrap.php

Find the below statement :
error_reporting(E_ALL & ~E_DEPRECATED);

Replace with below satement :

error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);

 

Problem solved : yes !!!!!

 

Advertisements
Categories: Cakephp, Server Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: