Event archie is throwing an error

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 9 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #42923

    Hi Stephen
    The event archive (archive-event.php assigned to an empty page) throws this error:
    TypeError thrown
    count(): Argument #1 ($value) must be of type Countable|array, null given

    Oliver Flueckiger
    #42924

    Hi Oliver,

    The event archive template is not intended as a page template, but the template used by the custom post type “archive” page (i.e.showing all events). It will typically be used to render yoursite.com/events/event (e.g. http://demo.wp-event-organiser.com/events/event/)

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.