• Hi,

    Firstly, I would like to say that this is an amazing plugin you have offered everyone. I am having a bit of an issue with it though.

    I had the “virtue” theme installed and added the My Tickets plugin setting everything up as shown in the documentation. Everything worked perfectly so I logged out of my wordpress backend and tried purchasing a ticket. No joy! It says “your cart is empty”

    I then changed the theme to the default wordpress theme thinking this might be the problem. I now have the following error being shown and the original problem:

    Warning: Illegal string offset ‘event_begin’ in …/wp-content/plugins/my-tickets/mt-cart.php on line 484

    Warning: Illegal string offset ‘event_time’ in /…/wp-content/plugins/my-tickets/mt-cart.php on line 484

    I appreciate that this is a long post and thank you for taking the time to read it.

    https://www.ads-software.com/plugins/my-tickets/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    Is the post you’re using as an event published? If it’s private or draft, you might have a situation where you can see the post while logged-in, but when you’re logged-out, even though the event is still in your cart, you no longer have access to the event information.

    Thread Starter gioonline

    (@gioonline)

    Hi Joe,

    Thanks for your reply. I have managed to sort it out. It was either another plugin that was causing the problem or the fact I had the ticket child label on the event post page set to zero.

    Thread Starter gioonline

    (@gioonline)

    Hi Joe,

    Just wanted to let you know about a little quirk. When you are on the cart page (my currency is set to British pounds)and you press the + or – keys to adjust the amount the Total amount then reverts to dollars. Nothing major just though I would let you know about it.

    Plugin Author Joe Dolson

    (@joedolson)

    Thanks! I’ve found the bug, and will definitely get that fixed in the next update.

    Hello!

    Thanks for this plugin. It is beautiful and easy to use!

    We seem to have a similar problem to gioonline. The only problem we are experiencing is that our participants can’t see the items they add to their cart when they check out.

    When we are logged in to our WP-Admin, we can see the items in the cart. But when logged out, we get an empty cart.

    We have checked that all posts are published. And updated all other plugins.

    Can you help??

    https://www.finlandimprovfestival.com/shhhhh/

    Thanks!

    Plugin Author Joe Dolson

    (@joedolson)

    You’re a different user of the site when you’re logged out than when you’re logged in; as a logged-in user, your cart is saved in your user account data. As a logged-out user, it’s saved as a cookie. If you create a cart and then log-in, the cart is transitioned into your user data; but it doesn’t go the other way, as well.

    So if there’s a problem with the cart while logged-out, that is probably a cookie issue. I just tried adding an item to the cart, and the cookie doesn’t appear to have been set, although other cookies were. I’m wondering if it’s related to the fact that you’re rendering WordPress at the root but seem to have it installed in a subdirectory; if so, it’s probably a bug, and I’ll investigate it.

    Plugin Author Joe Dolson

    (@joedolson)

    Aw, hell – that’s what I get for speaking on memory. In the *original* version of My Tickets, this data was saved in a cookie; but that’s not true anymore – it’s saved as a transient.

    That suggests that there’s a problem with handling transients in your site; do you know anything you’re doing internally that could cause problems in that way?

    Hi – so I’m having the same problem with cart being empty. When logged out of admin, adding tickets to cart then going to cart and tickets aren’t there. I deleted expiried transiets with a different plug-in. What’s next? Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Not showing cart page when logged out’ is closed to new replies.