XF 2.1 upgraded from 2.x to 2.1.1 and messages are not displayed in coversations

BruceW

Member

Disabling the Content Ratings add-on which is not compatible with 2.1 solved the issue.



Here is the error log

Server error log
  • ErrorException: Template error: Macro public:conversation_message_macros:message is unknown
  • src/XF/Template/Templater.php:586
  • Generated by: Bruce
  • Mar 30, 2019 at 2:02 PM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Macro public:co...', 'src/XF...', 586, Array)
#1 src/XF/Template/Templater.php(586): trigger_error('Macro public:co...', 512)
#2 src/XF/Template/Templater.php(700): XF\Template\Templater->getTemplateMacro('public', 'conversation_me...', 'message')
#3 /mnt/volume-nyc1-04/www/internal_data/code_cache/templates/l1/s3/public/conversation_view.php(220): XF\Template\Templater->callMacro('conversation_me...', 'message', Array, Array)
#4 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array)
#5 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('public:conversa...', Array)
#6 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#7 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XF:Conversation...', 'public:conversa...', Array)
#8 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#11 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#12 src/XF.php(390): XF\App->run()
#13 index.php(20): XF::runApp('XF\\Pub\\App')
#14 {main}
Request state
array(4) {
["url"] => string(92) "/conversations/upgrade-to-2-1-1-seems-to-have-removed-the-messages-from-conversations.10764/"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

This is a screen capture of viewing a conversation.

199232
Can anyone suggest how to fix this?

Thanks
 
Last edited:
Do you have any addons installed that have to do with conversations? If so, its probably not compatible with 2.1

Disabling the Content Ratings add-on which is not compatible with 2.1 solved the issue.

I was leaving that one enabled until I was confident that ratings were migrated.

Thanks for the help.
 
Back
Top Bottom