- 🇭🇷Croatia Aporie
Thanks a lot Volman for the patch.
With the last version of Drupal 10 I was getting errors from functions not being compatible with Symfony\Component\Cache\Adapter\AbstractAdapter interface.
Attached is a patch to make them compatible. Some might need a few tweaks to respect their return types though, but haven't got time to get there yet.
- 🇭🇷Croatia Aporie
Ok, so as expected, patch #18 is useless because functions don't return their expected return type.
I investigated, and I wonder if Drupal caches are compatible with function definitions in symfony.
If I check in vendor/symfony/cache/Traits/AbstractAdapterTrait.php::doSave(), the function should return @return array|bool The identifiers that failed to be cached or a boolean stating if caching succeeded or not.
Though Drupal backend cache throw errors on failure.
I ended up returning TRUE for each function. At least it does work now.
- 🇮🇳India bhanu951
Anyone got any suggestion on how to fix this issue. Seems Neither the patch from #9 nor #19 can resolve this issue.
- 🇮🇳India bhanu951
#9 fixes the issue but only with "php-ffmpeg/php-ffmpeg" version "0.19.0"
- 🇭🇷Croatia Aporie
You should check the version of FFmpeg installed on your server. It's possible you have an incompatibility between the PHP library and your server version.
ffmpeg -version
- First commit to issue fork.
- Open on Drupal.org →Core: 9.5.x + Environment: PHP 8.1 & MariaDB 10.3.22last update
12 months ago Waiting for branch to pass - 🇨🇭Switzerland berdir Switzerland
Totally forgot I was a maintainer here. Looking into this now and starting a new MR with the changes.
To be able to test this, I merged in the D10 rector patch from 📌 Automated Drupal 10 compatibility fixes Needs review and also enabled Gitlab CI.
I'm not sure why we allow 0.19 *and* 1.1 at this point, #21 mentions this only works with 0.19, will try to do some real tests now to see how this works.
- Open on Drupal.org →Core: 9.5.x + Environment: PHP 8.1 & MariaDB 10.3.22last update
12 months ago Waiting for branch to pass - Status changed to Fixed
12 months ago 10:35am 22 December 2023 - 🇨🇭Switzerland berdir Switzerland
Did some basic tests for our use case, that works with version 1.1. Keeping the version string as it is for now.
Automatically closed - issue fixed for 2 weeks with no activity.