WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Fatal Error with 5.2.2 after installing (8 posts)

  1. cjk2
    Member
    Posted 1 year ago #

    Hey,
    after installing wp-events Manager I get a fatal error. In the dashboard I have always the message "Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 491520 bytes) in .../wp-includes/class-simplepie.php on line 4194.

    With other themes it seems OK. I use the theme Churchope from themoholics, themeforrest. Is there any idea?
    Thanks

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

  2. agelonwl
    Member
    Posted 1 year ago #

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    the jquery cdn link won't work here, the answer would be to increase your memory limit to e.g. try 64M

    That said, themeforest themes are the #1 conflict causers

  4. Japh
    Member
    Posted 1 year ago #

    Hi Cjk2, you should try contacting the author of your theme via the contact form on their profile page here: http://themeforest.net/user/themoholics
    Hopefully they will be able to assist you.

    Also, @Marcus, I'd love to hear about it if you know of any specific conflicts you regularly come across with ThemeForest themes. Your feedback helps!

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    Hi Japh,

    90%+ of the time it's javascript related in one way or another, the other times it's usually to do with either bad loop/filter useage or problems with CPTs

    The number one issue now is the inclusion of their own jQuery and UI (or using CDN) libraries instead of using the WP ones. I wrote a post about it here - http://msyk.es/blog/prevent-jquery-wordpress-theme/

    Interesting to see you're on top of this though... that's really encouraging. Didn't think the top level of TF actually cared about theme quality at this point because this has gone on for years and since WP updated their jQuery to v1.7.2 was close to recommending users AGAINST TF.

  6. Japh
    Member
    Posted 1 year ago #

    Hey Marcus, that's great to know, I've emailed you my contact details so if you have any specific examples I'd love you to email them through to me.

    The issue of including their own jQuery / jQuery UI or CDN versions shouldn't be a problem with more recently added themes. This is a part of our review process. It wasn't always though, so older themes that haven't been updated since could still have this issue at the moment. We're working on that too though.

    I actually posted on Wptuts+ myself to try and help show people the correct way and explain the problem: http://wp.tutsplus.com/articles/how-to-include-javascript-and-css-in-your-wordpress-themes-and-plugins/

    WordPress 3.5 will have jQuery 1.8+, which will be great!

  7. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    Full Circle :)

    I'd talk with the tutsplus editors because you are probably one of the #1 posts causing the confusion - http://wp.tutsplus.com/tutorials/load-jquery-from-google-cdn-with-local-fallback-for-wordpress/

    imp I'd also remove the section 'Overriding Default Libraries and Using Content Delivery Networks' because enough ppl will probably not read your last paragraph of advice and copy bad code.

    I strongly believe this is not the way to do it, guaranteed someone will implement that and in a few months it'll be the cause of a conflict. If the google libraries plugin isn't enough, and you don't want to fork out for CDNs e.g. amazon, then try this recommendation - http://wpmu.org/speed-up-wordpress-with-the-free-jsdeliver-cdn/

  8. Japh
    Member
    Posted 1 year ago #

    Hi Marcus, I am the editor of Wptuts+.

    Unfortunately, it's a relevant thing for people to want to know how to do, and I can't afford to leave it out of the article. If I do, there will be many comments saying to do that instead, but without explaining why you shouldn't.

    Good link too, thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic