Resource icon

Standard Library by Xon 1.22.5

No permission to download
I've got a number of add-ons with XF2.3 support pending release which depend on StandardLib v1.21.1, but that will be sometime next week.
 
Just upgraded this add-on to the latest version on my XF 2.2 forum and now I am receiving a lot of errors in te log:
Code:
ErrorException: Template error: [E_USER_WARNING] Method isCheckMultiAccount is not callable on the given object (SV\ElasticSearchEssentials\XF\Entity\User)
src/XF/Template/Templater.php:1190

Stack trace:
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/nginx/dom...', 1190)
#1 src/XF/Template/Templater.php(1190): trigger_error('Method isCheckM...', 512)
#2 internal_data/code_cache/templates/l2/s25/public/helper_js_global.php(270): XF\Template\Templater->method(Object(SV\ElasticSearchEssentials\XF\Entity\User), 'isCheckMultiAcc...', Array)
#3 src/XF/Template/Templater.php(828): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#4 src/addons/MaZ/AMP/XF/Template/Templater.php(152): XF\Template\Templater->callMacro('helper_js_globa...', 'body', Array, Array, Object(XF\Template\MacroState))
#5 internal_data/code_cache/templates/l2/s25/public/PAGE_CONTAINER.php(2834): MaZ\AMP\XF\Template\TemplaterAbstract->callMacro('helper_js_globa...', 'body', Array, Array)
#6 src/XF/Template/Templater.php(1655): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#7 src/addons/MaZ/AMP/Traits/Templater/XF22.php(52): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array, true, NULL)
#8 src/addons/MaZ/AUN/XF/Template/Templater.php(39): MaZ\AMP\XF\Template\Templater->renderTemplate('public:PAGE_CON...', Array, true, NULL)
#9 src/XF/Pub/App.php(565): MaZ\AUN\XF\Template\Templater->renderTemplate('public:PAGE_CON...', Array)
#10 src/XF/App.php(2283): XF\Pub\App->renderPageHtml('

    <div ...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#11 src/XF/Mvc/Dispatcher.php(404): XF\App->renderPage('

    <div ...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#12 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#13 src/XF/App.php(2485): XF\Mvc\Dispatcher->run()
#14 src/XF.php(524): XF\App->run()
#15 index.php(20): XF::runApp('XF\\Pub\\App')
#16 {main}

Request state:
array(4) {
  ["url"] => string(81) "/threads/examplethread.406301/page-139"
  ["referrer"] => string(26) "https://www.domain.com"
  ["_GET"] => array(1) {
    ["/threads/examplethread_406301/page-139"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

Not sure if this add-on is responsible though...
 
The isCheckMultiAccount is not part of any of my add-ons.

You'll need to check the helper_js_global template and "applied template modifications" to see what add-on is injecting that method.
 
Xon updated Standard Library by Xon with a new update entry:

1.21.2 - Bugfix update

  • Fix ajax pagination & ajax filtered pagination code did not dynamically loading css/js
  • Update choices.js
    • Various performance fixes when used with large number of options (ie hundreds of prefixes when using Multi-Prefix)
    • Fix filtering/search could return unstable search results
    • Fix possible empty aria-label generation on remove item button
    • Fix enter could cause accidental form submit instead of open/closing the choices list in all...

Read the rest of this update entry...
 
Xon updated Standard Library by Xon with a new update entry:

1.21.7 - Maintenance update

  • Update choices.js integration
    • Cleanup font-size handling (on average slightly larger, but works on more styles)
    • Convert CSS (generated from SCSS) into LESS
    • Fix adding classes to choices.js via data-class-* attributes did not work as expected
    • Fix a number of performance issues with very large number of options (ie hundreds to thousands), not fully resolved but better.

Read the rest of this update entry...
 
I'm not the happiest about the font-size handling, but this removes a number of fixed font-sizes css statements and works with styles which use rem and px font-size units.
 
The "Insert response..." bit should stretch across the input box, at least it does my my styles with the latest (public) StandardLib and Tickets.
 
I'm not sure if this is just related to upgrading to 1.21.7 but this error just popped up after doing so.....
Server error log



  • ParseError: Unclosed '{' on line 128
  • src/addons/SV/StandardLib/XF/Template/Templater.php:130

  • Generated by: Unknown account
  • Aug 28, 2024 at 10:11 PM


Stack trace​



#0 src/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/home/maggotdro...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('SV\\StandardLib\\...')
#2 src/XF/Extension.php(198): class_exists('SV\\StandardLib\\...')
#3 src/XF/App.php(3009): XF\Extension->extendClass('XF\\Template\\Tem...', NULL)
#4 src/XF/App.php(1951): XF\App->extendClass('\\XF\\Template\\Te...')
#5 src/XF/App.php(1395): XF\App->setupTemplaterObject(Object(XF\Container), '\\XF\\Template\\Te...')
#6 src/XF/Container.php(31): XF\App->XF\{closure}(Object(XF\Container))
#7 src/XF/App.php(3385): XF\Container->offsetGet('templater')
#8 src/XF/Pub/App.php(440): XF\App->templater()
#9 src/XF/Mvc/Dispatcher.php(397): XF\Pub\App->preRender(Object(XF\Mvc\Reply\View), 'html')
#10 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#11 src/XF/App.php(2485): XF\Mvc\Dispatcher->run()
#12 src/XF.php(524): XF\App->run()
#13 index.php(20): XF::runApp('XF\\Pub\\App')
#14 {main}


Request state​



array(4) {
["url"] => string(35) "/forums/threads/dragons-den.122785/"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
Hi Xon,

I upgraded to latest version and my chatbox is no longer working. Only happened after updating this addon.

Thanks
 
You'll need to post in the thread from whatever is providing your "chatbox" as without any information that is impossible for me to support.
 
Back
Top Bottom