What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • 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 Display Issues

Raigryn

New Member
I was so close to getting this configured!

I've had to disable the addon now as it broke display completelt.

Grateful for any help!



Server error log
  • Error: Object of class Closure could not be converted to string
  • src/addons/XFA/TrophiesEnhancement/Listener.php:130
  • Generated by: Unknown account
  • Nov 12, 2024 at 7:29 PM

Stack trace​

#0 src/XF/Extension.php(54): XFA\TrophiesEnhancement\Listener::templaterTemplatePostRender(Object(SV\StandardLib\XF\Template\Templater), 'public', 'extra.less', '/* User Banners...')
#1 src/XF/App.php(3368): XF\Extension->fire('templater_templ...', Array, 'public:extra.le...')
#2 src/XF/Template/Templater.php(1828): XF\App->fire('templater_templ...', Array, 'public:extra.le...')
#3 src/addons/vw/vw/XF/Template/XF23.php(156): XF\Template\Templater->renderTemplate('extra.less', Array, false, NULL)
#4 src/XF/CssRenderer.php(352): vw\vw\XF\Template\Templater->renderTemplate('public:extra.le...', Array, false)
#5 src/addons/vw/vw/XF/CssRenderer.php(39): XF\CssRenderer->renderTemplate('public:extra.le...', NULL, true)
#6 src/XF/CssRenderer.php(279): vw\vw\XF\CssRenderer->renderTemplate('public:extra.le...', NULL)
#7 src/addons/ThemeHouse/UIX/XF/CssRenderer.php(40): XF\CssRenderer->renderTemplates(Array, Array, Array)
#8 src/XF/CssRenderer.php(135): ThemeHouse\UIX\XF\CssRenderer->renderTemplates(Array, Array, Array)
#9 src/XF/CssWriter.php(60): XF\CssRenderer->render(Array)
#10 css.php(32): XF\CssWriter->run(Array, 79, 1, '8ac6982b29f5779...')
#11 {main}

Request state​

array(4) {
["url"] => string(650) "/css.php?css=public%3Aattachments.less%2Cpublic%3Acat_strips.less%2Cpublic%3Aeditor.less%2Cpublic%3Aextra.less%2Cpublic%3Amessage.less%2Cpublic%3Ashare_controls.less%2Cpublic%3AsvAlertImprovements.less%2Cpublic%3Ath_uix_threadStarterPost.less%2Cpublic%3Atheme_styling.less%2Cpublic%3Ats_subacc.less%2Cpublic%3Auix.less%2Cpublic%3Auix_extendedFooter.less%2Cpublic%3Auix_socialMedia.less%2Cpublic%3Avw_base.less%2Cpublic%3Avw_bbcode.less%2Cpublic%3Avw_list.less%2Cpublic%3Avw_section.less%2Cpublic%3Avwstyles.css%2Cpublic%3Axenith.less%2Cpublic%3Aextra.less%2Cpublic%3Avw_additional.less&s=79&l=1&d=1731438361&k=8ac6982b29f5779b3c1884addbc89790f4d1fd17"
["referrer"] => string(61) "https://chroniclesrp.net/threads/an-ocean-of-fire.6081/page-2"
["_GET"] => array(5) {
["css"] => string(490) "public:attachments.less,public:cat_strips.less,public:editor.less,public:extra.less,public:message.less,public:share_controls.less,public:svAlertImprovements.less,public:th_uix_threadStarterPost.less,public:theme_styling.less,public:ts_subacc.less,public:uix.less,public:uix_extendedFooter.less,public:uix_socialMedia.less,public:vw_base.less,public:vw_bbcode.less,public:vw_list.less,public:vw_section.less,public:vwstyles.css,public:xenith.less,public:extra.less,public:vw_additional.less"
["s"] => string(2) "79"
["l"] => string(1) "1"
["d"] => string(10) "1731438361"
["k"] => string(40) "8ac6982b29f5779b3c1884addbc89790f4d1fd17"
}
["_POST"] => array(0) {
}
}

1731439875757.png
 

Clement

Freaky Coder
Staff member
It is quite complicated to find out where the issue could be as is.
Are you able to narrow down the trophy configuration that leads to that situation ?

Could be a missing color for example.
 

Raigryn

New Member
I think I'd added trophy images to two trophies and limited the number of trophies displayed to 2.

Is it possible to completely reset the addon to clean?

Easier to go through the steps because I had done very little
 

Clement

Freaky Coder
Staff member
Are you able to point out a way to reproduce it 100% of the time from configuration start ?
 

Raigryn

New Member
Uninstalled
Installed fresh.

1732203942065.png

Instantly broken:


Server error log
  • Error: Object of class Closure could not be converted to string
  • src/addons/XFA/TrophiesEnhancement/Listener.php:130
  • Generated by: Unknown account
  • Nov 21, 2024 at 3:45 PM

Stack trace​

#0 src/XF/Extension.php(54): XFA\TrophiesEnhancement\Listener::templaterTemplatePostRender(Object(SV\StandardLib\XF\Template\Templater), 'public', 'extra.less', '/* User Banners...')
#1 src/XF/App.php(3368): XF\Extension->fire('templater_templ...', Array, 'public:extra.le...')
#2 src/XF/Template/Templater.php(1828): XF\App->fire('templater_templ...', Array, 'public:extra.le...')
#3 src/addons/vw/vw/XF/Template/XF23.php(156): XF\Template\Templater->renderTemplate('extra.less', Array, false, NULL)
#4 src/XF/CssRenderer.php(352): vw\vw\XF\Template\Templater->renderTemplate('public:extra.le...', Array, false)
#5 src/addons/vw/vw/XF/CssRenderer.php(39): XF\CssRenderer->renderTemplate('public:extra.le...', NULL, true)
#6 src/XF/CssRenderer.php(279): vw\vw\XF\CssRenderer->renderTemplate('public:extra.le...', NULL)
#7 src/addons/ThemeHouse/UIX/XF/CssRenderer.php(40): XF\CssRenderer->renderTemplates(Array, Array, Array)
#8 src/XF/CssRenderer.php(135): ThemeHouse\UIX\XF\CssRenderer->renderTemplates(Array, Array, Array)
#9 src/XF/CssWriter.php(60): XF\CssRenderer->render(Array)
#10 css.php(32): XF\CssWriter->run(Array, 54, 1, '37512843f40fdf8...')
#11 {main}

