WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
Fatal Error if no events (13 posts)

  1. alvarix
    Member
    Posted 2 years ago #

    Migrating a site from 1.6.5 to 2.0.4
    Upgraded db.

    There are no upcoming events, and when I hit /events or events/upcoming I get:

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 523800 bytes) in /Users/path.../wp/wp-includes/plugin.php on line 1077

    If I go to events/past I see the events.

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. jonahcoyote
    Member
    Posted 2 years ago #

    Hey alvarix, my guess is you don't have enough memory allocated for your site on the server. To remedy this is fairly simple, you should be able to follow one of these methods http://www.dailyblogging.org/wordpress/increase-wordpress-memory-limit/ or you can contact your web host to have them help you with it.

    Let me know whether or not that works.

  3. alvarix
    Member
    Posted 2 years ago #

    This is actually happening on my local machine.

    My memory limit in php_info is 128mb

    thoughts?

  4. jonahcoyote
    Member
    Posted 2 years ago #

    Hmmm, maybe a conflict with another plugin or some code in your theme? Try deactivating all other plugins and/or reverting to the Twenty Eleven theme first. If that doesn't work I'll try and figure it out from there :)

  5. kevinbooker
    Member
    Posted 2 years ago #

    I am having the same problem with the Longpage Theme by AffinityIT. Works fine with the Twenty Eleven theme, but not Longpage. I love both the plugin and theme and don't want to have to chose between them. Any help would be greatly appreciated.

    See: http://amherstburgchamber.com/events/2012-04/

  6. jonahcoyote
    Member
    Posted 2 years ago #

    @alvarix - are you sure you finished the migrate process? Did you go to the ECP settings and click the Migrate button and did it complete? You may want to try migrating from 1.6.5 to 2.0 instead of to 2.0.4 because we didn't test the migrate script as thoroughly in subsequent versions so there could be problems with it in more recent versions.

    @kevinbooker - you've got an error on your site so it looks like you've got some other issues going on. I would try the same things as I suggested for @alvarix though...

  7. kevinbooker
    Member
    Posted 2 years ago #

    Sorry johah, what migrate button?

  8. kevinbooker
    Member
    Posted 2 years ago #

    oh wait... i'm running the free plugin. i was told i would have the same issue with the paid version, so waiting to resolve my issue before purchasing.

  9. jonahcoyote
    Member
    Posted 2 years ago #

    It should appear at the bottom of Settings > The Events Calendar if you haven't already ran the migration. You can find out more about upgrading here: http://tri.be/migrating-from-events-calendar-1-6-5-to-2-0

  10. kevinbooker
    Member
    Posted 2 years ago #

    Ah, ok. I'm already running the latest version.

    I only get the error when there are no events. the other issue i am having is the title displayed is the same as the title for the first event in that month, rather than the page title "Events for March, 2012". (see: http://amherstburgchamber.com/events/month/)

    I'm getting discouraged and thinking I'll have to find another Calendar :(

  11. jonahcoyote
    Member
    Posted 2 years ago #

    Hey Kevin, don't give up on us yet. That error looks related to some caching plugin you're using and I can't help you with that, but for the title we've got some templating issues we're working out in an upcoming version but for now there is a solution. You basically need to conditionally set the title on event pages. So, depending on if you're using the "Default Events Template" or "Default Page Template" in Settings > The Events Calendar, you'll want to modify either /wp-content/plugins/the-events-calendar/views/ecp-page-template.php or your themes page.php file. You'll want to use code somewhat along these lines to modify the page title: https://gist.github.com/2045249

    Hopefully that helps!

  12. kevinbooker
    Member
    Posted 2 years ago #

    The title issue has been fixed! Thank you! ...but the other issue is still nagging me. I've posted it in the ThemeForest forum as well. We'll see...

  13. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 2 years ago #

    Hey Kevin. Glad to see we've made some progress...thanks for bearing with us thus far. If the ThemeForest forum yields anything helpful, let us know and we'll do what we can to assist from there.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic