Server error log
- ErrorException: Template error: key() expects parameter 1 to be array, null given
- src/addons/TickTackk/SignatureOnce/XF/Entity/Post.php:45
- Generated by: Unknown account
- 24.03.2018 o 14:20
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(2, 'key() expects p...', 'src/addons...', 45, Array)
#1 src/addons/TickTackk/SignatureOnce/XF/Entity/Post.php(45): key(NULL)
#2 [internal function]: TickTackk\SignatureOnce\XF\Entity\Post->canShowSignature()
#3 src/XF/Template/Templater.php(938): call_user_func_array(Array, Array)
#4 internal_data/code_cache/templates/l3/s11/public/message_macros.php(262): XF\Template\Templater->method(Object(TickTackk\SignatureOnce\XF\Entity\Post), 'canShowSignatur...', Array)
#5 src/XF/Template/Templater.php(661): XF\Template\Templater->{closure}(Object(SV\MultiPrefix\XF\Template\Templater), Array, Array)
#6 internal_data/code_cache/templates/l3/s11/public/post_macros.php(182): XF\Template\Templater->callMacro('message_macros', 'signature', Array, Array)
#7 src/XF/Template/Templater.php(661): XF\Template\Templater->{closure}(Object(SV\MultiPrefix\XF\Template\Templater), Array, Array)
#8 internal_data/code_cache/templates/l3/s11/public/thread_view.php(552): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#9 src/XF/Template/Templater.php(1248): XF\Template\Templater->{closure}(Object(SV\MultiPrefix\XF\Template\Templater), Array)
#10 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#11 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#12 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#13 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#14 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#15 src/XF/App.php(1891): XF\Mvc\Dispatcher->run()
#16 src/XF.php(328): XF\App->run()
#17 index.php(13): XF::runApp('XF\\Pub\\App')
#18 {main}
Request state
array(4) {
["url"] => string(55) "/t/dotykowy-desire-c7-milestone.49697/page-2?view=votes"
["referrer"] => bool(false)
["_GET"] => array(2) {
["/t/dotykowy-desire-c7-milestone_49697/page-2"] => string(0) ""
["view"] => string(5) "votes"
}
["_POST"] => array(0) {
}
}