X
330855

Ticket #330855 Public

Slow loading calendar events after update

After upgrading from 4.3.5 to 4.5.3 of EventOn and Full Cal, the calendar loads slowly in sections with more events, including recurring events. However, in sections with fewer events, it loads much faster. This was not a problem before, and the “WP Query method” is set to “Query only the events post created within last 3 months”. Can you assist me with this?

You can check the difference here:

Fastest load
https://culturazac.gob.mx/agenda-cultural/cine/

Slow load
https://culturazac.gob.mx/agenda-cultural/taller/

These plugins are activated and working as they should:

– Wp Rocket Cache Plugin
– Wp Redis Object Cache
– Wp OPcache

Normal events are loaded in a custom single page:

Example 1:
https://culturazac.gob.mx/eventos/bebe-2/

Example 2:
https://culturazac.gob.mx/eventos/piano-last/var/ri-9.l-L1/

Thanks for the help

BY: Rito Karim Romo de Velasco - Nov 4,2023 AT 2:19PM - 1 week ago
    • By: Artem Nov 5,2023 AT 8:09AM - Posted 1 month ago - #330884

      Hello,

      Could you tell us more about your server?

      Please try increasing memory limit:

      https://docs.myeventon.com/documentations/increasing-wordpress-memory-limit/

    • By: Rito Karim Romo de Velasco Nov 5,2023 AT 4:04PM - Posted 1 month ago - #330926

      Hi again


      php_admin_value[max_execution_time] = 300
      php_admin_value[max_input_time] = 150
      php_admin_value[max_input_vars] = 10000
      php_admin_value[memory_limit] = 1024M
      php_admin_value[error_reporting] = E_ALL

      Note: This problem only occurs in the new version. The old version works fine no matter how many events are published.

    • By: Artem Nov 6,2023 AT 3:26AM - Posted 1 month ago - #330952

      Does your server have enough memory for 1024M?

      Could you also try upgrading PHP to 8+?

    • By: Rito Karim Romo de Velasco Nov 6,2023 AT 10:01AM - Posted 1 month ago - #330978

      The website is hosted on a server exclusively for it, not using cpanel, and it does not share resources. It has 4GB of RAM and a 3-core processor, with a 120GB SSD.

      Upgrading to version 8 is a slow process that requires analyzing all other plugins for compatibility. This would require a significant amount of work, which is already planned for the next year, but is currently impossible to do.

      I want to inform you that this issue only persists with the Full Cal plugin. I have created a test page where you can quickly load all the events.

      Fast load with all events.
      https://culturazac.gob.mx/test-fast-loading-events/

    • By: infotainerdave Nov 6,2023 AT 11:13AM - Posted 1 month ago - #330991

      OK I made some changes have a look now

      changes I made:

      I removed the widget and put the shortcode into a text file

      I added to the shortcode to load calendar without ajax and that seems to have sped up the load 

    • By: infotainerdave Nov 6,2023 AT 11:14AM - Posted 1 month ago - #330993

      you probably don’t need to have the event open in a new window- (if you were doing that to try to speed up the page) you could have them pop up if you wanted

    • By: Rito Karim Romo de Velasco Nov 6,2023 AT 11:28AM - Posted 1 month ago - #331001

      Hello infotainerdave, this may be an impractical solution, as when the “jumper” button is used for other months, the ajax load happens again and therefore the loading becomes slow.

      Most people who visit us share events individually, which is why the decision was made to separate the events on a single page. This also helps us improve SEO for a single unique event.

      As I mentioned before, this did not happen before, the plugin loaded the information quickly, as you could see for yourself. Now, with this new version (2.0.5), we are trying to find a solution.

      I hope this problem is resolved soon, as otherwise we would have to load the events in a list (while a real solution is found), and it would affect the user experience.

    • By: infotainerdave Nov 9,2023 AT 5:46AM - Posted 4 weeks ago - #331332

      Thank you for your messages, I am going to assign this ticket to Ashan and he will be able to take it from here and find you a solution. Please allow some time for him to get back to you, we greatly appreciate your patience and thank you for being a eventon customer! Also please disable any IP blocking on your site if there are any.

    • By: Ashan Perera Nov 9,2023 AT 1:31PM - Posted 4 weeks ago - #331383

      I made a test page on your website to see if I can replicate issues and it seems so. https://culturazac.gob.mx/test-eventon/ 

      November takes 19-20 seconds to load while december load faster. You have 903 events. We have seen users with 5000 events have their calendars load faster. 

      Have you noticed at some point things got slower than before? Are you able to think back to a moment like that and recall what was changed then? 

    • By: Rito Karim Romo de Velasco Nov 9,2023 AT 6:44PM - Posted 4 weeks ago - #331398

      I understand that this case may be frustrating for you. It seems that the slow loading issue started after the new update, as previously this was not a problem. Before taking any action, I have a few questions:

      Is it possible to perform a downgrade? Unfortunately, I no longer have the 3-day daily backup, which was my mistake. If a downgrade is possible, could you please explain how to do it? This way, you will be able to see the difference in event loading speed and have a clearer understanding. (I understand that you suspect that we have done something to cause this site slowness issue).

      If it is not possible to perform a downgrade, do you think completely removing the plugin, including the addons, could solve the issue? The removal of the plugin would include the option to “Delete EventON settings & data when EventON is uninstalled”. Once this is done, we can restore all events through the CSV file and configure the settings again using evo_settings__date.

      In this order:

      1. Backup Site and Server
      2. Backup Events (CSV)
      3. Backup Config of EventOn
      4. Backup SEOPress for restore (Seo Events)
      4. Delete Addons
      5. Delete EventOn
      6. Reinstall EventOn
      7. Reinstall Addons
      8. Restore Config of EventOn
      10. Restore Events via CSV
      11. Restore SEOPress via CSV

      Then after that.

      If these modifications didn’t work, I could restore the server without any issues to have it in its current configuration.

      If after all of this, it still doesn’t work, could you provide me with a specific configuration for PHP or MySQL that I can apply directly on the server and test again?

      Do you have any other ideas?

    • By: Rito Karim Romo de Velasco Nov 9,2023 AT 8:27PM - Posted 4 weeks ago - #331400

      Additional information

      with the code:

      [add_eventon_fc jumper="yes" ux_val="4" cal_init_nonajax="yes"]

    • By: Ashan Perera Nov 10,2023 AT 1:13PM - Posted 4 weeks ago - #331499

      We can certainly try the downgrade approach but which version of eventON do you need? Do you know at which version upgrade things slowed down? 

      If using cal_init_nonajax=yes load fast, I think the slowness happen with ajax. Even with endpoint requests to (https://culturazac.gob.mx/?evo-ajax=eventon_get_events) it is slowing down. Huge puzzle haha 

    • By: Rito Karim Romo de Velasco Nov 23,2023 AT 1:14PM - Posted 2 weeks ago - #332673

      Hi all, I see that this is a bit more complicated than usual, I have had a busy week with a lot of work and my response has been delayed, but I want to let you know that the version we were working on was the following: 4.3.5, in that version, we didn’t have any issues, so let’s try the downgrade and see if there is a solution for the future.

    • By: Ashan Perera Nov 27,2023 AT 4:31PM - Posted 1 week ago - #332887

      here is the link to download 4.3.5 https://helpdeskx.s3.amazonaws.com/wp-content/uploads/2023/11/27163030/eventON_4.3.5.zip 

      Give it a try and see what happen and let us know. If you switch to that version, the addons you have for eventON may throw incompatibiity issues. 

    • By: Rito Karim Romo de Velasco Nov 29,2023 AT 8:32AM - Posted 1 week ago - #333133

      Hi again,

      And the plugin EventON – Full cal VersiĆ³n 2.0.4

      Ty, today i try the downgrade.

    • By: Ashan Perera Nov 29,2023 AT 4:51PM - Posted 1 week ago - #333196

      here is the link to fullcal – https://helpdeskx.s3.amazonaws.com/wp-content/uploads/2023/11/29165123/eventon-full-cal_2.0.4.zip

    • By: Rito Karim Romo de Velasco Nov 30,2023 AT 10:14AM - Posted 1 week ago - #333309

      Hello everyone

      I have successfully downgraded, I will keep this version until a fix for the latest ones comes out, although I’m not sure if there is any security impact on the site. (I need to review the changelog thoroughly or could you inform me if this version has any critical errors?).

      Thank you very much.

      You can check the great difference in:

      https://culturazac.gob.mx/agenda-cultural/

    • By: Ashan Perera Nov 30,2023 AT 10:41AM - Posted 1 week ago - #333312

      Namaskar Rito! 

      I am glad to hear the downgrade help speed things up. SO it is eventon 4.3.5 and full cal 2.0.4 that did the trick. 

      I will look into to and see what was the big difference in that that caused slowness. 

      in 4.4 we switched to endpoint based ajax calls instead of admin-ajax.php which has speed things up for many. 

      Surprisingly in our end we dont see this slowness. So it has to be something else. 

      Are you able to create a staging version, a copy of your website so we can test the new version and see what was slowing it down? 

      BTW I love the custom styles you have done with fullcal! Bravo!!

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON