Title: Getting Illegal Offset Error using embed_event Subcode
Last modified: August 22, 2016

---

# Getting Illegal Offset Error using embed_event Subcode

 *  [tombuttrick](https://wordpress.org/support/users/tombuttrick/)
 * (@tombuttrick)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/getting-illegal-offset-error-using-embed_event-subcode/)
 * I currently am running WP 4.1.1 with Suffusion theme 4.4.7. Also running The 
   Events Calendar and Events Calendar Pro version 3.9.1
 * Attempting to embed individual events on the main page with the posts. Created
   a new post, gave it a title, then placed [event_embed event=”5752″]. It is embedding
   the event, but then I am getting the below error message and no other posts are
   displaying.
 * Error Message I am receiving:
 * Warning: Illegal offset type in isset or empty in /homepages/27/d96471616/htdocs/
   MFS/Prod/wp-includes/post.php on line 1151
 * Any help is determining what is failing would be greatly appreciated.
 * [https://wordpress.org/plugins/event-rocket/](https://wordpress.org/plugins/event-rocket/)

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

 *  Plugin Author [Barry](https://wordpress.org/support/users/barryhughes-1/)
 * (@barryhughes-1)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/getting-illegal-offset-error-using-embed_event-subcode/#post-5885067)
 * Hmm, it’s not something I’ve seen reports of previously and I haven’t hit on 
   it myself/cannot currently replicate.
 * Have you been able to do any troubleshooting – for instance, does this happen
   with a default theme like Twenty Fourteen and/or with no other plugins but The
   Events Calendar and Event Rocket running?
 * It looks like an error that might occur if WordPress is trying to inspect a non-
   existent post type … without a more detailed backtrace through it’s hard to envision
   why or how that would happen in this scenario.
 *  Thread Starter [tombuttrick](https://wordpress.org/support/users/tombuttrick/)
 * (@tombuttrick)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/getting-illegal-offset-error-using-embed_event-subcode/#post-5885097)
 * Barry,
 * Thanks much for the response. Upon further testing, it appears this only happens
   when I “Preview Changes”. Once I start moving around my website, all is well,
   so it is something within WP itself and nothing to do with your plug-in.
 * Sorry for the false alarm.
 *  Plugin Author [Barry](https://wordpress.org/support/users/barryhughes-1/)
 * (@barryhughes-1)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/getting-illegal-offset-error-using-embed_event-subcode/#post-5885099)
 * No problem at all 🙂

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

The topic ‘Getting Illegal Offset Error using embed_event Subcode’ is closed to 
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/event-rocket_dacd8c.svg)
 * [Event Rocket](https://wordpress.org/plugins/event-rocket/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/event-rocket/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/event-rocket/)
 * [Active Topics](https://wordpress.org/support/plugin/event-rocket/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/event-rocket/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/event-rocket/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Barry](https://wordpress.org/support/users/barryhughes-1/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/getting-illegal-offset-error-using-embed_event-subcode/#post-5885099)
 * Status: not resolved