NICK97
Member
I am receiving lots of errors in adminCP right after I have upgraded php 8.0
as well I have temporary disable the addon until it’s is fixed
Code:
ErrorException: Template error: [E_WARNING] Attempt to read property "xfa_motm" on null src/addons/XFA/XFMGMediaOfTheMonth/XFMG/Entity/MediaItem.php:198
Generated by: Unknown account Jan 13, 2022 at 3:04 PM
Stack trace
#0 src/addons/XFA/XFMGMediaOfTheMonth/XFMG/Entity/MediaItem.php(198): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] Att...', '/home/thkw8765/...', 198)
#1 src/XF/Template/Templater.php(1191): XFA\XFMGMediaOfTheMonth\XFMG\Entity\MediaItem->canViewMotmVotes()
#2 internal_data/code_cache/templates/l1/s150/public/xfmg_media_view_macros.php(408): XF\Template\Templater->method(Object(TickTackk\ChangeContentOwner\XFMG\Entity\MediaItem), 'canViewMotmVote...', Array)
#3 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, NULL)
#4 src/addons/MaZ/AMP/XF/Template/Templater.php(139): XF\Template\Templater->callMacro('xfmg_media_view...', 'info_sidebar', Array, Array, Object(XF\Template\MacroState))
#5 internal_data/code_cache/templates/l1/s150/public/xfmg_media_view.php(621): MaZ\AMP\XF\Template\Templater->callMacro('xfmg_media_view...', 'info_sidebar', Array, Array)
#6 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, NULL)
#7 src/addons/MaZ/AMP/XF/Template/XF22/Templater.php(52): XF\Template\Templater->renderTemplate('xfmg_media_view', Array, true, NULL)
#8 src/XF/Template/Template.php(24): MaZ\AMP\XF\Template\XF22\Templater->renderTemplate('public:xfmg_med...', Array)
#9 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#10 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XFMG:Media\\View', 'public:xfmg_med...', Array)
#11 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#13 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#14 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#15 src/XF.php(517): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}
Request state
/home/thkw8765/public_html/src/XF/Debugger.php:44:
array(4) {
'url' =>
string(27) "/media/20171006174734_1.67/"
'referrer' =>
bool(false)
'_GET' =>
array(0) {
}
'_POST' =>
array(0) {
}
}
as well I have temporary disable the addon until it’s is fixed