WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
single event page displaying "no events" (7 posts)

  1. richlondon
    Member
    Posted 2 years ago #

    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/

  2. richlondon
    Member
    Posted 2 years ago #

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

  3. BB_Othella
    Member
    Posted 2 years ago #

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

  4. pablomolinari
    Member
    Posted 2 years ago #

    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 :D

  5. agelonwl
    Member
    Posted 2 years ago #

    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/

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    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

  7. richlondon
    Member
    Posted 2 years ago #

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

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

    thanks!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic