• We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Bug Resolved I am receiving lots of errors in adminCP

NICK97

Member
Joined
May 23, 2017
Messages
144
I am receiving lot of errors in the admin CP

error code:
Code:
ErrorException: Template error: [E_USER_WARNING] Cannot call method isForSaleInMarketplace on a non-object (NULL) src/XF/Template/Templater.php:1176
Generated by: Unknown account Nov 24, 2021 at 6:00 AM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/thkw8765/...', 1176, Array)
#1 src/XF/Template/Templater.php(1176): trigger_error('Cannot call met...', 512)
#2 internal_data/code_cache/templates/l1/s148/public/xfa_rmmp_postbit_indicators.php(7): XF\Template\Templater->method(NULL, 'isForSaleInMark...', Array)
#3 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, NULL)
#4 src/addons/MaZ/AMP/XF/Template/XF22/Templater.php(52): XF\Template\Templater->renderTemplate('xfa_rmmp_postbi...', Array, true, NULL)
#5 src/XF/Template/Templater.php(1680): MaZ\AMP\XF\Template\XF22\Templater->renderTemplate('public:xfa_rmmp...', Array)
#6 internal_data/code_cache/templates/l1/s148/public/post_macros.php(277): XF\Template\Templater->includeTemplate('public:xfa_rmmp...', Array)
#7 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, NULL)
#8 src/addons/MaZ/AMP/XF/Template/Templater.php(139): XF\Template\Templater->callMacro('post_macros', 'post_attributio...', Array, Array, Object(XF\Template\MacroState))
#9 internal_data/code_cache/templates/l1/s148/public/post_macros.php(39): MaZ\AMP\XF\Template\Templater->callMacro(NULL, 'post_attributio...', Array, Array)
#10 src/XF/Template/Templater.php(987): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Object(XF\Template\ExtensionSet))
#11 src/XF/Template/Templater.php(923): XF\Template\Templater->renderExtensionInternal('attribution', Array, Array, Object(XF\Template\ExtensionSet))
#12 internal_data/code_cache/templates/l1/s148/public/post_macros.php(121): XF\Template\Templater->renderExtension('attribution', Array, Object(XF\Template\ExtensionSet))
#13 src/XF/Template/Templater.php(987): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Object(XF\Template\ExtensionSet))
#14 src/XF/Template/Templater.php(923): XF\Template\Templater->renderExtensionInternal('main_cell_inner', Array, Array, Object(XF\Template\ExtensionSet))
#15 internal_data/code_cache/templates/l1/s148/public/post_macros.php(138): XF\Template\Templater->renderExtension('main_cell_inner', Array, Object(XF\Template\ExtensionSet))
#16 src/XF/Template/Templater.php(987): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Object(XF\Template\ExtensionSet))
#17 src/XF/Template/Templater.php(923): XF\Template\Templater->renderExtensionInternal('main_cell', Array, Array, Object(XF\Template\ExtensionSet))
#18 internal_data/code_cache/templates/l1/s148/public/post_macros.php(150): XF\Template\Templater->renderExtension('main_cell', Array, Object(XF\Template\ExtensionSet))
#19 src/XF/Template/Templater.php(987): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Object(XF\Template\ExtensionSet))
#20 src/XF/Template/Templater.php(923): XF\Template\Templater->renderExtensionInternal('full_body', Array, Array, Object(XF\Template\ExtensionSet))
#21 internal_data/code_cache/templates/l1/s148/public/post_macros.php(180): XF\Template\Templater->renderExtension('full_body', Array, Object(XF\Template\ExtensionSet))
#22 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Object(XF\Template\ExtensionSet))
#23 src/addons/MaZ/AMP/XF/Template/Templater.php(139): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array, Object(XF\Template\MacroState))
#24 internal_data/code_cache/templates/l1/s148/public/thread_view.php(1119): MaZ\AMP\XF\Template\Templater->callMacro(NULL, 'post_macros::po...', Array, Array)
#25 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Object(XF\Template\ExtensionSet))
#26 src/addons/MaZ/AMP/XF/Template/XF22/Templater.php(52): XF\Template\Templater->renderTemplate('thread_view', Array, true, Object(XF\Template\ExtensionSet))
#27 src/XF/Template/Templater.php(1642): MaZ\AMP\XF\Template\XF22\Templater->renderTemplate('public:thread_v...', Array, true, Object(XF\Template\ExtensionSet))
#28 src/addons/MaZ/AMP/XF/Template/XF22/Templater.php(52): XF\Template\Templater->renderTemplate('xfrm_thread_vie...', Array, true, NULL)
#29 src/XF/Template/Template.php(24): MaZ\AMP\XF\Template\XF22\Templater->renderTemplate('public:xfrm_thr...', Array)
#30 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#31 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XFRM:Thread\\Vie...', 'public:xfrm_thr...', Array)
#32 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#33 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#34 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#35 src/XF/App.php(2345): XF\Mvc\Dispatcher->run()
#36 src/XF.php(512): XF\App->run()
#37 index.php(20): XF::runApp('XF\\Pub\\App')
#38 {main}
Request state
array(4) {
  ["url"] => string(31) "/threads/cities-xl-platinum.97/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
here screenshots
E7CD0AAA-9332-4F7B-B276-0993021AFD13.png39EB4B16-9EF5-4CB7-81F8-4AB66C8098F2.jpeg
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
5,868
It's a resource that was deleted right ?
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
5,868
Might be the reason, will have to investigate