DragonByte Tech
Well-known member
- Affected version
- 2.2.7pl1
- ErrorException: Template error: [E_WARNING] include(): Failed opening '/var/www/html/devboards/<>/internal_data/code_cache/phrase_groups/l1/editor_dropdown.php' for inclusion (include_path='.:/usr/local/lib/php')
- src/XF/Language.php:287
#0 src/XF/Language.php(287): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] inc...', '/var/www/html/d...', 287)
#1 src/XF/Language.php(287): include()
#2 src/XF/Language.php(249): XF\Language->loadPhraseGroup('editor_dropdown')
#3 src/XF/Language.php(132): XF\Language->getPhraseText('editor_dropdown...')
#4 src/XF/Phrase.php(54): XF\Language->renderPhrase('editor_dropdown...', Array, 'html', Array)
#5 src/XF/Phrase.php(61): XF\Phrase->render()
#6 src/XF/Phrase.php(87): XF\Phrase->__toString()
#7 [internal function]: XF\Phrase->jsonSerialize()
#8 src/XF/Template/Templater.php(4820): json_encode(Array)
#9 src/XF/Template/Templater.php(1081): XF\Template\Templater->filterJson(Object(SV\StandardLib\XF\Template\Templater), Array, true)
#10 internal_data/code_cache/templates/l1/s1/public/editor.php(59): XF\Template\Templater->filter(Array, Array, true)
#11 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#12 src/XF/Template/Templater.php(6320): XF\Template\Templater->renderTemplate('editor', Array)
#13 src/addons/<>/<>/XF/Template/Templater.php(51): XF\Template\Templater->formEditor(Array)
#14 internal_data/code_cache/templates/l1/s1/public/addon_prefix_quick_reply_macros.php(141): <>\<>\XF\Template\Templater->formEditor(Array)
#15 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#16 internal_data/code_cache/templates/l1/s1/public/addon_prefix_thread_list_<>_macros.php(115): XF\Template\Templater->callMacro('<>...', 'editor', Array, Array)
#17 src/XF/Template/Templater.php(987): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#18 src/XF/Template/Templater.php(923): XF\Template\Templater->renderExtensionInternal('main_cell', Array, Array, Object(XF\Template\ExtensionSet))
#19 internal_data/code_cache/templates/l1/s1/public/thread_list_macros.php(696): XF\Template\Templater->renderExtension('main_cell', Array, Object(XF\Template\ExtensionSet))
#20 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#21 src/XF/Template/Templater.php(815): XF\Template\Templater->callMacro('thread_list_mac...', 'quick_thread', Array, Array, Object(XF\Template\MacroState))
#22 internal_data/code_cache/templates/l1/s1/public/addon_prefix_forum_view_type_zap.php(42): XF\Template\Templater->callMacro('<>...', 'quick_thread', Array, Array)
#23 src/XF/Template/Templater.php(987): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#24 src/XF/Template/Templater.php(923): XF\Template\Templater->renderExtensionInternal('thread_list', Array, Array, Object(XF\Template\ExtensionSet))
#25 internal_data/code_cache/templates/l1/s1/public/forum_view.php(549): XF\Template\Templater->renderExtension('thread_list', Array, Object(XF\Template\ExtensionSet))
#26 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#27 src/XF/Template/Templater.php(1642): XF\Template\Templater->renderTemplate('forum_view', Array, true, Object(XF\Template\ExtensionSet))
#28 src/XF/Template/Templater.php(1642): XF\Template\Templater->renderTemplate('forum_view_type...', Array, true, Object(XF\Template\ExtensionSet))
#29 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('<>...', Array)
#30 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#31 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('Addon\\Prefix...', 'public:<>...', Array)
#32 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#33 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#34 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#35 src/XF/App.php(2345): XF\Mvc\Dispatcher->run()
#36 src/XF.php(512): XF\App->run()
#37 index.php(20): XF::runApp('XF\\Pub\\App')
#38 {main}
This is line 59 of
internal_data/code_cache/templates/l1/s1/public/editor.php
Code:
<script class="js-editorDropdowns" type="application/json">' . $__templater->filter($__vars['editorDropdowns'], array(array('json', array()),array('raw', array()),), true) . '</script>
When looking in the BB code button manager, under "Editor drop-downs", there was a
editor_dropdown.xfList
which contains these items:Yet this had no phrase. After manually setting the title to "List", the error went away.