-
-
Notifications
You must be signed in to change notification settings - Fork 228
Description
I updated my Grav CMS in docker container to latest (1.7.49.5).
I then opened the plugins section, and clicked install on the Code Syntax Highlighter [codesh] plugin. (https://github.com/trilbymedia/grav-plugin-codesh)
After this installed itself and the dependency (shortcode core) it caused a PHP compile error breaking both the user and admin side of Grav.
Whoops \ Exception \ ErrorException (E_COMPILE_ERROR)
Declaration of Grav\Framework\Cache\AbstractCache::get($key, $default = null) must be compatible with Psr\SimpleCache\CacheInterface::get(string $key, mixed $default = null): mixed
I've reinstalled the shortcode-core plugin first and confirmed that doesn't create the issue. Then I reinstalled codesh via command line gpm, and got the same issue until I uninstalled it.
See attached screenshot and HTML saved file of the error.