Exterior Door & Window Videos

I am using TubePress Pro and getting the following error with this shortcode:
[tubepress mode=“playlist” playlistValue=“PLVMl7f9uffUia-Vbrv1Lb7TKia0DiH1cz”]

“The filter “round” does not exist in “gallery/pagination.html.twig” at line 27”

Any ideas?

This is an unusual error message, but it indicates a problem with the templating library (called “Twig”) that TubePress uses internally. The “round” filter exists in all versions of Twig, so the fact that TubePress can’t find it means one of two things:

  1. You have a corrupted TubePress installation:
    You could try to reinstall, then clear your system cache to see if that clears up the error.

OR

  1. Another plugin on your site is interfering with Twig:
    To determine if this is the case, temporarily disable all of your other plugins. If the problem goes away (you no longer see the error message), then you can start to re-enable your plugins one by one. This will allow you to pinpoint the plugin that’s interfering. From there, you can either contact that plugin’s author for guidance or let us know which plugin it is. We’d be happy to take a closer look.

Let us know how it goes or if we can be of further assistance!

Hi Elizabeth,

I tried both steps and neither worked,

I also disabled all plug ins and one by one and then re-activated them.

When I re-activated TubePress Pro, however, the error re-appeared on this page:

This is the shortcode I am using:

[tubepress mode=“playlist” playlistValue=“PLVMl7f9uffUg38kS35eKChts_chOZ3-Ai”]

I have the YouTube Google API key activated.

Any other ideas?

Thanks,

Chris

Hi Chris,

I’m sorry to hear you’re still experiencing the error. We’d love to get a firsthand look and investigate further. Are you willing and able to provide WordPress and FTP credentials with us? If so, please email us using the “confidential data” option here.

Hi Elizabeth,
I sent the request credentials in the confidential form.
Thanks,
Chris

Thanks for supplying those credentials, Chris. We were able to log in and narrow the issue down to the All-in-One Event Calendar plugin. We know from a handful of past reports that All-in-One Event Calendar uses a conflicting (very old) version of Twig. We “upgraded” their copy of Twig to match TubePress’s version of Twig, and now your TubePress gallery is working!

To ensure that you don’t run into this issue in the future, you’ll need to follow the steps below any time you upgrade All-in-One Event Calendar:

  1. Download Twig 1.24.0

  2. Unzip this file on your local machine. It will expand into a directory named Twig-1.24.0

  3. Put your site into maintenance mode.

  4. On your web server, ​remove​ the entire directory at wp-content/plugins/all-in-one-event-calendar/vendor/twig. This effectively removes the old version of Twig.

  5. Upload the entire directory from your local machine at Twig-1.24.0/lib/Twig to wp-content/plugins/all-in-one-event-calendar/vendor. After the upload, you should have a directory at wp-content/plugins/all-in-one-event-calendar/vendor/Twig

  6. Rename that directory to all lowercase. You should now have a directory at wp-content/plugins/all-in-one-event-calendar/vendor/twig

The long-term solution is for Time.ly to upgrade their copy of Twig to a modern version, but for now this procedure will do the trick. Let us know if there is anything else we can do for you, and thank you for using TubePress!

Wow, thank you for figuring it out!
I’ll go ahead and notify All-In-One Event Calendar as well.
They should be aware.
I really appreciate your diligence.
Thanks,
Chris Boyd

1 Like