Issue with WordPress 3.5

Home Forums Calendar Products Community Events Issue with WordPress 3.5

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #29363
    Duncan
    Participant

    I have recently started updating sites to wordpress 3.5, and there seems to be an issue ith the Community events Plugin. in that aftrer upgrading, I am getting the following error:
    Fatal error: Call to undefined method stdClass::in_admin() in /home/sites/whatsoninglossop.co.uk/public_html/wp-includes/load.php on line 587

    I have tried deactiviating all other plugins and reverting to the default TwentyTwelve theme and still no joy.
    Any Suggestions

    I have left the plugn active. here is a link to the page that throws the error.
    http://www.whatsoninglossop.co.uk/events/community/add

    #29374
    Casey
    Participant

    Hi Duncan,

    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!

    #29375
    Duncan
    Participant

    Thanks.

    If I rem out the line array( $this, ‘maybeLoadAssets’ ) the error goes away, but when I then change the function init() as instructed in the gist, the error comes back.

    hoe this helps with finding a fix

    #29377
    Casey
    Participant

    Thanks Duncan!

    #29378
    Duncan
    Participant

    Having removed the line the line array( $this, ‘maybeLoadAssets’ ) it seems to work Ok, with th exception that the formating on the submission form is not right, and there are no datepickers on the date fields(I am assuming that there should be). Other than this, the form seems to work OK, and everts are submitted as expected.

    #29399
    Casey
    Participant

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

    #29526
    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!

    #978328
    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 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Issue with WordPress 3.5’ is closed to new replies.