Fatal error: Uncaught Error: Call to undefined function eventorganiser_is_event_query() in /home/takaoka-chapel/www/test/wp-content/plugins/code-snippets/php/snippet-ops.php(361) : eval()'d code:5 Stack trace: #0 /home/takaoka-chapel/www/test/wp-includes/class-wp-hook.php(286): my_eventorganiser_sort_events('wp_posts.post_d...', Object(WP_Query)) #1 /home/takaoka-chapel/www/test/wp-includes/plugin.php(244): WP_Hook->apply_filters('wp_posts.post_d...', Array) #2 /home/takaoka-chapel/www/test/wp-includes/class-wp-query.php(2539): apply_filters_ref_array('posts_orderby', Array) #3 /home/takaoka-chapel/www/test/wp-includes/class-wp-query.php(3230): WP_Query->get_posts() #4 /home/takaoka-chapel/www/test/wp-includes/class-wp.php(601): WP_Query->query(Array) #5 /home/takaoka-chapel/www/test/wp-includes/class-wp.php(717): WP->query_posts() #6 /home/takaoka-chapel/www/test/wp-includes/functions.php(964): WP->main('') #7 /home/takaoka-chapel/www/test/wp-blog-header.php(16): wp() #8 /home/takaoka-chapel/www/test/index.php(17): requi in /home/takaoka-chapel/www/test/wp-content/plugins/code-snippets/php/snippet-ops.php(361) : eval()'d code on line 5