Request state​

array(4) {
["url"] => string(782) "/css.php?css=public%3Abb_code.css%2Cpublic%3Acat_strips.less%2Cpublic%3Aextra.less%2Cpublic%3Anotices.less%2Cpublic%3Ashare_controls.less%2Cpublic%3AsvAlertImprovements.less%2Cpublic%3Atheme_styling.less%2Cpublic%3Ats_subacc.less%2Cpublic%3Auix.less%2Cpublic%3Auix_extendedFooter.less%2Cpublic%3Auix_socialMedia.less%2Cpublic%3Avw_base.less%2Cpublic%3Avw_bbcode.less%2Cpublic%3Avw_block.less%2Cpublic%3Avw_content.less%2Cpublic%3Avw_icon.less%2Cpublic%3Avw_list.less%2Cpublic%3Avw_popup.css%2Cpublic%3Avw_search.less%2Cpublic%3Avw_section.less%2Cpublic%3Avw_sidebar.less%2Cpublic%3Avw_tab.less%2Cpublic%3Avw_title.less%2Cpublic%3Avwstyles.css%2Cpublic%3Axenith.less%2Cpublic%3Aextra.less%2Cpublic%3Avw_additional.less&s=54&l=1&d=1732203898&k=37512843f40fdf85fb2c360b2b4395fb05a85779"
["referrer"] => string(45) "https://chroniclesrp.net/Folklore/Milla-Blake"
["_GET"] => array(5) {
["css"] => string(598) "public:bb_code.css,public:cat_strips.less,public:extra.less,public:notices.less,public:share_controls.less,public:svAlertImprovements.less,public:theme_styling.less,public:ts_subacc.less,public:uix.less,public:uix_extendedFooter.less,public:uix_socialMedia.less,public:vw_base.less,public:vw_bbcode.less,public:vw_block.less,public:vw_content.less,public:vw_icon.less,public:vw_list.less,public:vw_popup.css,public:vw_search.less,public:vw_section.less,public:vw_sidebar.less,public:vw_tab.less,public:vw_title.less,public:vwstyles.css,public:xenith.less,public:extra.less,public:vw_additional.less"
["s"] => string(2) "54"
["l"] => string(1) "1"
["d"] => string(10) "1732203898"
["k"] => string(40) "37512843f40fdf85fb2c360b2b4395fb05a85779"
}
["_POST"] => array(0) {
}
}





  • Error: Object of class Closure could not be converted to string
  • src/addons/XFA/TrophiesEnhancement/Listener.php:130
  • Generated by: Unknown account
  • Nov 21, 2024 at 3:45 PM

Stack trace​

#0 src/XF/Extension.php(54): XFA\TrophiesEnhancement\Listener::templaterTemplatePostRender(Object(SV\StandardLib\XF\Template\Templater), 'public', 'extra.less', '')
#1 src/XF/App.php(3368): XF\Extension->fire('templater_templ...', Array, 'public:extra.le...')
#2 src/XF/Template/Templater.php(1828): XF\App->fire('templater_templ...', Array, 'public:extra.le...')
#3 src/addons/vw/vw/XF/Template/XF23.php(156): XF\Template\Templater->renderTemplate('extra.less', Array, false, NULL)
#4 src/XF/CssRenderer.php(352): vw\vw\XF\Template\Templater->renderTemplate('public:extra.le...', Array, false)
#5 src/addons/vw/vw/XF/CssRenderer.php(39): XF\CssRenderer->renderTemplate('public:extra.le...', NULL, true)
#6 src/XF/CssRenderer.php(279): vw\vw\XF\CssRenderer->renderTemplate('public:extra.le...', NULL)
#7 src/addons/ThemeHouse/UIX/XF/CssRenderer.php(40): XF\CssRenderer->renderTemplates(Array, Array, Array)
#8 src/XF/CssRenderer.php(135): ThemeHouse\UIX\XF\CssRenderer->renderTemplates(Array, Array, Array)
#9 src/XF/CssWriter.php(60): XF\CssRenderer->render(Array)
#10 css.php(32): XF\CssWriter->run(Array, 0, 1, 'd7c11c0ed20dddf...')
#11 {main}

Request state​

array(4) {
["url"] => string(143) "/css.php?css=admin%3Aaddon_list.less%2Cadmin%3Avw_cp.less%2Cpublic%3Aextra.less&s=0&l=1&d=1732203898&k=d7c11c0ed20dddff2be6ed732c3df3dcd0420f8b"
["referrer"] => string(43) "https://chroniclesrp.net/admin.php?add-ons/"
["_GET"] => array(5) {
["css"] => string(56) "admin:addon_list.less,admin:vw_cp.less,public:extra.less"
["s"] => string(1) "0"
["l"] => string(1) "1"
["d"] => string(10) "1732203898"
["k"] => string(40) "d7c11c0ed20dddff2be6ed732c3df3dcd0420f8b"
}
["_POST"] => array(0) {
}
}
 
Top