phpvideotoolkit-v2 icon indicating copy to clipboard operation
phpvideotoolkit-v2 copied to clipboard

Can't inherit abstract function CacheInterface::isAvailable()

Open sonnb opened this issue 9 years ago • 1 comments

Hello,

Without define any cache_driver, one of my users get this issue while processing the video: Fatal Error: Can't inherit abstract function PHPVideoToolkit\CacheInterface::isAvailable() (previously declared abstract in PHPVideoToolkit\CacheAbstract) - library/PHPVideoToolkit/CacheAbstract.php:22

sonnb avatar Jul 08 '15 03:07 sonnb

This is a known issue in PHP 5.3.0 which was reported here: https://bugs.php.net/bug.php?id=43200. In order to get rid of this issue, I believe we can safety remove the abstract method isAvailable from CacheAbstract. I also created a pull request here https://github.com/buggedcom/phpvideotoolkit-v2/pull/61 in case you want to remove it.

sonnb avatar Jul 18 '15 11:07 sonnb