Error when installing
Permalink Browser Info Environment
When I try to install I the following error and the block is not installed even though it shows as installed
Exception Occurred: /homepages/29/d375952042/htdocs/concrete5/concrete/vendor/illuminate/container/Container.php:779 Use of undefined constant CACHE_LIFETIME - assumed 'CACHE_LIFETIME' (this will throw an Error in a future version of PHP) (2)
Exception Occurred: /homepages/29/d375952042/htdocs/concrete5/concrete/vendor/illuminate/container/Container.php:779 Use of undefined constant CACHE_LIFETIME - assumed 'CACHE_LIFETIME' (this will throw an Error in a future version of PHP) (2)
Type: | Discussion |
---|---|
Status: | Resolved |
Have you found a solution for this?
You can make a copy of /blocks/html5_audio_player_basic/controller.php in your application/blocks/ directory or edit this file directly.
Exchange the constant that does not exist anymore with the default: 0;
That means change line 20 to:
Exchange the constant that does not exist anymore with the default: 0;
That means change line 20 to:
protected $btCacheBlockOutputLifetime = 0;
This has been fixed in v2.0.7