• 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/

Viewing 12 replies - 1 through 12 (of 12 total)
  • 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.

    Thread Starter alvarix

    (@alvarix)

    This is actually happening on my local machine.

    My memory limit in php_info is 128mb

    thoughts?

    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 🙂

    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/

    @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…

    Sorry johah, what migrate button?

    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.

    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

    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 🙁

    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!

    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…

    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.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: The Events Calendar] Fatal Error if no events’ is closed to new replies.