Solved When use autosubmit it trow this error and do nothing (XF 2.2.0)

Liam's add-ons
Post Macros

malachiel

Licensed
Licensed
Joined
Apr 5, 2020
Messages
11
Reaction score
2
  • ErrorException: Template error: Macro public:thread_view:thread_custom_fields_status is unknown
  • src/XF/Template/Templater.php:631
  • Generato da: Tazzina
  • 1 Ott 2020 alle 08:06
Analisi dello stack
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Macro public:th...', '/var/www/trolla...', 631, Array)
#1 src/XF/Template/Templater.php(631): trigger_error('Macro public:th...', 512)
#2 src/XF/Template/Templater.php(744): XF\Template\Templater->getTemplateMacro('public', 'thread_view', 'thread_custom_f...')
#3 internal_data/code_cache/templates/l5/s57/public/post_edit_new_post.php(17): XF\Template\Templater->callMacro('thread_view', 'thread_custom_f...', Array, Array)
#4 src/XF/Template/Templater.php(1608): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#5 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('post_edit_new_p...', Array)
#6 src/XF/Mvc/Renderer/Json.php(84): XF\Template\Template->render()
#7 src/XF/Mvc/Renderer/Json.php(68): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:post\\EditNew...', 'public:post_edi...', Array)
#8 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Json->renderView('XF:post\\EditNew...', 'public:post_edi...', Array)
#9 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#11 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#12 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#13 src/XF.php(464): XF\App->run()
#14 index.php(20): XF::runApp('XF\\Pub\\App')
#15 {main}
Stato richiesta
array(4) {
["url"] => string(28) "/community/posts/118395/edit"
["referrer"] => string(68) "https://trollandia.it/community/threads/suggerimento-skyblock.31771/"
["_GET"] => array(1) {
["/community/posts/118395/edit"] => string(0) ""
}
["_POST"] => array(8) {
["message_html"] => string(1540) "<blockquote data-attributes="member: 15582" data-quote="ChinaJr" data-source="post: 118393"><p><strong>| Quale è il tuo nickname su Minecraft?</strong></p><p>ChinaJr_</p><p><br></p><p><strong>| Quale è il tuo suggerimento?</strong></p><p>Aggiungere task giornaliere, jobs, rank, classifiche di qualche tipo</p><p><br></p><p><strong>| In quale modalità vorresti proppore il suggerimento?</strong></p><p>Skyblock</p><p><br></p><p><strong>| Che benefici pensi che porterà questo suggerimento?</strong></p><p>Per chi è a livelli alti come me, con tante farm e tanti soldi, oltre a livellare l'isola c'è bel poco da fare. Consiglierei di aggiungere qualche obbiettivo giornaliero come per esempio uccidere 10 wither boss al giorno o che ne so, qualche rank come il factions con vari kit e/o premi unici.</p><p><br></p><p>Aggiungere varie impostazioni nei settings come per esempio poter raccogliere l'exp nelle varie isole, poter usare il portale del nether, magari anche impedire alla gente che ti fa visita di poter fare trade con i tuoi villager.</p><p><br></p><p><strong>| Come pensi dovrebbe essere sviluppato? (se è un plugin specifica il nome)</strong></p><p>Beh penso sicuramente con qualche plugin ma non saprei quale.</p><p><br></p><p><strong>&gt; Commenti addizionali:</strong></p><p>Ciao è stato bello addio.</p></blockquote><p>Una cosa del genere <a href="https://www.spigotmc.org/resources/battlepass-practical-customizable.63076/?">https://www.spigotmc.org/resources/battlepass-practical-customizable.63076/</a>&nbsp;?</p>"
["_xfInlineEdit"] => string(1) "1"
["attachment_hash"] => string(32) "6bf387560dabc21cdca1e89f3ee38420"
["attachment_hash_combined"] => string(86) "{"type":"post","context":{"post_id":118395},"hash":"6bf387560dabc21cdca1e89f3ee38420"}"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(47) "/community/threads/suggerimento-skyblock.31771/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
 
  • ErrorException: Template error: Macro public:thread_view:thread_custom_fields_status is unknown
  • src/XF/Template/Templater.php:631
  • Generato da: Tazzina
  • 1 Ott 2020 alle 08:06
Analisi dello stack
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Macro public:th...', '/var/www/trolla...', 631, Array)
#1 src/XF/Template/Templater.php(631): trigger_error('Macro public:th...', 512)
#2 src/XF/Template/Templater.php(744): XF\Template\Templater->getTemplateMacro('public', 'thread_view', 'thread_custom_f...')
#3 internal_data/code_cache/templates/l5/s57/public/post_edit_new_post.php(17): XF\Template\Templater->callMacro('thread_view', 'thread_custom_f...', Array, Array)
#4 src/XF/Template/Templater.php(1608): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#5 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('post_edit_new_p...', Array)
#6 src/XF/Mvc/Renderer/Json.php(84): XF\Template\Template->render()
#7 src/XF/Mvc/Renderer/Json.php(68): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:post\\EditNew...', 'public:post_edi...', Array)
#8 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Json->renderView('XF:post\\EditNew...', 'public:post_edi...', Array)
#9 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#11 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#12 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#13 src/XF.php(464): XF\App->run()
#14 index.php(20): XF::runApp('XF\\Pub\\App')
#15 {main}
Stato richiesta
array(4) {
["url"] => string(28) "/community/posts/118395/edit"
["referrer"] => string(68) "https://trollandia.it/community/threads/suggerimento-skyblock.31771/"
["_GET"] => array(1) {
["/community/posts/118395/edit"] => string(0) ""
}
["_POST"] => array(8) {
["message_html"] => string(1540) "<blockquote data-attributes="member: 15582" data-quote="ChinaJr" data-source="post: 118393"><p><strong>| Quale è il tuo nickname su Minecraft?</strong></p><p>ChinaJr_</p><p><br></p><p><strong>| Quale è il tuo suggerimento?</strong></p><p>Aggiungere task giornaliere, jobs, rank, classifiche di qualche tipo</p><p><br></p><p><strong>| In quale modalità vorresti proppore il suggerimento?</strong></p><p>Skyblock</p><p><br></p><p><strong>| Che benefici pensi che porterà questo suggerimento?</strong></p><p>Per chi è a livelli alti come me, con tante farm e tanti soldi, oltre a livellare l'isola c'è bel poco da fare. Consiglierei di aggiungere qualche obbiettivo giornaliero come per esempio uccidere 10 wither boss al giorno o che ne so, qualche rank come il factions con vari kit e/o premi unici.</p><p><br></p><p>Aggiungere varie impostazioni nei settings come per esempio poter raccogliere l'exp nelle varie isole, poter usare il portale del nether, magari anche impedire alla gente che ti fa visita di poter fare trade con i tuoi villager.</p><p><br></p><p><strong>| Come pensi dovrebbe essere sviluppato? (se è un plugin specifica il nome)</strong></p><p>Beh penso sicuramente con qualche plugin ma non saprei quale.</p><p><br></p><p><strong>&gt; Commenti addizionali:</strong></p><p>Ciao è stato bello addio.</p></blockquote><p>Una cosa del genere <a href="https://www.spigotmc.org/resources/battlepass-practical-customizable.63076/?">https://www.spigotmc.org/resources/battlepass-practical-customizable.63076/</a>&nbsp;?</p>"
["_xfInlineEdit"] => string(1) "1"
["attachment_hash"] => string(32) "6bf387560dabc21cdca1e89f3ee38420"
["attachment_hash_combined"] => string(86) "{"type":"post","context":{"post_id":118395},"hash":"6bf387560dabc21cdca1e89f3ee38420"}"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(47) "/community/threads/suggerimento-skyblock.31771/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Hello,

This error is probably not coming from our addon, at no time it specifies our addon,
please tell me a little more about this mistake,

how did you get this error?

Regards, CURLE-MODZ
 
basically the macro addon was working perfect, until i upgraded xenforo to the version 2.2.0, i just start to see these random error on these post message, plus when i try to create a post with macro now it get stuck, i thinkk something with placeholders

OK i tested better, only the function Auto Submit, will cause the macro going to loop and doing nothing
 
Last edited by a moderator:
Top Bottom