Resource icon

Standard Library by Xon 1.22.5

No permission to download
Xon updated Standard Library by Xon with a new update entry:

1.21.9 - Bugfix update

  • Update choices.js
    • Adjust font-size css to be more inline with standard XF
    • Fix select did not reset correct after a form submit.
      • Noticeable with Threadmarks Pro add-on on replying to a thread
    • Fix "no choices to choose from"/"no results found" notice did not reliably trigger
    • Fix options loader would unexpectedly clear options. This impacts the move thread function.
  • Update count down timer to only show seconds in the last 2 minutes by...

Read the rest of this update entry...
 
Yesterday I made the last update to Standard Library by Xon 1.21.9
Please provide clarification on your part.


UPDATE VIRUS DATABASE -------
Start: 2024-09-07 01:00:01
End: 2024-09-07 01:00:38
Status: Success


------------ INFECTIONS ------------
/internal_data/addon_batch/452/SV-StandardLib.zip: Sanesecurity.Foxhole.Zip_fs195.UNOFFICIAL FOUND

I just got this error message from clamav
 
Yesterday I made the last update to Standard Library by Xon 1.21.9
Please provide clarification on your part.


UPDATE VIRUS DATABASE -------
Start: 2024-09-07 01:00:01
End: 2024-09-07 01:00:38
Status: Success


------------ INFECTIONS ------------
/internal_data/addon_batch/452/SV-StandardLib.zip: Sanesecurity.Foxhole.Zip_fs195.UNOFFICIAL FOUND

I just got this error message from clamav
 
Yesterday I made the last update to Standard Library by Xon 1.21.9
Please provide clarification on your part.


UPDATE VIRUS DATABASE -------
Start: 2024-09-07 01:00:01
End: 2024-09-07 01:00:38
Status: Success


------------ INFECTIONS ------------
/internal_data/addon_batch/452/SV-StandardLib.zip: Sanesecurity.Foxhole.Zip_fs195.UNOFFICIAL FOUND

I just got this error message from clamav
This is a common false positive with ClamAV with Zip files, as it sometimes treats them as if they are APK (which are a type of Zip).
 
After upgrading Standard Library to 1.21.9, I'm now getting a tonne of errors on your "Improvements" add-ons (Search Improvements, Alert Improvements, and Mentions Improvements). I thought it was those individual plugins, but I disabled Search Improvements, and still got the errors:

Code:
    ErrorException: Template error: [E_USER_WARNING] Method canInvite is not callable on the given object (SV\UserMentionsImprovements\XF\Entity\User)
                 
    src/XF/Template/Templater.php:1187             
                  
    Generated by: xx
                 
    Dec 3, 2024 at 1:50 AM
                     

Stack trace
          
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/var/www/vhosts...', 1187)
#1 src/XF/Template/Templater.php(1187): trigger_error('Method canInvit...', 512)
#2 internal_data/code_cache/templates/l1/s3/public/account_wrapper.php(56): XF\Template\Templater->method(Object(SV\UserMentionsImprovements\XF\Entity\User), 'canInvite', Array)
#3 src/XF/Template/Templater.php(1652): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#4 src/XF/Template/Templater.php(1049): XF\Template\Templater->renderTemplate('account_wrapper', Array, false)
#5 src/XF/Template/Templater.php(1667): XF\Template\Templater->applyWrappedTemplate('

            <form a...')
#6 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('account_alerts', Array)
#7 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#8 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Account\\Aler...', 'public:account_...', Array)
#9 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#11 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#12 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#13 src/XF.php(524): XF\App->run()
#14 index.php(20): XF::runApp('XF\\Pub\\App')
#15 {main}
     
Request state

array(4) {
  ["url"] => string(15) "/account/alerts"
  ["referrer"] => string(47) "https://xxxxx/whats-new/posts/23406/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

I'm using XF 2.2.x. Any help would be appreciated! Or maybe I can downgrade back to 1.20.1 which didn't seem to have any errors? Thanks!
 
Last edited:
None of my add-ons use the "canInvite" method in that context (nor XF). If you have a look at the account_wrapper template and applied template modifications you should be able to find the add-on which is using that method.

Sadly the stack trace doesn't help find which add-ons are involved in this.
 
None of my add-ons use the "canInvite" method in that context (nor XF). If you have a look at the account_wrapper template and applied template modifications you should be able to find the add-on which is using that method.

Sadly the stack trace doesn't help find which add-ons are involved in this.
*Fixed it. I still had template code in "account_wrapper" for a plugin I had uninstalled recently.

You are a king, thanks so much!!
 
  • Like
Reactions: Xon
I'm really unsure how I managed that one. Kicking off another build is enough enough, but I'll need to redo some testing since I suspect I was testing against the wrong choices.js build
 
  • Like
Reactions: TnT
I2m getting this error. I am not sure whether it's related with the StandartLib or some other stuff.


1738651651280.webp
 
This is a styling issue or running a newer version of php on a very old XF version. Unrelated to this add-on.
 
Xon updated Standard Library by Xon with a new update entry:

1.21.14 - Bugfix update

  • Update to choices.js v11.0.4
    • Fix selected option being escaped twice (Affects MultiPrefix editing a thread prefix)
    • Fix reaching maximum item limit notice is not cleared after removing selections
    • Fix tab => direction keys handling
    • Fix performance regression when loading options after choices.js object creation (Affects MultiPrefix loading per-forum prefixes)

Read the rest of this update entry...
 
Back
Top Bottom