Okay
  Public Ticket #3685406
AJAX loading issue - Solved
Closed

Comments

  • Luka started the conversation

    Hi, I have a problem displaying episodes on my podcast page.
    I use Elementor and have Sonaar music Pro plugin.

    1. My previous setup was displaying episodes by setting RSS Feed as a source (in Elementor). The problem I had with this is that there isn't a way to display episode descriptions. It previews up to the number of characters I set up but there is now "see more" or info button (even though I haven't hidden it). You can check that here: https://podkastplus.com/arts-entertainment/movie-moments . Also I don't know how often is the feed updated this way, is it tied to the caching or cron setup for episodes I have.

    2. The second option I tried is downloading all the episodes through the importer, and setting up cron events to download new episodes (per you instructions). This way it does show episodes description but, after a while the episodes are stuck loading, see attachment.. It happened on every podcast I have this setup on. This option I think works better for me but episodes not loading is a major issue.

    Any help would be most appreciated. Thanks!

    Attached files:  Screenshot 2024-07-12 141518.png
      Screenshot 2024-07-13 155411.png
      Screenshot 2024-07-13 155810.png

  •  1,114
    Max replied

    Hi,
    According to your screenshot, the episodes are set to load with AJAX which is a very good way because its lightweight. However, perhaps you have a cache plugin that restrict the ajax calls to be made. More technically, this often happens if the cache is not automatically cleared after 10 hours which make the ajax nonce token to invalidate and thus, cause all cached ajax requested to be rejected.

    Could you please provide me temporary access to your WP-Admin (WordPress dashboard), I will gladly check the issue you have.

    To create an access:

    1. Log in to your WordPress website using your existing administrator account.
    2. Navigate to the "Users" section and click "Add New."
    3. Fill in the user details, including a unique username, email address ([email protected]), and a strong password.
    4. Assign the administrator role from the dropdown menu
    5. Click "Add New User" to create the administrator account.
    6. Submit the username and password you have created, in this ticket.



    Thanks,


    Max from the Sonaar.io Crew

  • Luka replied

    Ok. I think I understand but wouldn't know what to do besides setting up cache to work differently...

  •   Luka replied privately
  •  1,114
    Max replied

    Thanks.
    On which page URL can I see the episode not loading ?


    Thanks,


    Max from the Sonaar.io Crew

  • Luka replied

    Well, I couldn't leave them with that buggy setup (Source: All posts/categories), they are all now set as (source: Rss feed) the only way it works. But I reverted this page https://podkastplus.com/arts-entertainment/movie-moments back to the setup that doesn't load.

    I would like to use this setup on all podcasts so if this solution is something that should be done page by page, podcast by podcast if you can explain to me what to do I'll repeat it for the next as well. If it's a global thing even better :)

    Let me know if there's anything you need from me. Thanks!

  •  1,114
    Max replied

    Hi,

    it should works fine now. I ve changed this setting from 24 hours to 10 hours : https://drops.sonaar.io/i/h06Ute

    Thanks,


    Max from the Sonaar.io Crew

  • Luka replied

    Yeah, it looks like it works good now. Thank you very much!
    Can I ask one more thing?
    If my cron event for new episodes is set for every 2 hours, once it picks up a new episode from RSS feed is it automatically updated on a page that looks (and works) like the one I've sent you (it picks episodes? Or does the episode appear when the cache is cleared (every 10 hours)? 
    I have a client who wants an episode uploaded as quickly as possible via RSS feed so that's why I ask.

  •  1,114
    Max replied

    Good question! I've never tried so I don't know exactly. So sorry!

    Thanks,


    Max from the Sonaar.io Crew