new EM_Event() suddenly creates empty object
-
My client contacted me to say that recently all of the event info has disappeared from the custom single-event.php pages. It seems that placeholders like #_LOCATIONNAME and #_EVENTNOTES are suddenly showing nothing, but also not throwing an error.
I discovered that
$event = new EM_Event($post->ID);
still successfully creates an object, but it’s (now) entirely empty:EM_Event Object ( [event_id] => [post_id] => [event_parent] => [event_slug] => [event_owner] =>
etc.
Yes, I verified that
$post->ID
is working fine.The fact that this just showed up within the last couple of weeks suggests a plugin conflict brought about by some plugin update, but I haven’t been able to figure that out yet and was hoping others might have experienced this and could point me in the right direction.
- The topic ‘new EM_Event() suddenly creates empty object’ is closed to new replies.