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.

Bonk: Something funky happened. Please bear with us while we iron out the kinks.

edited November 2011 in Vanilla 2.0 - 2.8
What can I do to recover?

Terry

Fatal Error in PluginManager.RegisterNewMethod();

New object methods must be unique. The new "moderationcontroller_splitcomments_create" method has already been assigned by the "SplitMergePlugin.moderationcontroller_splitcomments_create" plugin. It cannot also be assigned by the "SplitMergeFEPlugin" plugin.
The error occurred on or near: /home5/tvgamesh/public_html/tvpmmforum/library/core/class.pluginmanager.php
561: $EventKey = strtolower($EventClassName == '' ? $NewMethodName : $EventClassName.'_'.$EventName.'_Create');
562:
563: // Throw an error if this method has already been created.
564: if (array_key_exists($EventKey, $this->_NewMethodCollection) === TRUE)
565: trigger_error(ErrorMessage('New object methods must be unique. The new "'.$EventKey.'" method has already been assigned by the "'.$this->_NewMethodCollection[$EventKey].'" plugin. It cannot also be assigned by the "'.$NewMethodClassName.'" plugin.', 'PluginManager', 'RegisterNewMethod'), E_USER_ERROR);
566:
567: // Otherwise, specify this class as the source for the new method.
568: $this->_NewMethodCollection[$EventKey] = $NewMethodKey;
569: }
Backtrace:
[/home5/tvgamesh/public_html/tvpmmforum/library/core/class.pluginmanager.php:565] PHP::Gdn_ErrorHandler();
[/home5/tvgamesh/public_html/tvpmmforum/library/core/class.pluginmanager.php:377] Gdn_PluginManager->RegisterNewMethod();
[/home5/tvgamesh/public_html/tvpmmforum/library/core/class.pluginmanager.php:354] Gdn_PluginManager->RegisterPlugin();
[/home5/tvgamesh/public_html/tvpmmforum/library/core/class.pluginmanager.php:99] Gdn_PluginManager->RegisterPlugins();
[/home5/tvgamesh/public_html/tvpmmforum/bootstrap.php:152] Gdn_PluginManager->Start();
[/home5/tvgamesh/public_html/tvpmmforum/index.php:41] PHP::require_once();
Variables in local scope:
[NewMethodClassName] 'SplitMergeFEPlugin'
[NewMethodName] 'moderationcontroller_splitcomments_create'
[EventClassName] ''
[EventName] ''
[NewMethodKey] 'SplitMergeFEPlugin.moderationcontroller_splitcomments_create'
[EventKey] 'moderationcontroller_splitcomments_create'
Need Help?
If you are a user of this website, you can report this message to a website administrator.
If you are an administrator of this website, you can get help at the Vanilla Community Forums.
Additional information for support personnel:
Application: Vanilla
Application Version: 2.0.18.1
PHP Version: 5.2.17
Operating System: Linux
Server Software: Apache
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.8 (KHTML, like Gecko) Chrome/17.0.942.0 Safari/535.8
Request Uri: /
Controller: PluginManager
Method: RegisterNewMethod

Answers

  • ToddTodd Vanilla Staff
    You have both Split Merge and Split Merge (FE) enabled. Disable one of the plugins in your config.
  • Thanks,
    Removing: $Configuration['EnabledPlugins']['SplitMergeFE'] = TRUE;

    Did it!

    Thanks,

    Terry
  • Thanks for posting the amount of detail as you did terry , it helps so many ppl in the future,

    Good onya

    Ste

    There was an error rendering this rich post.

  • I also posted the next error as More Bonk! and it seems the post has been removed. It was a legit error.
Sign In or Register to comment.