jaolivan
Forum Replies Created
-
I have the same error.
Hi Marcus,
But is possible change the status by Admin Console, no database, like before?
Thanks
Forum: Plugins
In reply to: [Plugin: Events Manager] crashes \includes\query.php get non objectSorry,
Before I didnt get to paste the source.
The source is in https://pastebin.com/YtAJZdEv.
Thanks Marcus, I read the codex, but I havent forgotten anything.
Thanks everybody.
Forum: Plugins
In reply to: [Plugin: Events Manager] crashes \includes\query.php get non objectHi,
Finally I get to run my template pages. This is the code:
[45 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
What it is the different? I don’t know ??
Thanks for all.
Forum: Plugins
In reply to: [Plugin: Events Manager] crashes \includes\query.php get non objectHi,
I enabled debug mode, but I didn’t see anything relevant.
Do you know what I would search?
Thanks
Forum: Plugins
In reply to: [Plugin: Events Manager] crashes \includes\query.php get non objectYes, of course,
Thanks for all agelonwl.
Forum: Plugins
In reply to: [Plugin: Events Manager] crashes \includes\query.php get non objectHi,
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
In reply to: [Plugin: Events Manager] crashes \includes\query.php get non objectNo, sorry is in production
Forum: Plugins
In reply to: [Plugin: Events Manager] crashes \includes\query.php get non objectHi 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
In reply to: [Plugin: Events Manager] crashes \includes\query.php get non objectHi,
the problem is in $wp_query = new WP_Query($args);
I’ve tried
new WP_Query( 'cat=4' );
and problem persist.Forum: Plugins
In reply to: [Plugin: Events Manager] crashes \includes\query.php get non objectHi 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
In reply to: [Plugin: Events Manager] crashes \includes\query.php get non objectSorry, 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
In reply to: [Plugin: Events Manager] crashes \includes\query.php get non objectAfter installing 5.1.4.1 version, the problem continue.
Forum: Plugins
In reply to: [Plugin: Events Manager] crashes \includes\query.php get non objectNo, I use twentyeleven theme.
I use this Page Template to print in this page all entries of one category.
Hi,
I have the same problem.