Title: Illegal string offset
Last modified: August 30, 2016

---

# Illegal string offset

 *  Resolved [DFranzwa](https://wordpress.org/support/users/dfranzwa/)
 * (@dfranzwa)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/illegal-string-offset-20/)
 * [@joe](https://wordpress.org/support/users/joe/) Dolson,
    Using My-Tickets version
   1.2.8 I’m receiving this error:
 * Warning: Illegal string offset ‘event_begin’ in C:\xampp\htdocs\my-computer\wp-
   content\plugins\my-tickets\mt-cart.php on line 515
    Warning: Illegal string offset‘
   event_time’ in C:\xampp\htdocs\my-computer\wp-content\plugins\my-tickets\mt-cart.
   php on line 515
 * I saw something in here (support) about 5 months ago saying you’d thought you
   had this taken care of, but the person with the question never got back to you.
 * What causes this error? I’m completely open to it being user error, but I’d sure
   like to figure it out so I don’t do it again 😉
 * [https://wordpress.org/plugins/my-tickets/](https://wordpress.org/plugins/my-tickets/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/illegal-string-offset-20/#post-6667076)
 * Well, here’s my best answer for what’s happening.
 * This error happens if there’s an item in a shopping cart which isn’t valid for
   selling tickets. This could happen, for example, if you created an event for 
   testing, added stuff to your cart without purchasing it, then deleted the event
   for testing.
 * Deleting the event doesn’t remove the item from your cart, so the cart still 
   looks at that item, and tries to fetch data for it.
 * It would only happen to anybody who had added the now-removed item to their cart
   but not purchased the tickets to go with it.
 *  Thread Starter [DFranzwa](https://wordpress.org/support/users/dfranzwa/)
 * (@dfranzwa)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/illegal-string-offset-20/#post-6667111)
 * And that’s more than likely what happened.
    Thanks for cluing me in.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Illegal string offset’ is closed to new replies.

 * ![](https://ps.w.org/my-tickets/assets/icon-256x256.png?rev=1097581)
 * [My Tickets - Accessible Event Ticketing](https://wordpress.org/plugins/my-tickets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/my-tickets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/my-tickets/)
 * [Active Topics](https://wordpress.org/support/plugin/my-tickets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/my-tickets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/my-tickets/reviews/)

## Tags

 * [illegal string offset](https://wordpress.org/support/topic-tag/illegal-string-offset/)

 * 2 replies
 * 2 participants
 * Last reply from: [DFranzwa](https://wordpress.org/support/users/dfranzwa/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/illegal-string-offset-20/#post-6667111)
 * Status: resolved