Open ohnonot opened 7 years ago
I had the same problem. From what I was able to figure the default pack of icons has a bad configuration file (not matching names for emojis files) instead of default package use this: Https://github.com/sommerregen/grav-data-smileys-emoji than in page content past those codes: http://www.webpagefx.com/tools/emoji-cheat-sheet/
Also look here: https://github.com/Sommerregen/grav-plugin-smileys/issues/3
@daverdalas you're right - there are two mistakes on the list.
It's not visible if in php.ini: error_reporting is set to omit E_NOTICE errors.
Same problem today. Here's the complete list of errors :
Whoops\Exception\ErrorException thrown with message "Undefined index: enabled"
Stacktrace:
#20 Whoops\Exception\ErrorException in D:\Work\Programmation\Web\Tests\grav\www\user\plugins\smileys\classes\Smileys.php:202
#19 Whoops\Run:handleError in D:\Work\Programmation\Web\Tests\grav\www\user\plugins\smileys\classes\Smileys.php:202
#18 Grav\Plugin\Smileys:load in D:\Work\Programmation\Web\Tests\grav\www\user\plugins\smileys\classes\Smileys.php:80
#17 Grav\Plugin\Smileys:__construct in D:\Work\Programmation\Web\Tests\grav\www\user\plugins\smileys\smileys.php:237
#16 Grav\Plugin\SmileysPlugin:init in D:\Work\Programmation\Web\Tests\grav\www\user\plugins\smileys\smileys.php:113
#15 Grav\Plugin\SmileysPlugin:onPageContentProcessed in D:\Work\Programmation\Web\Tests\grav\www\vendor\symfony\event-dispatcher\EventDispatcher.php:184
#14 call_user_func in D:\Work\Programmation\Web\Tests\grav\www\vendor\symfony\event-dispatcher\EventDispatcher.php:184
#13 Symfony\Component\EventDispatcher\EventDispatcher:doDispatch in D:\Work\Programmation\Web\Tests\grav\www\vendor\symfony\event-dispatcher\EventDispatcher.php:46
#12 Symfony\Component\EventDispatcher\EventDispatcher:dispatch in D:\Work\Programmation\Web\Tests\grav\www\vendor\rockettheme\toolbox\Event\src\EventDispatcher.php:23
#11 RocketTheme\Toolbox\Event\EventDispatcher:dispatch in D:\Work\Programmation\Web\Tests\grav\www\system\src\Grav\Common\Grav.php:288
#10 Grav\Common\Grav:fireEvent in D:\Work\Programmation\Web\Tests\grav\www\system\src\Grav\Common\Page\Page.php:668
#9 Grav\Common\Page\Page:content in D:\Work\Programmation\Web\Tests\grav\www\system\src\Grav\Common\Twig\Twig.php:324
#8 Grav\Common\Twig\Twig:processSite in D:\Work\Programmation\Web\Tests\grav\www\system\src\Grav\Common\Service\OutputServiceProvider.php:27
#7 Grav\Common\Service\OutputServiceProvider:Grav\Common\Service\{closure} in D:\Work\Programmation\Web\Tests\grav\www\vendor\pimple\pimple\src\Pimple\Container.php:118
#6 Pimple\Container:offsetGet in D:\Work\Programmation\Web\Tests\grav\www\system\src\Grav\Common\Processors\RenderProcessor.php:19
#5 Grav\Common\Processors\RenderProcessor:process in D:\Work\Programmation\Web\Tests\grav\www\system\src\Grav\Common\Grav.php:132
#4 Grav\Common\Grav:Grav\Common\{closure} in D:\Work\Programmation\Web\Tests\grav\www\system\src\Grav\Common\Grav.php:379
#3 Grav\Common\Grav:Grav\Common\{closure} in D:\Work\Programmation\Web\Tests\grav\www\system\src\Grav\Common\Grav.php:355
#2 call_user_func_array in D:\Work\Programmation\Web\Tests\grav\www\system\src\Grav\Common\Grav.php:355
#1 Grav\Common\Grav:__call in D:\Work\Programmation\Web\Tests\grav\www\system\src\Grav\Common\Grav.php:133
#0 Grav\Common\Grav:process in D:\Work\Programmation\Web\Tests\grav\www\index.php:52
This is the error I get on page reload, simply trying smileys out with all default settings. setting the plugin to
enabled: false
in user/config/plugins/smileys.yaml makes the error go away, but then of course the plugin doesn't do anything either. My grav is up-to-date. Am I missing something here?relevant log entry: