Sure thingYou need to post the actual stack trace (as in the text), not an image of it.
ErrorException: Template error: Illegal string offset 'children' internal_data/code_cache/templates/l1/s18/public/post_macros.php:298
Generated by: Keke Apr 20, 2020 at 11:53 AM
Stack trace
#0 internal_data/code_cache/templates/l1/s18/public/post_macros.php(298): XF\Template\Templater->handleTemplateError(2, 'Illegal string ...', 'i...', 298, Array)
#1 src/XF/Template/Templater.php(701): XF\Template\Templater->{closure}(Object(SV\BookmarkEssentials\XF\Template\Templater), Array, Array)
#2 internal_data/code_cache/templates/l1/s18/public/sv_livecontent_post.php(9): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#3 src/XF/Template/Templater.php(1315): XF\Template\Templater->{closure}(Object(SV\BookmarkEssentials\XF\Template\Templater), Array)
#4 src/XF/Mvc/View.php(59): XF\Template\Templater->renderTemplate('sv_livecontent_...', Array)
#5 src/addons/SV/LiveContent/XF/Entity/Post.php(74): XF\Mvc\View->renderTemplate('public:sv_livec...', Array)
#6 src/addons/SV/LiveContent/Pub/View/Live.php(71): SV\LiveContent\XF\Entity\Post->renderContent(Object(SV\LiveContent\Pub\View\Live))
#7 src/XF/Mvc/Renderer/AbstractRenderer.php(91): SV\LiveContent\Pub\View\Live->renderRaw()
#8 src/XF/Mvc/Renderer/Raw.php(41): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('SV\\LiveContent:...', '', Array)
#9 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Raw->renderView('SV\\LiveContent:...', '', Array)
#10 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Raw), Object(XF\Mvc\Reply\View))
#11 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Raw), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'raw')
#13 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#14 src/XF.php(391): XF\App->run()
#15 index.php(20): XF::runApp('XF\\Pub\\App')
#16 {main}
sv_livecontent_post
template is very simple;<xf:macro template="post_macros" name="post" arg-post="{$post}" arg-thread="{$thread}" />
post_macros
macro, and not expecting it to be called with stock arguments, and needs some not empty checksSo the problem is from us ?Thesv_livecontent_post
template is very simple;
XML:<xf:macro template="post_macros" name="post" arg-post="{$post}" arg-thread="{$thread}" />
This add-on likely is extendingpost_macros
macro, and not expecting it to be called with stock arguments, and needs some not empty checks
Hello, thank you, we will have a look for this.Supposedly a bug. User without any permissions for this add-on has an option in his preference settings.
View attachment 223634
Any fix? This error is driving me a little nuts.So the problem is from us ?![]()
I have no idea honestly, I hthink the error just occurs if someone uses a Macro? Not sure.Hello,
The mistake shows up when you do what exactly?
Regards, CRUEL-MODZ
Request state
array(4) {
["url"] => string(84) "/threads/41138/live"
["referrer"] => string(110) "https://.com/threads/41138/"
["_GET"] => array(1) {
["/threads/41138/live"] => string(0) ""
}
["_POST"] => array(0) {
}
}
Changed :
Added :
- N/A
Removed :
- A macro can be posted as another user (@DragonByte Tech #Report)
Note :
- N/A
If you have questions, ask me !
- N/A
Fix the addon version (5.1.5 not 5.1.4)XenSoluce updated [Liam W.] Post Macros with a new update entry:
Update 5.1.4
Read the rest of this update entry...
Was this not fixed?I have no idea honestly, I hthink the error just occurs if someone uses a Macro? Not sure.
Here's the request.
Code:Request state array(4) { ["url"] => string(84) "/threads/41138/live" ["referrer"] => string(110) "https://.com/threads/41138/" ["_GET"] => array(1) { ["/threads/41138/live"] => string(0) "" } ["_POST"] => array(0) { } }
It's interesting because it still works. But it's clogging up my error logs which drives me kinda crazy.
Hello, sorry to hear that. Tagging @CRUEL-MODZThe bug I reported was never fixed so I uninstalled the addon.
However, I am still getting that error (which is very irritating lmao), but worse is that I have more issues now.
This appears in my ACP:
View attachment 227981
When I try to finish running them, I get this error:
View attachment 227982
It won't go away...
I'd just like to wash my hands of this addon... please help me...
We use essential cookies to make this site work, and optional cookies to enhance your experience.