Title: jaolivan's Replies | WordPress.org

---

# jaolivan

  [  ](https://wordpress.org/support/users/jaolivan/)

 *   [Profile](https://wordpress.org/support/users/jaolivan/)
 *   [Topics Started](https://wordpress.org/support/users/jaolivan/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jaolivan/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jaolivan/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jaolivan/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jaolivan/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jaolivan/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/users/jaolivan/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/jaolivan/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Facebook Page Publish] [Plugin: Facebook Page Publish] Facebook returned an unexpected error: (#240)](https://wordpress.org/support/topic/plugin-facebook-page-publish-facebook-returned-an-unexpected-error-240/)
 *  [jaolivan](https://wordpress.org/support/users/jaolivan/)
 * (@jaolivan)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-facebook-page-publish-facebook-returned-an-unexpected-error-240/#post-2815674)
 * I have the same error.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] [Plugin: Events Manager] I can't edit a booking with state "Awaiting payment' in admi](https://wordpress.org/support/topic/plugin-events-manager-i-cant-edit-a-booking-with-state-awaiting-payment-in-admin/)
 *  Thread Starter [jaolivan](https://wordpress.org/support/users/jaolivan/)
 * (@jaolivan)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-events-manager-i-cant-edit-a-booking-with-state-awaiting-payment-in-admin/#post-2678552)
 * Hi Marcus,
 * But is possible change the status by Admin Console, no database, like before?
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Events Manager] crashes \includes\query.php get non object](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/)
 *  [jaolivan](https://wordpress.org/support/users/jaolivan/)
 * (@jaolivan)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/page/2/#post-2646233)
 * Sorry,
 * Before I didnt get to paste the source.
 * The source is in [http://pastebin.com/YtAJZdEv](http://pastebin.com/YtAJZdEv).
 * Thanks Marcus, I read the codex, but I havent forgotten anything.
 * Thanks everybody.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Events Manager] crashes \includes\query.php get non object](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/)
 *  [jaolivan](https://wordpress.org/support/users/jaolivan/)
 * (@jaolivan)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/page/2/#post-2646229)
 * Hi,
 * Finally I get to run my template pages. This is the code:
 * _[45 lines of code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   The maximum number of lines of code that you can post in these forums is **ten
   lines**. Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * What it is the different? I don’t know 🙂
 * Thanks for all.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Events Manager] crashes \includes\query.php get non object](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/)
 *  [jaolivan](https://wordpress.org/support/users/jaolivan/)
 * (@jaolivan)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/page/2/#post-2646228)
 * Hi,
 * I enabled debug mode, but I didn’t see anything relevant.
 * Do you know what I would search?
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Events Manager] crashes \includes\query.php get non object](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/)
 *  [jaolivan](https://wordpress.org/support/users/jaolivan/)
 * (@jaolivan)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/page/2/#post-2646219)
 * Yes, of course,
 * Thanks for all agelonwl.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Events Manager] crashes \includes\query.php get non object](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/)
 *  [jaolivan](https://wordpress.org/support/users/jaolivan/)
 * (@jaolivan)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/page/2/#post-2646217)
 * Hi,
 * I have confirmed that the error comes from the new version of Event Manager Plugin
   5.1.4.
 * I uninstalled version 5.1.4.3 Event Manager, I checked out the plugins directory
   had been deleted and tables in the database.
 * I installed the 5.1.3 version of Event Manager I enabled and the mistake does
   not happen. The template works correctly.
 * Something running or installing this version makes it happen that problem and
   there are things that stop working.
 * Any ideas?
 * Thank you very much.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Events Manager] crashes \includes\query.php get non object](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/)
 *  [jaolivan](https://wordpress.org/support/users/jaolivan/)
 * (@jaolivan)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/#post-2646216)
 * No, sorry is in production
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Events Manager] crashes \includes\query.php get non object](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/)
 *  [jaolivan](https://wordpress.org/support/users/jaolivan/)
 * (@jaolivan)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/#post-2646214)
 * Hi agelonwl,
 * I tried it and the problem persists. The strange thing with the previous version
   of Eventa Manager did not happen and it worked OK.
 * I will try to downgrade to reconfirms that goes with version 5.1.3 of the plugin.
 * It is very strange because if I do not activate the plugin everything works OK.
 * Thank you very much.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Events Manager] crashes \includes\query.php get non object](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/)
 *  [jaolivan](https://wordpress.org/support/users/jaolivan/)
 * (@jaolivan)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/#post-2646195)
 * Hi,
 * the problem is in $wp_query = new WP_Query($args);
 * I’ve tried `new WP_Query( 'cat=4' );` and problem persist.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Events Manager] crashes \includes\query.php get non object](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/)
 *  [jaolivan](https://wordpress.org/support/users/jaolivan/)
 * (@jaolivan)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/#post-2646194)
 * Hi Marcus,
 * this page template isn’t for events or locations, it’s for another entries in
   my wordpress, but if I activate Event Manager plugin, the template doesnt work
   and print the message **Call to a member function get() on a non-object in [website]/
   wp-includes/query.php on line 27**. If I deactivate the Event Manager plugin,
   the template run and print my entries of Noticias CJE category.
 * Thanks **agelonwl**, I’m going to check again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Events Manager] crashes \includes\query.php get non object](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/)
 *  [jaolivan](https://wordpress.org/support/users/jaolivan/)
 * (@jaolivan)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/#post-2646188)
 * Sorry, I’m new in WordPress.
 * What it is 2011?
 * I haven’t a sample url because is in production server, sorry.
 * I’ve updated 5.1.4.3 version and the problem continue.
 * WP version 3.3.1, no multisite.
 * I post all my template.:
 *     ```
       <?php
       /*
       Template Name: PageOfCJENews
       */
       get_header('comun'); ?>
   
       		<div id="primary">
       			<div id="content" role="main">
   
       <?php
       if (is_page() ) {
       	$category = 'Noticias CJE';
       }
       if ($category) {
       	$cat = get_cat_ID($category);
       	$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
       	$post_per_page = 2; // -1 shows all posts
       	$do_not_show_stickies = 1; // 0 to show stickies
       	$args=array(
       		'cat' => $cat,
       		'paged' => $paged,
       		'showposts' => $post_per_page
       	);
       	$temp = $wp_query;  // assign orginal query to temp variable for later use
       	$wp_query = null;
       	$wp_query = new WP_Query($args);
       	if( have_posts() ){
   
       		while ($wp_query->have_posts()) : $wp_query->the_post(); ?>
       			<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
       				<strong><h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2></strong>
       				<div class="entry">
       					<?php the_content('Read the rest of this entry »'); ?>
       				</div>
       			</div>
       <?php
       		endwhile;
   
       		if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
       	}else{
       ?>
       		<h2 class="center">No encontradas noticias</h2>
       <?php
       	}
       	$wp_query = $temp;  //reset back to original query
   
       }  // if ($category)
       ?>
   
       			</div><!-- #content -->
       			<?php get_sidebar(); ?>
       		</div><!-- #primary -->
       <?php get_footer(); ?>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Events Manager] crashes \includes\query.php get non object](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/)
 *  [jaolivan](https://wordpress.org/support/users/jaolivan/)
 * (@jaolivan)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/#post-2646173)
 * After installing 5.1.4.1 version, the problem continue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Events Manager] crashes \includes\query.php get non object](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/)
 *  [jaolivan](https://wordpress.org/support/users/jaolivan/)
 * (@jaolivan)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-includesqueryphp-get-non-object/#post-2646160)
 * No, I use twentyeleven theme.
 * I use this Page Template to print in this page all entries of one category.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] [Plugin: Events Manager] says recurring event bookings are closed, but they are open](https://wordpress.org/support/topic/plugin-events-manager-says-recurring-event-bookings-are-closed-but-they-are-open/)
 *  [jaolivan](https://wordpress.org/support/users/jaolivan/)
 * (@jaolivan)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-events-manager-says-recurring-event-bookings-are-closed-but-they-are-open/#post-2647281)
 * Hi,
 * I have the same problem.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/users/jaolivan/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/jaolivan/replies/page/2/?output_format=md)