Support

Home Forums Event Espresso Premium Can't create instance of EE_Event since update` Reply To: Can't create instance of EE_Event since update`

Reply To: Can't create instance of EE_Event since update`

Author Replies
Josh # Posted on May 10, 2018 at 1:42 pm

Hi Damian,

Thanks so much for providing the extra details. It looks like the custom code is using a deprecated classname. You can change this:

$wp_query = new EE_Event_List_Query( $atts );

to this:

$wp_query = new EventEspresso\core\domain\services\wp_queries\EventListQuery( $atts );

and that should get things working the way they were before.

Do NOT follow this link or you will be banned from the site!