WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Events Manager] single event page displaying "no events"

[Plugin: Events Manager] single event page displaying "no events"

  • richlondon
    Member

    @richlondon

    I have upgraded to version 5.0.4. Which seems to have broken my events manager set up.
    The Events disply as expected on the events page on the site.
    However when I click on a specific event I am taken to a page that is title the same as the event, but the copy says “No event”. The page also look like it is under the news section of my site as well….

    Does anybody have any ideas what is going on?
    I have tried disabling the titel re-writing..
    I have tried changing the querie line in the upgrade.php file…

    not sure what it is…

    thanks!

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • richlondon
    Member

    @richlondon

    I have downgraded to version 4.305
    this version works, version 5.03 doesn’t. If that helps!

    BB_Othella
    Member

    @bb_othella

    I have the similar problem and no fix (I don’t want to downgrade…)
    Anyone could help?
    Thanks!

    pablomolinari
    Member

    @pablomolinari

    I’m not an expert but I had the same problem and I kind of patched it this way:

    1) Create an event-single template (if you don’t already have one) copying the event-single.php from the events-manager/templates/templates folder to yourtheme/plugins/events-manager/templates folder (if you don’t have this folder, create it). This way you can tweak the event-single.php file without changing the original, so if it fails, you just can delete it.

    2) Find the line that says:

    if( $EM_Event->status == 1 ){

    and replace it for

    if( $EM_Event->status != 1 ){

    Don’t know why the status item doesn’t work well (I’ve checked in my DB and it exists, and its value is 1).

    I’m using version 5.0.4. Hope that 5.0.5 will fix it 😀

    agelonwl
    Member

    @angelonwl

    can I know the specs of your wordpress installation e.g. plugins installed, theme, multisite, buddypress

    also if you can try this one http://wp-events-plugin.com/blog/2012/01/05/events-gone-after-upgrading-read-this/

    Plugin Author Marcus
    Participant

    @netweblogic

    you’re right. actually, since they are now CPTs it’s perfectly fine to remove the whole if statement and avoid it altogether. Just updated to 5.0.42 but will be in next update

    thx pablomolinari, well spotted

    richlondon
    Member

    @richlondon

    @pablomolinari
    I actually found this line in the file
    em-events.php

    I found and changed the line you mention and it works!

    thanks!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Events Manager] single event page displaying "no events"’ is closed to new replies.