After upgrading plugins, all embeds in WP editor convert to Events

Home Forums Calendar Products Events Calendar PRO After upgrading plugins, all embeds in WP editor convert to Events

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1130770
    Susan
    Participant

    Hi,

    Today we updated the Events Calendar, EC Pro, and EC Filterbar plugins and since then we’re having an issue where any time we past anything that WordPress would auto-convert to embed (such as Youtube or Vimeo links) into the editor or featured image, that code is being auto-converted into a Calendar item. If we paste the embed code directly from Youtube this doesn’t happen, but we need the previous functionality in order for our responsive designs and archiving system to work.

    We found that this code is being generated by the embed.php file in the EC plugin (in the src->views folders), and removing that code stops the calendar from appearing but doesn’t return WordPress’ embed functionality.

    Please let us know what we can do to fix this, thanks!

    #1130814
    Jonathan Sanderson
    Participant

    Just to confirm that I’m seeing the same issue here, specifically with the Featured Video Plus v2.2 plugin but also elsewhere around my site.

    #1131102
    Cliff
    Member

    Hi. Sorry this is happening for you.

    This is a bug we recently discovered and should be releasing a fix for in our next update.

     

    I’ll mark this ticket as Pending Fix, which means this thread should receive a reply once the applicable fix has been released. I cannot guarantee when it will be fixed as it’s in the development team’s hands now. They need to assign it, code it, test it, and schedule it for release. I apologize for this issue and appreciate your understanding and patience.

    Until then, please reference this code snippet that should resolve things going forward.

    Please let me know how things go for you.

    #1131364
    Susan
    Participant

    Hi, thanks for your reply. The code fix seems to have worked for new pages, however do you have a solution for pages we opened yesterday before the fix was implemented? As mentioned in the other thread, pages that had already been affected by the issue wouldn’t revert because of the code, and we have a few pages where this is still this is still the case. It is important for us that embedding work correctly on them because of how it interacts with our archiving system.

    Also can you confirm that with the code in place, it’s safe to open previously made pages without them being affected by the issue?

    Thanks!

    #1131623
    Cliff
    Member

    Susan, I understand the concern about messed up oEmbeds that are still left over.

    It’s probable that the stored oEmbeds will eventually refresh/update themselves some time in the future.

    However, if you want to force all oEmbeds to refresh themselves, you might try this code snippet:

    https://gist.github.com/cliffordp/e331b28d0d4d3b042fc7daf714256796

    1. add this code to your theme’s functions.php file
    2. load a page on the front-end of your site (e.g. the home page)
    3. comment out or delete this code from your theme’s functions.php file
    4. check to see if previously incorrect oEmbeds are now fixed (i.e. visit a page that had one and see if the oEmbed is now displaying correctly)

    Warning: If you do NOT follow step #3, your site will be significantly less efficient than it should be!

    Please let me know how things worked out for you.

    Thanks!

    #1132019
    Susan
    Participant

    Ok thanks we will test this out on Monday and let you know!

    #1132268
    Cliff
    Member

    OK. Let me know how it goes.

    #1135169
    Susan
    Participant

    Hi, turns out we didn’t need this previous fix.

    I see there’s a new update to the plugin available – once we update, will we be able to remove the code from the original link you provided above?

    Thanks!

    #1135616
    Cliff
    Member

    Hi Susan. This bug is not yet fixed in our releases. It is recommended to remove the code snippet only after the fix is released, but you can choose how to run your own site. 🙂

    #1136947
    Geoff
    Member

    Hey there,

    We wanted to follow-up to let you know that we were able to patch this up in The Events Calendar and Events Calendar PRO 4.2.2, which are both now available to download and install if you haven’t done so already.

    Please do be sure to check out our release notes for a full overview of what’s new in the release and feel free to let us know if you run into this or any other issues after the update.

    Thanks so much for your patience while we worked on this!

    Cheers,
    Geoff

    #1143013
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘After upgrading plugins, all embeds in WP editor convert to Events’ is closed to new replies.