Support

Home Forums Event Espresso Premium pagination error

pagination error

Posted: January 27, 2016 at 9:34 am


Meredith Whitely

January 27, 2016 at 9:34 am

I’m getting this error at the bottom of the events page – https://foodatheart.co.uk/events/

Fatal error: Call to undefined function espresso_pagination() in /home/foodatheartco/public_html/wp-content/plugins/event-espresso-core-reg/public/Espresso_Arabica_2014/loop-espresso_events.php on line 46

Can I remove the error? and can I hide the page?


Josh

  • Support Staff

January 27, 2016 at 10:41 am

Hi Meredith,

Do you have a template that’s calling the loop-espresso_events.php template? The reason I ask is because normally the loop isn’t used by Event Espresso. Any information you can give us about any possible custom templates will help us troubleshoot this.


Meredith Whitely

January 27, 2016 at 4:02 pm

Thanks, I’ve figured out that it was ‘archive-espresso_events.php’ in the child theme.
Is there a way to turn off /events/ page, or style it to match?


Josh

  • Support Staff

January 27, 2016 at 5:07 pm

You could set up a redirect for the /events/ page, truth be told it’s not really a page but instead an archive or list of upcoming events. You can change the slug as well by going to Event Espresso > Events > Templates and change the Event Slug setting so something else. Or if you want to style it you can add some custom CSS to your custom stylesheet.


Meredith Whitely

January 28, 2016 at 8:13 am

Thanks Josh.

The support post ‘pagination error’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso