We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

CartThrob checkout error - Call to undefined method stdClass::set()

News and General

IC360 (Oliver Cannell)'s avatar
IC360 (Oliver Cannell)
248 posts
4 years ago
IC360 (Oliver Cannell)'s avatar IC360 (Oliver Cannell)

The CartThrob Support team managed to solve this problem I’ve been having. When attempting to process new orders, I was getting the following error, when running CT 6.0.2

Call to undefined method stdClass::set()
cartthrob_entries_model.php:407

It turns out this was happening only when placing orders as a logged-out user.

As I had no value entered in CT Settings for the “Logged Out Member ID (leave blank to default to oldest superadmin)” it was tripping over, and not falling-back to use the described “oldest superadmin” ID. This was working in the CT5 version of my site, but this bug is now being fixed in CT6.

By simply manually adding a Member ID in that Setting, everything now works fine.

? 1
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.