PHP Classes

Running on PHP5: Fatal error: Using $this when not in object...

Recommend this page to a friend!

      SMTP Class  >  All threads  >  Running on PHP5: Fatal error: Using...  >  (Un) Subscribe thread alerts  
Subject:Running on PHP5: Fatal error: Using...
Summary:Package rating comment
Messages:2
Author:jho est
Date:2009-07-09 00:09:51
Update:2009-11-24 14:36:33
 

jho est rated this package as follows:

Utility: Not sure
Consistency: Not sure
Examples: Good

  1. Running on PHP5: Fatal error: Using...   Reply   Report abuse  
Picture of jho est jho est - 2009-07-09 00:09:51
Running on PHP5:

Fatal error: Using $this when not in object context in /home/hibooh/public_html/libraries/smtp.class.php on line 76

  2. Re: Running on PHP5: Fatal error: Using...   Reply   Report abuse  
Picture of christos christos - 2009-11-24 14:36:33 - In reply to message 1 from jho est
change the line to:
if(!isset($this)) {