'event', 'meta_query' => array( array( 'key' => 'event_date', 'value' => $today, 'compare' => '<' ), ), 'orderby' => 'event_date', 'order' => 'DESC', 'posts_per_page' => 10, 'paged' => $paged, )); ?>

Notice: Undefined variable: past_events in /var/www/vhosts/bristolenergynetwork.org/httpdocs/wp-content/themes/ben/page-past-events.php on line 30

Fatal error: Uncaught Error: Call to a member function have_posts() on null in /var/www/vhosts/bristolenergynetwork.org/httpdocs/wp-content/themes/ben/page-past-events.php:30 Stack trace: #0 /var/www/vhosts/bristolenergynetwork.org/httpdocs/wp-content/themes/ben/base.php(24): include() #1 /var/www/vhosts/bristolenergynetwork.org/httpdocs/wp-includes/template-loader.php(106): include('/var/www/vhosts...') #2 /var/www/vhosts/bristolenergynetwork.org/httpdocs/wp-blog-header.php(19): require_once('/var/www/vhosts...') #3 /var/www/vhosts/bristolenergynetwork.org/httpdocs/index.php(17): require('/var/www/vhosts...') #4 {main} thrown in /var/www/vhosts/bristolenergynetwork.org/httpdocs/wp-content/themes/ben/page-past-events.php on line 30