Thank you Cindy for finding the solution to my problem!
Dave
Thank you Cindy for finding the solution to my problem!
Dave
I seem to get this error again, going through many pages to check description formatting. I added a couple items to cart, gone through couple hundred items. Then blank page on every refresh. In a different browser, its no problem and I can resume going through page. I thought the previous fix I mentioned not long ago worked. It did at time, I still have that code fix. But it gives the same error again. I have 2.55 Beta version:-
[28-Jul-2025 00:17:09 Europe/London] PHP Fatal error: Uncaught Error: Call to a member function guestCheckoutEnabled() on int in /includes/classes/observers/class.checkout_one_observer.php:216
Stack trace:
#0 /includes/autoload_func.php(64): checkout_one_observer->messageCheck()
#1 /includes/application_top.php(329): require('/home/****/...')
#2 /index.php(25): require('/home/*****/...')
#3 {main}
thrown in /includes/classes/observers/class.checkout_one_observer.php on line 216
I cleared zen_sessions table, and I can resume in current browser. But it must be saving the error in the session for some reason? After click through of couple of hundred pages? Some customers can do that for real I imagine, perhaps more so if an item is saved in basket. I also have Automatic Login module enabled. I did try disabling that, but it didn't help. Whether they can play together for session, I don't know.
I think latest update has the above fixed as it mentions 'continually load classes'? Thanks very much, will give it a go.
I need to force a specific shipping method (shipping by quote) for not only customers in a geo-zone specified in the shipping by quote shipping module but also for customers in a specific customer group regardless of their geo-zone. How can I do this in OPC? A notifier suggestion would be a big help.
Thank you!
Dave
zc2.1.0, opc2.5.4, bootstrap3.7.7
Sorry, I found an article here that provides one way to do what I need.
Dave
I have also seen the "Call to a member function guestCheckoutEnabled() on int" error in ZC 2.1.0/OPC 2.5.4.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.