HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Fatal Error in Gdn_Pluggable.__call(); with Inbox (looking for messages)
RJF
New
II have this:
The "MessagesController" object does not have a "xisRenderingMasterView" method.
The error occurred on or near: /home/clients/cb909e8b4db83011850771bbe6973d6a/sites/mysite/library/core/class.pluggable.php
190: // Make sure that $ActualMethodName exists before continuing: 191: if (!method_exists($this, $actualMethodName)) { 192: // Make sure that a plugin is not handling the call 193: if (!Gdn::pluginManager()->hasNewMethod($className, $referenceMethodName)) { 194: throw new \BadMethodCallException( 195: "The \"$className\" object does not have a \"$actualMethodName\" method.", 196: 501 197: ); 198: }
Backtrace:
[/home/clients/cb909e8b4db83011850771bbe6973d6a/sites/mysite/applications/conversations/controllers/class.conversationscontroller.php:47] Gdn_Pluggable->__call(); [/home/clients/cb909e8b4db83011850771bbe6973d6a/sites/mysite/applications/conversations/controllers/class.messagescontroller.php:40] ConversationsController->initialize(); [/home/clients/cb909e8b4db83011850771bbe6973d6a/sites/mysite/library/core/class.dispatcher.php:1092] MessagesController->initialize(); [/home/clients/cb909e8b4db83011850771bbe6973d6a/sites/mysite/library/core/class.dispatcher.php:824] Gdn_Dispatcher->createController(); [/home/clients/cb909e8b4db83011850771bbe6973d6a/sites/mysite/core/class.dispatcher.php:289] Gdn_Dispatcher->dispatchController(); [/home/clients/cb909e8b4db83011850771bbe6973d6a/sites/mysite/index.php:29] Gdn_Dispatcher->dispatch();
- Application: Vanilla
- Application Version: 3.3
- PHP Version: 7.3.27
- Operating System: Linux
- Server Software: Apache
- Referer: http://mysite/categories
- User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0
- Request Uri: /messages/2
- Controller: Gdn_Pluggable
- Method: __call
0
Comments
But is there actually something not working ?
Same in another message?
Gdn_Controller::isRenderingMasterView
is a new method in Vanilla 4.0. There should not be anything in your 3.3 install calling it.As you said in the other thread the install was not done by yourself, so you can't be sure if it is really 3.3 or some mix of files belonging to 3.3 or the recent release candidate. I would not trust such an install.
If the error is still there even if you disable all plugins, I would suggest you remove all folders except the
/conf
and/uploads
folders.My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
I found it, thanks Bleistivt. It was in /applications/conversations/controllers/ class.conversationscontroller.php
line 47
//if ($this->isRenderingMasterView()) {
to be replaced by
if ($this->deliveryType() == DELIVERY_TYPE_ALL) {
I have more to go:
That is just a deprecation notice.
I just want to stress that your install seems to consist of source files from different Vanilla versions. Doing a clean install (what I described above) yourself will probably save you a lot of time debugging a broken install.
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
I did a clean 3.3 install as you said by keeping only the
/conf
and/uploads
folders.The main issue is with add-ons that are not fully compatible.
The major culprit is Discussion Alert.
You could try replacing
class DiscussionAlert extends Gdn_Plugin {
with
class DiscussionAlertPlugin extends Gdn_Plugin {
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
That is done