Solved Getting error when reaching a forum

phucvandinh

Licensed
Licensed
SEO Optimization
Joined
Mar 9, 2020
Messages
2
Reaction score
1
Every time I went to a forum or a category, I always get this error: Template error:
[E_WARNING] Undefined variable $escape
src/addons/XenSoluce/SEOOptimization/Template/TemplaterSetup.php:185
Code:
#0 src/addons/XenSoluce/SEOOptimization/Template/TemplaterSetup.php(185): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] Und...', '/home/nginx/dom...', 185)
#1 src/addons/XenSoluce/SEOOptimization/Template/TemplaterSetup.php(32): XenSoluce\SEOOptimization\Template\TemplaterSetup->forumTitle(Object(SV\ElasticSearchEssentials\XF\Entity\Node), '', Object(MaZ\AMP\XF\Template\XF22\Templater))
#2 [internal function]: XenSoluce\SEOOptimization\Template\TemplaterSetup->fnXsChangeTitle(Object(MaZ\AMP\XF\Template\XF22\Templater), false, Object(SV\ElasticSearchEssentials\XF\Entity\Node), 1)
#3 src/XF/Template/Templater.php(1105): call_user_func_array(Array, Array)
#4 internal_data/code_cache/templates/l2/s3/public/forum_view.php(361): XF\Template\Templater->func('change_title', Array, false)
#5 src/XF/Template/Templater.php(1628): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Object(XF\Template\ExtensionSet))
#6 src/addons/MaZ/AMP/XF/Template/XF22/Templater.php(52): XF\Template\Templater->renderTemplate('forum_view', Array, true, NULL)
#7 src/XF/Template/Template.php(24): MaZ\AMP\XF\Template\XF22\Templater->renderTemplate('public:forum_vi...', Array)
#8 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#9 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XF:Forum\\View', 'public:forum_vi...', Array)
#10 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#11 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#13 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()
#14 src/XF.php(488): XF\App->run()
#15 index.php(20): XF::runApp('XF\\Pub\\App')
#16 {main}
 

SyTry

Administrator
Staff member
Administrator
Moderator
Licensed
Joined
Jul 8, 2019
Messages
414
Reaction score
204
Hello, what's your XF version, PHP and what is this add-ons please :
  • SV\ElasticSearchEssentials
  • MaZ\AMP
Regards, SyTry
 

phucvandinh

Licensed
Licensed
SEO Optimization
Joined
Mar 9, 2020
Messages
2
Reaction score
1
Hello, what's your XF version, PHP and what is this add-ons please :
  • SV\ElasticSearchEssentials
  • MaZ\AMP
Regards, SyTry
XenForo 2.2.5 and latest PHP 8.0.7
No errors until SEO add-ons installed
 

SyTry

Administrator
Staff member
Administrator
Moderator
Licensed
Joined
Jul 8, 2019
Messages
414
Reaction score
204
XenForo 2.2.5 and latest PHP 8.0.7
No errors until SEO add-ons installed
Thank you for providing more details, we'll have a look at this !

Regards ,SyTry
 

SyTry

Administrator
Staff member
Administrator
Moderator
Licensed
Joined
Jul 8, 2019
Messages
414
Reaction score
204
Hello, this should be fixed in the next update 2.5.0 ! ;)

Regards, SyTry
 
Solution
Top Bottom