Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Tweet button gives error

Hi,

When I click the tweet button, I get the error "View not found". When I click a second time, I get the error "Status is a duplicate." (see screenshot).

I suspect that this has been happening since the upgrade from 2.5.1 to 2.6.

I'm getting the following debug messages:

(1)

Gdn_PluginManager::registerHandler is deprecated.

#0 [internal function]: gdn_ErrorHandler(16384, 'Gdn_PluginManag...', '/home/v...', 841, Array)
#1 /pathtovanilla/library/core/functions.general.php(841): trigger_error('Gdn_PluginManag...', 16384)
#2 /pathtovanilla/library/core/class.pluginmanager.php(668): deprecated('Gdn_PluginManag...')
#3 /pathtovanilla/library/core/class.pluginmanager.php(743): Gdn_PluginManager->registerHandler('VanillaStatsPlu...', 'StatsDashboard', 'SettingsControl...', 'home', 'method')
#4 /pathtovanilla/plugins/VanillaStats/class.vanillastats.plugin.php(61): Gdn_PluginManager->registerNewMethod('VanillaStatsPlu...', 'StatsDashboard', 'SettingsControl...', 'home')
#5 [internal function]: VanillaStatsPlugin->gdn_dispatcher_beforeDispatch_handler(Object(Gdn_Dispatcher), Array)
#6 /pathtovanilla/library/Garden/EventManager.php(278): call_user_func_array(Array, Array)
#7 /pathtovanilla/core/class.pluginmanager.php(806): Garden\EventManager->fire('gdn_dispatcher_...', Object(Gdn_Dispatcher), Array)
#8 /pathtovanilla/library/core/class.pluginmanager.php(765): Gdn_PluginManager->callEventHandler(Object(Gdn_Dispatcher), 'Gdn_Dispatcher', 'BeforeDispatch', 'handler')
#9 /pathtovanilla/library/core/class.pluggable.php(133): Gdn_PluginManager->callEventHandlers(Object(Gdn_Dispatcher), 'Gdn_Dispatcher', 'BeforeDispatch')
#10 /pathtovanilla/library/core/class.dispatcher.php(236): Gdn_Pluggable->fireEvent('BeforeDispatch')
#11 /pathtovanilla/index.php(29): Gdn_Dispatcher->dispatch()
#12 {main}

(2)

hash_equals(): Expected user_string to be a string, boolean given

#0 [internal function]: gdn_ErrorHandler(2, 'hash_equals(): ...', '/home/v...', 682, Array)
#1 /pathtovanilla/library/core/class.session.php(682): hash_equals('Wrb8ZdieCFQRfG2...', false)
#2 /pathtovanilla/applications/vanilla/controllers/class.moderationcontroller.php(49): Gdn_Session->validateTransientKey(false)
#3 /pathtovanilla/applications/vanilla/controllers/class.discussioncontroller.php(252): ModerationController::informCheckedComments(Object(DiscussionController))
#4 /pathtovanilla/library/core/class.dispatcher.php(845): DiscussionController->index('396', 'sexual-miscondu...', '')
#5 /pathtovanilla/library/core/class.dispatcher.php(274): Gdn_Dispatcher->dispatchController(Object(Gdn_Request), Array)
#6 /pathtovanilla/index.php(29): Gdn_Dispatcher->dispatch()
#7 {main}

(3)

Parameter 1 to PostCountPlugin::DiscussionController_AuthorInfo_Handler() expected to be a reference, value given

#0 [internal function]: gdn_ErrorHandler(2, 'Parameter 1 to ...', '/home/v...', 278, Array)
#1 /pathtovanilla/library/Garden/EventManager.php(278): call_user_func_array(Array, Array)
#2 /pathtovanilla/library/core/class.pluginmanager.php(806): Garden\EventManager->fire('discussioncontr...', Object(DiscussionController), Array)
#3 /pathtovanilla/library/core/class.pluginmanager.php(765): Gdn_PluginManager->callEventHandler(Object(DiscussionController), 'DiscussionContr...', 'AuthorInfo', 'handler')
#4 /pathtovanilla/library/core/class.pluggable.php(133): Gdn_PluginManager->callEventHandlers(Object(DiscussionController), 'DiscussionContr...', 'AuthorInfo')
#5 /pathtovanilla/applications/vanilla/views/discussion/discussion.php(48): Gdn_Pluggable->fireEvent('AuthorInfo')
#6 /pathtovanilla/applications/vanilla/views/discussion/index.php(31): include('/home/v...')
#7 /pathtovanilla/library/core/class.controller.php(718): include('/home/v...')
#8 /pathtovanilla/library/core/class.controller.php(1316): Gdn_Controller->fetchView('', false, false)
#9 /pathtovanilla/library/core/class.pluggable.php(210): Gdn_Controller->xRender()
#10 /pathtovanilla/applications/vanilla/controllers/class.discussioncontroller.php(279): Gdn_Pluggable->__call('render', Array)
#11 /pathtovanilla/library/core/class.dispatcher.php(845): DiscussionController->index('396', 'sexual-miscondu...', '')
#12 /pathtovanilla/library/core/class.dispatcher.php(274): Gdn_Dispatcher->dispatchController(Object(Gdn_Request), Array)
#13 /pathtovanilla/index.php(29): Gdn_Dispatcher->dispatch()
#14 {main}

(4) to (6)

Parameter 1 to PostCountPlugin::DiscussionController_AuthorInfo_Handler() expected to be a reference, value given

#0 [internal function]: gdn_ErrorHandler(2, 'Parameter 1 to ...', '/home/v...', 278, Array)
#1 /pathtovanilla/library/Garden/EventManager.php(278): call_user_func_array(Array, Array)
#2 /pathtovanilla/library/core/class.pluginmanager.php(806): Garden\EventManager->fire('discussioncontr...', Object(DiscussionController), Array)
#3 /pathtovanilla/library/core/class.pluginmanager.php(765): Gdn_PluginManager->callEventHandler(Object(DiscussionController), 'DiscussionContr...', 'AuthorInfo', 'handler')
#4 /pathtovanilla/library/core/class.pluggable.php(133): Gdn_PluginManager->callEventHandlers(Object(DiscussionController), 'DiscussionContr...', 'AuthorInfo')
#5 /pathtovanilla/applications/vanilla/views/discussion/helper_functions.php(132): Gdn_Pluggable->fireEvent('AuthorInfo')
#6 /pathtovanilla/applications/vanilla/views/discussion/comments.php(19): writeComment(Object(stdClass), Object(DiscussionController), Object(Gdn_Session), 1)
#7 /pathtovanilla/applications/vanilla/views/discussion/index.php(53): include('/home/v...')
#8 /pathtovanilla/library/core/class.controller.php(718): include('/home/v...')
#9 /pathtovanilla/library/core/class.controller.php(1316): Gdn_Controller->fetchView('', false, false)
#10 /pathtovanilla/library/core/class.pluggable.php(210): Gdn_Controller->xRender()
#11 /pathtovanilla/applications/vanilla/controllers/class.discussioncontroller.php(279): Gdn_Pluggable->__call('render', Array)
#12 /pathtovanilla/library/core/class.dispatcher.php(845): DiscussionController->index('396', 'sexual-miscondu...', '')
#13 /pathtovanilla/library/core/class.dispatcher.php(274): Gdn_Dispatcher->dispatchController(Object(Gdn_Request), Array)
#14 /pathtovanilla/index.php(29): Gdn_Dispatcher->dispatch()
#15 {main}

(1) looks just like a warning. (2) to (6) seem to be more serious. Any idea or suggestion how to continue troubleshooting?

Sign In or Register to comment.