PHP Classes

fresh install throws error

Recommend this page to a friend!

      Paypal Invoice API  >  All threads  >  fresh install throws error  >  (Un) Subscribe thread alerts  
Subject:fresh install throws error
Summary:The example file delivered is not working
Date:2012-01-26 10:39:28
Update:2012-02-09 14:05:35

  1. fresh install throws error   Reply   Report abuse  
CB - 2012-01-26 10:39:28
PayPal invoice API PHP class

throws this with the default delivered files (nothing edited):

---------------------------------Send Invoice API-------------------------------------

Fatal error: Using $this when not in object context in /var/www/index.php on line 134

  2. Re: fresh install throws error   Reply   Report abuse  
Mubashir Ali - 2012-02-09 14:05:35 - In reply to message 1 from CB
Please replace $this with $ppInv in index.php file. Hope this will remove the Fatel Error. This was error in example.