WordPress.org

Forums

Events Manager
Search by date range pagination error (2 posts)

  1. rontarson
    Member
    Posted 3 years ago #

    When searching by date range and using pagination, I get an error that wont display the events after page 1. Page 2,3 etc are all blank.

    The path is as follows (not working):
    /events/?scope=2011-10-04%2C2011-10-30&page=2&_wpnonce=686a0d0fad

    Or if using any combination of search criteria with a date range (not working):
    /events/?category=1&scope=2011-10-03%2C2011-10-30&page=2&_wpnonce=686a0d0fad

    Pagination by just category, region or any combination of search criteria works just fine as long as no date is involved. Is it something with the date range that's causing the error?

    http://wordpress.org/extend/plugins/events-manager/

  2. rontarson
    Member
    Posted 3 years ago #

    Disregard, I found the error. I had modified the below.
    if(!empty($_REQUEST['scope']) && !is_array($_REQUEST['scope'])){ $_REQUEST['scope'] = explode(',',$_REQUEST['scope']); }

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic