Login   Register  
PHP Classes
elePHPant
Icontem

Error in class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Date Class  >  All threads  >  Error in class  >  (Un) Subscribe thread alerts  
Subject:Error in class
Summary:accessing UTC() function
Messages:2
Author:Thomas Salisbury
Date:2010-10-13 15:33:32
Update:2010-10-13 16:28:11
 

  1. Error in class   Reply   Report abuse  
Picture of Thomas Salisbury
Thomas Salisbury
2010-10-13 15:33:33
Fatal error: Call to a member function Add() on a non-object in C:\wamp\www\gamecrafter\includes\class\class.date.php on line 508

Trying to access UTC this is the error returned

  2. Re: Error in class   Reply   Report abuse  
Picture of Thomas Salisbury
Thomas Salisbury
2010-10-13 16:28:11 - In reply to message 1 from Thomas Salisbury
In UTC function changed this line:
$dt = date($this);

to this:

$dt = new DateClass($this->TimeStamp());