"Trying to get property of non-object"

Bug #682321 reported by XavierAntoviaque
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Card Stories
Fix Released
Critical
Pramendra

Bug Description

After completing the installation, I get the following error messages:

Warning (2): strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead [CORE/cake/libs/cache.php, line 570]
Code | Context

$settings = array(
 "engine" => "File",
 "path" => "/var/www/cardstories.farsides.com/app/tmp/cache/persistent/",
 "prefix" => "cake_core_",
 "lock" => false,
 "serialize" => true,
 "isWindows" => false,
 "duration" => "+10 seconds",
 "probability" => 100
)

strtotime - [internal], line ??
CacheEngine::init() - CORE/cake/libs/cache.php, line 570
FileEngine::init() - CORE/cake/libs/cache/file.php, line 81
Cache::_buildEngine() - CORE/cake/libs/cache.php, line 151
Cache::config() - CORE/cake/libs/cache.php, line 126
Configure::__loadBootstrap() - CORE/cake/libs/configure.php, line 421
Configure::getInstance() - CORE/cake/libs/configure.php, line 52
include - CORE/cake/bootstrap.php, line 38
[main] - APP/webroot/index.php, line 76

( ! ) Notice: Trying to get property of non-object in /var/www/cardstories.farsides.com/cake/libs/cache/file.php on line 248
Call Stack
# Time Memory Function Location
1 0.0002 346344 {main}( ) ../index.php:0
2 0.0004 356972 include( '/var/www/cardstories.farsides.com/cake/bootstrap.php' ) ../index.php:76
3 0.0083 1495548 Configure::getInstance( ) ../bootstrap.php:38
4 0.0083 1495932 Configure->__loadBootstrap( ) ../configure.php:52
5 0.0142 2172304 Cache->config( ) ../configure.php:421
6 0.0142 2173552 Cache->_buildEngine( ) ../cache.php:126
7 0.0142 2174152 FileEngine->init( ) ../cache.php:151
8 0.0143 2174864 CacheEngine->init( ) ../file.php:81
9 0.0143 2175620 strtotime ( ) ../cache.php:570
10 0.0143 2177400 Debugger->handleError( ) ../debugger.php:0
11 0.0188 2186652 CakeLog->write( ) ../debugger.php:311
12 0.0188 2188004 CakeLog->_autoConfig( ) ../cake_log.php:232
13 0.0188 2188160 App->import( ) ../cake_log.php:180
14 0.0188 2188500 App->getInstance( ) ../configure.php:917
15 0.0188 2190392 Cache->read( ) ../configure.php:990
16 0.0189 2191884 FileEngine->read( ) ../cache.php:347
17 0.0189 2191884 FileEngine->_setKey( ) ../file.php:157

( ! ) Fatal error: Call to a member function cd() on a non-object in /var/www/cardstories.farsides.com/cake/libs/cache/file.php on line 248
Call Stack
# Time Memory Function Location
1 0.0002 346344 {main}( ) ../index.php:0
2 0.0004 356972 include( '/var/www/cardstories.farsides.com/cake/bootstrap.php' ) ../index.php:76
3 0.0083 1495548 Configure::getInstance( ) ../bootstrap.php:38
4 0.0083 1495932 Configure->__loadBootstrap( ) ../configure.php:52
5 0.0142 2172304 Cache->config( ) ../configure.php:421
6 0.0142 2173552 Cache->_buildEngine( ) ../cache.php:126

Revision history for this message
XavierAntoviaque (xavier-antoviaque) wrote :
Changed in cardstories:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Pramendra (pramendra)
Changed in cardstories:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.