Re: One-Page Checkout [Support Thread]
Just noticed a strange thing, I was looking on the website checking listings for an order, and got an error 500 on every page. Or refresh. In private session or another browser I could access the site. But not in the affected browser session. Only other thing is I Was logged into admin at the same time. I could only see several logs like this:-
Quote:
PHP Fatal error: Uncaught Error: Call to a member function guestCheckoutEnabled() on int in /includes/classes/observers/class.checkout_one_observer.php:216
I turned off one page checkout for now in case its that, though got a feeling it might be due to ip address logged into admin and somehow its blocking in same session on existing browser. I didn't see anyone else with same issue, I saw a code edit I applied to make this log disappear though. In case that helps.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
HeathenMagic
Just noticed a strange thing, I was looking on the website checking listings for an order, and got an error 500 on every page. Or refresh. In private session or another browser I could access the site. But not in the affected browser session. Only other thing is I Was logged into admin at the same time. I could only see several logs like this:-
I turned off one page checkout for now in case its that, though got a feeling it might be due to ip address logged into admin and somehow its blocking in same session on existing browser. I didn't see anyone else with same issue, I saw a code edit I applied to make this log disappear though. In case that helps.
That method (guestCheckoutEnabled) in the OnePageCheckout.php class-file was introduced in OPC v2.5.0. It sounds like your version of that file and OPC's observer-class file have somehow gotten out-of-sync.
To what code-edit do you refer?
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
That method (guestCheckoutEnabled) in the OnePageCheckout.php class-file was introduced in OPC v2.5.0. It sounds like your version of that file and OPC's observer-class file have somehow gotten out-of-sync.
To what code-edit do you refer?
I found post #2838 and your fix after suggested, I amended that line as you recommended