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.

[Solved] Bonk opening discussion*

camocamo New
edited October 2011 in Vanilla 2.0 - 2.8
When I click a discussion title to read, I get a BONK, just started suddenly no idea why

http://www.camosreptiles.com.au/forum/index.php?p=/discussion/30/snakemen-in-a-venomous-fight-for-title

Please help me debug, have installed firefox browser with firebug but getting no errors, not sure if Im using it right....
Tagged:

Best Answers

  • UnderDogUnderDog MVP
    Answer ✓

    There was an error rendering this rich post.

  • camocamo New
    edited October 2011 Answer ✓
    My Error, I overwrote

    /plugins/Tagging/class.tagmodel.php instead of

    /plugins/Tagging/class.tagmodule.php

    No wonder. Resolution, uploading and switching back to original plugin


    I am an idiot, thanks again for your help @UnderDog :)

Answers

  • UnderDogUnderDog MVP
    Answer ✓

    There was an error rendering this rich post.

  • camocamo New
    edited October 2011
    Thankyou! @UnderDog, I didnt know how to do that! :) (*Reported at Github)

    The "TagModule" object does not have a "xInlineDisplay" method.
    The error occurred on or near: /s101-2/home6/camosreptiles/forum/library/core/class.pluggable.php
    168: // Make sure that $ActualMethodName exists before continuing:
    169: if (!method_exists($this, $ActualMethodName)) {
    170: // Make sure that a plugin is not handling the call
    171: if (!Gdn::PluginManager()->HasNewMethod($this->ClassName, $ReferenceMethodName))
    *Red*172: trigger_error(ErrorMessage('The "' . $this->ClassName . '" object does not have a "' . $ActualMethodName . '" method.', $this->ClassName, $ActualMethodName), E_USER_ERROR);
    173: }
    174:
    175: // Make sure the arguments get passed in the same way whether firing a custom event or a magic one.
    176: $this->EventArguments = $Arguments;

    Backtrace:
    /s101-2/home6/camosreptiles/forum/library/core/class.pluggable.phpPHP::Gdn_ErrorHandler();
    [/s101-2/home6/camosreptiles/forum/library/core/class.pluggable.php:172] PHP::trigger_error();
    [/s101-2/home6/camosreptiles/forum/library/core/class.pluggable.php:172] Gdn_Pluggable->__call();
    [/s101-2/home6/camosreptiles/forum/plugins/Tagging/class.tagging.plugin.php:64] TagModule->InlineDisplay();
    [/s101-2/home6/camosreptiles/forum/library/core/class.pluginmanager.php:648] TaggingPlugin->DiscussionController_AfterCommentBody_Handler();
    [/s101-2/home6/camosreptiles/forum/library/core/class.pluginmanager.php:590] Gdn_PluginManager->CallEventHandler();
    [/s101-2/home6/camosreptiles/forum/library/core/class.pluggable.php:127] Gdn_PluginManager->CallEventHandlers();
    [/s101-2/home6/camosreptiles/forum/applications/vanilla/views/discussion/helper_functions.php:90] Gdn_Pluggable->FireEvent();
    [/s101-2/home6/camosreptiles/forum/applications/vanilla/views/discussion/comments.php:9] PHP::WriteComment();
    [/s101-2/home6/camosreptiles/forum/library/core/class.controller.php:659] PHP::include();
    [/s101-2/home6/camosreptiles/forum/applications/vanilla/views/discussion/index.php:46] Gdn_Controller->FetchView();
    [/s101-2/home6/camosreptiles/forum/library/core/class.controller.php:659] PHP::include();
    [/s101-2/home6/camosreptiles/forum/library/core/class.controller.php:1081] Gdn_Controller->FetchView();
    [/s101-2/home6/camosreptiles/forum/library/core/class.pluggable.php:193] Gdn_Controller->xRender();
    [/s101-2/home6/camosreptiles/forum/library/core/class.pluggable.php:193] Gdn_Pluggable->__call();
    [/s101-2/home6/camosreptiles/forum/applications/vanilla/controllers/class.discussioncontroller.php:181] DiscussionController->Render();
    [/s101-2/home6/camosreptiles/forum/applications/vanilla/controllers/class.discussioncontroller.php:181] DiscussionController->Index();
    [/s101-2/home6/camosreptiles/forum/library/core/class.dispatcher.php:322] PHP::call_user_func_array();
    [/s101-2/home6/camosreptiles/forum/index.php:53] Gdn_Dispatcher->Dispatch();
    Variables in local scope:
    [this] array (
    'AssetName' => '',
    'EventArguments' =>
    array (
    ),
    'Returns' =>
    array (
    ),
    'HandlerType' => 'NORMAL',
    )
    [MethodName] 'InlineDisplay'
    [Arguments] array (
    )
    [Return] false
    [ActualMethodName] 'xInlineDisplay'
    [ReferenceMethodName] 'InlineDisplay'

    This was after updating with github commit

    https://github.com/vanillaforums/Garden/commit/89458b27105b1cf1bcc7a11f17fa5ec5b6c8185f

    Ill disable tagging for now.
  • The "TagModule" object does not have a "xInlineDisplay" method.

    [MethodName] 'InlineDisplay'
    [Arguments] array (
    )
    [Return] false
    [ActualMethodName] 'xInlineDisplay'
    [ReferenceMethodName] 'InlineDisplay'

    This was after updating with github commit
    Can you please doublecheck whether you did not make a typo somewhere.
    Somewhere the method "xInlineDisplay" is called and it should be "InlineDisplay"

    There was an error rendering this rich post.

  • camocamo New
    edited October 2011 Answer ✓
    My Error, I overwrote

    /plugins/Tagging/class.tagmodel.php instead of

    /plugins/Tagging/class.tagmodule.php

    No wonder. Resolution, uploading and switching back to original plugin


    I am an idiot, thanks again for your help @UnderDog :)

  • camocamo New
    edited October 2011
    SOLVED
Sign In or Register to comment.