Support » Plugin: Events Manager » Empty single category page with Events Manager and WPML

  • Hi there,

    I’ve got Events Manager installed as well as WPML and the compatability plugin.

    I can view the Categories page, as well as the events page, but when I try to view the single category page I get these errors and none of the post content is shown:

    Notice: Undefined property: stdClass::$ID in /home/ahovoyages/ahovoyages.com/wp-content/plugins/events-manager/classes/em-category-taxonomy.php on line 27
    
    Notice: Undefined property: stdClass::$post_type in /home/ahovoyages/ahovoyages.com/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 5039

    The second error is actually expressed twice, a second time in the header, but it’s identical.

    I’ve tried this with the default WordPress 2012 theme and I get the same error.

    Any ideas?

    http://wordpress.org/plugins/events-manager/

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    hi,

    here are few steps to try:

    1. deactivating all other plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    2. since it’s only a notice message and not a fatal error another thing you can try is to add this snippet in your wp-config.php (and everything is still working fine except this notice message?)

    error_reporting(0);
    @ini_set('display_errors', 0);

    http://codex.wordpress.org/Editing_wp-config.php

    Hey, thanks for the response.

    1) If I deactivate all of the plugins except for Events Manager and WPML then I still get the error message.

    If I re-active all plugins, and then deactive WPML (and make necessary changes throughout my template to avoid fatal errors), then the page shows up with the content.

    2) I could simply turn off debug mode and I wouldn’t see the errors. But there will still be no content on the page.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    can I know what is your current EM version?

    5.5.1

    Plugin Support caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    Is this related to your other question?
    http://wordpress.org/support/topic/certain-placeholders-work-on-homepage-not-on-category-listing/

    If it is, does removing the custom code referred to in that thread make the errors go away?

    Hi, no I believe that they’re unrelated. This issue is dealing specifically with single category pages. The other issue is dealing with the display of placeholder information on category list pages.

    The errors on the single category pages started immediately and I added the custom code to the category lists to start building the sections that I was able to right away. I hope I’m able to resolve both the issues.

    Plugin Support caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    I’d still remove the custom code just to be sure it’s not causing the other errors.

    Hey, just to be clear, there’s no custom code in the Single Category page. Also, as I mentioned before the errors started happening immediately after installing the plugin, before making any changes.

    To oblige, I deleted the custom code from both the category list page, and everywhere else it appears (even where it works perfectly), and it doesn’t have an effect on the errors.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    I tried this one and seems to be working fine; not sure if this helps but can you try to upgrade to the latest dev version EM 5.5.1.1 ?

    To upgrade to the dev version see here – http://wp-events-plugin.com/documentation/upgrade-dev-version/

    Plugin Author Marcus

    (@netweblogic)

    Do you have a link we can see to visualize the problem?

    @angelo_nwl Ok, I installed the dev version, but the problem persists.

    @marcus Thanks for your help. I’ll take down the password protection on the site. http://ahovoyages.com

    Plugin Support angelo_nwl

    (@angelo_nwl)

    hmm, can I know if your event categories is already translated?

    Plugin Author Marcus

    (@netweblogic)

    ok, a few things for you to try:

    1 – Settings > Pages > Event Categories – try choosing no categories page

    2 – Same place as above, set ‘Override with Formats’ to ‘No’

    Do any of these help?

    Plugin Author Marcus

    (@netweblogic)

    a screenshot of your settings may help here, maybe we can reproduce the problem here too

    1. Bingo! If I turn off the Event Category page then the single category page appears with all of the info.

    However, in the sidebar I get this error:

    Notice: Undefined property: stdClass::$post_name in /home/ahovoyages/ahovoyages.com/wp-includes/template.php on line 244

    That might be related to something else, but in any case, the information appears.

    The part of the problem that remains, which I didn’t notice before, is that for the single events page, I am returned the default:

    Something is wrong. There are no posts here.

    Will there be a way for me to still include a category list page?

    2. When I try this option (re-instating the category page, but removing the formatting), the single category page returns the default:

    Something is wrong. There are no posts here.

    This same issue of spitting out the default empty loop remains if I simultaneously choose ‘No Category Page’ and remove the formatting override.

    I can definitely take a screenshot of the settings, but is there a specific section that would be useful?

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Empty single category page with Events Manager and WPML’ is closed to new replies.