Can't access /calendar/community/add

Home Forums Calendar Products Community Events Can't access /calendar/community/add

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #29327
    Maria
    Participant

    I started having a problem adding community events when I updated the WP install to 3.5 today.

    We have Events Calendar & Events Calendar PRO versions 2.0.10 and Community events 1.0.4, and are using Modernize v.2.0.3 (by GoodLayers).

    I have tried deactivating everything except Events Calendar, Events Calendar PRO, and Community Events while switched to the TwentyEleven (and new TwentyTwelve) theme, but still get no luck. I have tried logged in as Admin and logged out (as we are allowing anonymous submissions), but still get a blank page.

    In the server error logs, I am noticing the following message (which corresponds to the time I try and access the page):
    mod_fcgid: stderr: PHP Fatal error: Call to undefined method stdClass::in_admin() in /xxx/xxx/xxx/pueblochamber.jnlcom.com/wp-includes/load.php on line 587, referer: http://pueblochamber.jnlcom.com/calendar/

    The function in load which is referenced by that message is as follows:
    585| function is_admin() {
    586| if ( isset( $GLOBALS[‘current_screen’] ) )
    587| return $GLOBALS[‘current_screen’]->in_admin();
    588| elseif ( defined( ‘WP_ADMIN’ ) )
    589| return WP_ADMIN;
    590|
    591| return false;
    592| }

    #29335
    Leah
    Member

    Hi Maria,

    Thanks for the report. We noticed this issue after updating to WordPress 3.5. It appears to come from loading is_admin too early in the stack, although the devs are still tracing down the exact change in WordPress that would have caused this.

    In the meantime, we’ve got a gist for you with a quick fix: https://gist.github.com/4267100

    I apologize for the inconvenience and appreciate your understanding and support as we straighten this out.

    Thanks,
    Leah

    #29354
    Maria
    Participant

    Awesome, that worked great! One small note, the file for the gist isn’t tribe-community-events.php but lib/tribe-community-events.class.php.

    #29372
    Timothy Wood
    Participant

    Thank you Maria, I will update my gist to reflect the file location. I missed that during the initial writeup.

    #29402
    Casey
    Participant

    Maria,
    I just wanted to let you know that we’re working on a hotfix for this and will be releasing it ASAP. Thanks!

    #29462
    Max
    Guest

    Just letting you know that this fix worked for me after updating to WP 3.5 but it isn’t displaying any of the styles properly. Stylesheet issue?

    #29479
    Chad
    Participant

    Can we get an update on the proper fix being prepared ? The quick fix eliminated the error but has removed all styling from the input form. For me this could not have come at a worse time as we just sent mailers out asking people to submit their event. Any information is much appreciated!

    #29480
    Casey
    Participant

    Chad,
    We’re so sorry for this issue! I know that our devs are hard at work on this fix as we speak. Unfortunately, I can’t give you an exact timeline on when it will be released, but we’re working on it and will release an update ASAP. We’ll keep you posted.

    #29524
    Leah
    Member

    Hurrah hooray! We’ve got a hotfix ready for you. You can read more in our blog post at https://theeventscalendar.com/release-hotfix-for-wp-3-5-bugs-in-events-calendar-pro-2-0-10-community-1-0-4/ or just head on over to tri.be and re-download the plugin(s).

    Thanks for your patience folks!

    #978324
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Can't access /calendar/community/add’ is closed to new replies.