Intermittent Fatal Error
-
Hi,
We have an intermittent Fatal Error that shows up sometimes.Fatal error: Class ‘Eventbrite_Query’ not found…. line 29
This only happens on 2 out of 10 computers.
Here is the code that is failing. Line 29 is $event = new Eventbrite_Query( array( ‘p’ => $event_id ) );as I mentioned it works for me without issue. We have cleared the cache of the other 2 machines but it still fails.
// pulled from advanced custom fields. So the user can set the eventbrite id $event_id = get_field('event_brite_id','option'); if($event_id !=''){ $event = new Eventbrite_Query( array( 'p' => $event_id ) ); if ( $event->have_posts() ) : while ( $event->have_posts() ) : $event->the_post(); ?> <?php eventbrite_ticket_form_widget(); ?> <?php endwhile; else : // If no content, include the "No posts found" template. get_template_part( 'content', 'none' ); endif; // more code below closed while etc.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Intermittent Fatal Error’ is closed to new replies.