PHP Fatal error: Using $this when not in object context - Paypal Error
Using Paypal Website Payments Standard.
I have yesterday and today started getting a few of these and wondering if anyone (hopefully the zen-cart experts) might be able to identify what could be causing it.
I am not too worried as orders are still coming in, however yesterday there were 3-4 in the space of 30 mins and today there have been 3 within another short period of time.
Assumably both occassions either the same customer trying a few times or a couple of customers trying a few times.
the error log is throwing this error:
[15-Oct-2013 13:20:15 UTC] PHP Fatal error: Using $this when not in object context in /home/mysite/public_html/includes/modules/payment/paypal/paypal_functions.php on line 935
When inspecting this code it is the last line of some code that is checking whether discounts are causing a problem?
The only discounts I have are a store wide % discount using sale maker - this has been running for months with no issue.
Some accounts have gv credit, and I have some coupons that are active that potentially are being used (or attempted use)
Either way being a fatal error is this something that will be preventing orders? or being some code that is just reporting when there is some error can it be ignored?
Until the customers in question actually contact us with their issue I wont really know exactly what is causing it but hoping for a bit of background as to what could be throwing this error if you don't mind?
Many thanks in advance.
Phil
Phil Rogers
A problem shared is a problem solved.
Bookmarks