Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

Notices in Debug Trace

In Version 3.0, I get several notices in the Debug Trace window when debug mode is enabled. This happens during ordinary activity like browsing a thread. This is low priority since they are just warnings. I just wanted to record them here so they can be fixed. Here are examples:

Warning 1: Undefined index: ThemeOptions


#0 /srv/www/mysite.example.com/cache/Smarty/compile/vanilla^3cfbb555c33e8e1c789a84363d301281104f708c_0.file.default.master.tpl.php(105): gdn_ErrorHandler(8, 'Undefined index...', '/srv/www/aviati...', 105, Array)

#1 /srv/www/mysite.example.com/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5d2f81d9a475b8_15525551(Object(Smarty_Internal_Template))

#2 /srv/www/mysite.example.com/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))

#3 /srv/www/mysite.example.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))

#4 /srv/www/mysite.example.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 1)

#5 /srv/www/mysite.example.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, 'vanilla', NULL, 1)

#6 /srv/www/mysite.example.com/library/core/class.smarty.php(161): Smarty_Internal_TemplateBase->display('/srv/www/aviati...', NULL, 'vanilla')

#7 /srv/www/mysite.example.com/library/core/class.controller.php(2020): Gdn_Smarty->render('/srv/www/aviati...', Object(DiscussionsController))

#8 /srv/www/mysite.example.com/library/core/class.controller.php(1452): Gdn_Controller->renderMaster()

#9 /srv/www/mysite.example.com/library/core/class.pluggable.php(217): Gdn_Controller->xRender()

#10 /srv/www/mysite.example.com/applications/vanilla/controllers/class.discussionscontroller.php(228): Gdn_Pluggable->__call('render', Array)

#11 /srv/www/mysite.example.com/library/core/class.dispatcher.php(862): DiscussionsController->index(1)

#12 /srv/www/mysite.example.com/library/core/class.dispatcher.php(279): Gdn_Dispatcher->dispatchController(Object(Gdn_Request), Array)

#13 /srv/www/mysite.example.com/index.php(29): Gdn_Dispatcher->dispatch()

#14 {main}


Warning 2: Trying to get property 'value' of non-object


#0 /srv/www/mysite.example.com/cache/Smarty/compile/vanilla^3cfbb555c33e8e1c789a84363d301281104f708c_0.file.default.master.tpl.php(105): gdn_ErrorHandler(8, 'Trying to get p...', '/srv/www/aviati...', 105, Array)

#1 /srv/www/mysite.example.com/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5d2f81d9a475b8_15525551(Object(Smarty_Internal_Template))

#2 /srv/www/mysite.example.com/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))

#3 /srv/www/mysite.example.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))

#4 /srv/www/mysite.example.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 1)

#5 /srv/www/mysite.example.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, 'vanilla', NULL, 1)

#6 /srv/www/mysite.example.com/library/core/class.smarty.php(161): Smarty_Internal_TemplateBase->display('/srv/www/aviati...', NULL, 'vanilla')

#7 /srv/www/mysite.example.com/library/core/class.controller.php(2020): Gdn_Smarty->render('/srv/www/aviati...', Object(DiscussionsController))

#8 /srv/www/mysite.example.com/library/core/class.controller.php(1452): Gdn_Controller->renderMaster()

#9 /srv/www/mysite.example.com/library/core/class.pluggable.php(217): Gdn_Controller->xRender()

#10 /srv/www/mysite.example.com/applications/vanilla/controllers/class.discussionscontroller.php(228): Gdn_Pluggable->__call('render', Array)

#11 /srv/www/mysite.example.com/library/core/class.dispatcher.php(862): DiscussionsController->index(1)

#12 /srv/www/mysite.example.com/library/core/class.dispatcher.php(279): Gdn_Dispatcher->dispatchController(Object(Gdn_Request), Array)

#13 /srv/www/mysite.example.com/index.php(29): Gdn_Dispatcher->dispatch()

#14 {main}


Warning 3: Undefined index: hasAdvancedSearch


#0 /srv/www/mysite.example.com/cache/Smarty/compile/vanilla^3cfbb555c33e8e1c789a84363d301281104f708c_0.file.default.master.tpl.php(414): gdn_ErrorHandler(8, 'Undefined index...', '/srv/www/aviati...', 414, Array)

#1 /srv/www/mysite.example.com/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5d2f81d9a475b8_15525551(Object(Smarty_Internal_Template))

#2 /srv/www/mysite.example.com/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))

#3 /srv/www/mysite.example.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))

#4 /srv/www/mysite.example.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 1)

#5 /srv/www/mysite.example.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, 'vanilla', NULL, 1)

#6 /srv/www/mysite.example.com/library/core/class.smarty.php(161): Smarty_Internal_TemplateBase->display('/srv/www/aviati...', NULL, 'vanilla')

#7 /srv/www/mysite.example.com/library/core/class.controller.php(2020): Gdn_Smarty->render('/srv/www/aviati...', Object(DiscussionsController))

#8 /srv/www/mysite.example.com/library/core/class.controller.php(1452): Gdn_Controller->renderMaster()

#9 /srv/www/mysite.example.com/library/core/class.pluggable.php(217): Gdn_Controller->xRender()

#10 /srv/www/mysite.example.com/applications/vanilla/controllers/class.discussionscontroller.php(228): Gdn_Pluggable->__call('render', Array)

#11 /srv/www/mysite.example.com/library/core/class.dispatcher.php(862): DiscussionsController->index(1)

#12 /srv/www/mysite.example.com/library/core/class.dispatcher.php(279): Gdn_Dispatcher->dispatchController(Object(Gdn_Request), Array)

#13 /srv/www/mysite.example.com/index.php(29): Gdn_Dispatcher->dispatch()

#14 {main}


Warning 4: Trying to get property 'DateMarkedRead' of non-object


#0 /srv/www/mysite.example.com/applications/vanilla/models/class.commentmodel.php(753): gdn_ErrorHandler(8, 'Trying to get p...', '/srv/www/aviati...', 753, Array)

#1 /srv/www/mysite.example.com/applications/vanilla/controllers/class.discussioncontroller.php(224): CommentModel->setWatch(Object(stdClass), 30, 0, 3)

#2 /srv/www/mysite.example.com/library/core/class.dispatcher.php(862): DiscussionController->index('7', 'testing-mobile', '')

#3 /srv/www/mysite.example.com/library/core/class.dispatcher.php(279): Gdn_Dispatcher->dispatchController(Object(Gdn_Request), Array)

#4 /srv/www/mysite.example.com/index.php(29): Gdn_Dispatcher->dispatch()

#5 {main}

Sign In or Register to comment.