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?
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:
OR
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:
Download Twig 1.24.0
Unzip this file on your local machine. It will expand into a directory named Twig-1.24.0
Put your site into maintenance mode.
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.
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
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