Title: JavaScript error: s.trim is not a function
Last modified: January 4, 2022

---

# JavaScript error: s.trim is not a function

 *  Resolved [Chris J. Zähller](https://wordpress.org/support/users/seezee/)
 * (@seezee)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/javascript-error-s-trim-is-not-a-function/)
 * From the console:
 *     ```
       sbi-scripts.min.js:formatted:467 Uncaught TypeError: s.trim is not a function
           at Object.success (sbi-scripts.min.js:formatted:467)
           at c (jquery.min.js:2)
           at Object.fireWith [as resolveWith] (jquery.min.js:2)
           at l (jquery.min.js:2)
           at XMLHttpRequest.<anonymous> (jquery.min.js:2)
       ```
   
 * Feed isn’t loading. Load more button has no effect.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-error-s-trim-is-not-a-function%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Smash Balloon Joel](https://wordpress.org/support/users/joelsmashballoon/)
 * (@joelsmashballoon)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/javascript-error-s-trim-is-not-a-function/#post-15227645)
 * Hey [@seezee](https://wordpress.org/support/users/seezee/),
 * Thank you for reaching out to us for assistance. When I visit your site I am 
   able to see everything working as intended without the mentioned error, and can
   load more: [screenshot](https://a.supportally.com/mo6dq2).
 * Could you clear the browser cache on your end and check again today? If you still
   have the issue, it may be due to a specific browser or browser extensions, could
   you check if you get the same result in another browser and let me know which
   one it is you are getting the error on?
 *  Thread Starter [Chris J. Zähller](https://wordpress.org/support/users/seezee/)
 * (@seezee)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/javascript-error-s-trim-is-not-a-function/#post-15229417)
 * I think it was a caching error. Probably your script was loading before jQuery.
   Everything seems to work now.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘JavaScript error: s.trim is not a function’ is closed to new replies.

 * ![](https://ps.w.org/instagram-feed/assets/icon-256x256.png?rev=2700807)
 * [Smash Balloon Social Photo Feed – Easy Social Feeds Plugin](https://wordpress.org/plugins/instagram-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/instagram-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/instagram-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/instagram-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/instagram-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/instagram-feed/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 2 replies
 * 3 participants
 * Last reply from: [Chris J. Zähller](https://wordpress.org/support/users/seezee/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/javascript-error-s-trim-is-not-a-function/#post-15229417)
 * Status: resolved