I’m using the Hotdoy Theme which comes with a number of custom Shortcodes so I created a custom path to install them as per the suggestion in Shortcodes-Core
plugin.
/user/custom/shortcodes
As soon as I save the plugin I immediately get the following error:
Server Error
Sorry, something went terribly wrong!
### E_COMPILE_ERROR - Grav\Plugin\ShortcodeCore\ShortcodeManager::registerShortcode(): Failed opening required '/var/www/grav/user/custom/shortcodes/@eaDir' (include_path='.:/usr/share/php')
##### For further details please review your `logs/` folder, or enable displaying of errors in your system configuration.
Removing the path from shortcodes-core.yaml
fixes the issue but added it again bring the problem back.
This is the error within the logs:
Grav\Plugin\ShortcodeCore\ShortcodeManager::registerShortcode(): Failed opening required '/var/www/grav/user/custom/shortcodes/@eaDir' (include_path='.:/usr/share/php')
I’m running Grav via docker (https://github.com/dsavell/docker-grav) on my Synology DS918+ and there is no @eaDir directory in the location.
I am using the latest shortcodes-core plugin along with the latest install of Grav (with admin). Any help would be graceful.