• Resolved nkalistair

    (@nkalistair)


    I’m trying to upgrade my server to use PHP 7.4.26 however it appears that The Event Calendar is causing the site to fail when running 7.4.26 – and works when running 7.3.33.

    Steps to recreate
    – using 7.3.33 confirm that The Event Calendar is correctly running
    – Update server to run PHP 7.4.26, refresh WP admin page – get white screen
    – downgrade server to PHP 7.3.33
    – Deactivate The Event Calendar
    – upgrade server to 7.4.26 – see that site runs happily
    – Reactivate The Event Calendar, refresh WP admin page – get white screen
    – downgrade server to PHP 7.3.33 – see that site runs happily

    I forgot to say that I’m trying to use TEC version 5.12.2 and I’m running WP v5.8.2

    When I try to run TEC v 5.9.2 on PHP 7.4.26 I get this error:
    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65536 bytes) in /path-to-wordpress/wp-content/plugins/the-events-calendar/common/src/Tribe/Autoloader.php on line 164

    Any help in resolving this would be gratefully received

    • This topic was modified 3 years, 2 months ago by nkalistair.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter nkalistair

    (@nkalistair)

    Memory Limit on server is set to 1024M

    • This reply was modified 3 years, 2 months ago by nkalistair.
    • This reply was modified 3 years, 2 months ago by nkalistair.
    Plugin Support Jaime

    (@jaimemarchwinski)

    Hi @nkalistair

    I’d recommend increasing the memory limit on your website. That should make the error message go away. Here’s how you can do that: https://wpmudev.com/blog/increase-memory-limit/

    I hope that helps!

    Thanks,
    Jaime

    Plugin Contributor Andras Guseo

    (@aguseo)

    Hi @nkalistair

    Are you still having this issue?

    A.

    I’m having the exact same issue and have the exact same configurations.

    Why does The Events Calendar require so much memory to function?

    Plugin Contributor Andras Guseo

    (@aguseo)

    Hi @cynichols0226

    It is not TEC specifically that requires a lot of memory. TEC runs well with 128MB.

    I take it you use other plugins as well. They – and the theme as well – also need to use memory, and that all adds up. The system just happens to run out of memory when it’s TEC’s turn.

    I hope this clarifies a bit.

    Let me know if you need any further help with this.

    Cheers,
    Andras

    Plugin Author Gustavo Bordoni

    (@bordoni)

    Hi @nkalistair,

    We made some improvements to parts of our codebase that might have made that better for you.

    Memory consumption is tricky because all plugins share the same bandwidth, so depending on how things are setup you could have a lot of plugins that are causing the memory to be almost full and when TEC is loaded it goes over the max.

    Best Regards,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t get to work in PHP 7.4.26 (works in PHP 7.3.33)’ is closed to new replies.