Title: Uncaught TypeError: (t.data || &#8220;&#8221;).search is not a function error
Last modified: July 20, 2018

---

# Uncaught TypeError: (t.data || “”).search is not a function error

 *  Resolved [Dean](https://wordpress.org/support/users/deane1/)
 * (@deane1)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/uncaught-typeerror-t-data-search-is-not-a-function-error/)
 * Hi, I’m receiving this error on my pages of my site, about every 10 seconds a
   repeat of this error occurs.
 * Uncaught TypeError: (t.data || “”).search is not a function error
 * I also believe it’s causing my site to load slowly.
 * Is there any way to fix this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funcaught-typeerror-t-data-search-is-not-a-function-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Leland](https://wordpress.org/support/users/addthisleland/)
 * (@addthisleland)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/uncaught-typeerror-t-data-search-is-not-a-function-error/#post-10512708)
 * Hi Dean!
 * Thanks for contacting AddThis Support 🙂
 * I wasn’t able to replicate your error but I’ve seen this issue before and it’s
   usually being caused by one of your browser extensions.
 * Can you try opening in Chrome Incognito mode and see if the console errors appear?
 * Thanks,
    Leland
 *  Thread Starter [Dean](https://wordpress.org/support/users/deane1/)
 * (@deane1)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/uncaught-typeerror-t-data-search-is-not-a-function-error/#post-10512868)
 * It appears one of my crypto extensions was causing the issue. Thanks Leland. 
   Great plugin btw.
 * ony more question,
 * Is there a way I can add padding by percent (em) to the vertical share widgets
   on desktop so they are closer to my content and not on the outside edge of my
   browser?
 * I was able to do it with google console but I could not find the source file 
   to make the change permanently
 *  Plugin Contributor [Leland](https://wordpress.org/support/users/addthisleland/)
 * (@addthisleland)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/uncaught-typeerror-t-data-search-is-not-a-function-error/#post-10512935)
 * Hi Dean,
 * Yes! You can move the floating share button a bit to the right by targeting its
   CSS class.
 * Try inserting this CSS rule into your stylesheet (you may have to adjust the ’
   em’ value to the desired positioning):
 * .at4-share{padding-left: 1em!important}
 * Let me know if that works!
 * Thanks,
    Leland
 *  Thread Starter [Dean](https://wordpress.org/support/users/deane1/)
 * (@deane1)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/uncaught-typeerror-t-data-search-is-not-a-function-error/#post-10512955)
 * That mostly did the trick. It caused the total number of shares to be placed 
   to the top right of the share buttons though, the only thing I modified with 
   your code was I changed the 1 to a 16. Is there any way to force the blocks to
   stay inline vertically?
 *  Plugin Contributor [Leland](https://wordpress.org/support/users/addthisleland/)
 * (@addthisleland)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/uncaught-typeerror-t-data-search-is-not-a-function-error/#post-10513048)
 * Can you try adding in this rule in your stylesheet as well?
 * .at-custom-sidebar-counter {display: block !important;}
 * Let me know if this works!
 * Thanks,
    Leland
 *  Thread Starter [Dean](https://wordpress.org/support/users/deane1/)
 * (@deane1)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/uncaught-typeerror-t-data-search-is-not-a-function-error/#post-10513151)
 * That did not do the trick.
 * I think I might just leave it on the edge. On my smaller screened laptop, it 
   put the share icons in the middle of my content.
 * I’m sure there is a way to lock to the edge of the content, but it’s not that
   important to me right now.
 * maybe a future update 😉
 * Thanks again leland.
 *  [newview08](https://wordpress.org/support/users/newview08/)
 * (@newview08)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/uncaught-typeerror-t-data-search-is-not-a-function-error/#post-10880979)
 * I’m having this same issue (you can see it on this page – [https://tinyurl.com/yajz845r](https://tinyurl.com/yajz845r)).
 * This error is: TypeError: (intermediate value).search is not a function
 * You can see it on this page – [https://tinyurl.com/yajz845r](https://tinyurl.com/yajz845r)
 * Debugger is showing that is coming from the following AddThis js url: [https://s7.addthis.com/static/sh.e4e8af4de595fdb10ec1459d.html#rand=0.5994284514962402&iit=1542220434007&tmr=load%3D1542220433408%26core%3D1542220433473%26main%3D1542220434002%26ifr%3D1542220434010&cb=0&cdn=0&md=0&kw=&ab=-&dh=qawwwabm.wpengine.com&dr=https%3A%2F%2Fqawwwabm.wpengine.com%2Fmake-a-difference%2Fshare-your-story%2F&du=https%3A%2F%2Fqawwwabm.wpengine.com%2Fmake-a-difference%2F&href=https%3A%2F%2Fqawwwabm.wpengine.com%2Fmake-a-difference%2F&dt=ABM%20-%20Make%20a%20Difference&dbg=0&cap=tc%3D0%26ab%3D0&inst=1&jsl=1&prod=undefined&lng=en&ogt=&pc=men&pub=ra-5be75679daea4c94&ssl=1&sid=5bec6a91e5fc2e43&srf=0.01&ver=300&xck=0&xtr=0&og=&csi=undefined&rev=v8.3.32-wp&ct=1&xld=1&xd=1](https://s7.addthis.com/static/sh.e4e8af4de595fdb10ec1459d.html#rand=0.5994284514962402&iit=1542220434007&tmr=load%3D1542220433408%26core%3D1542220433473%26main%3D1542220434002%26ifr%3D1542220434010&cb=0&cdn=0&md=0&kw=&ab=-&dh=qawwwabm.wpengine.com&dr=https%3A%2F%2Fqawwwabm.wpengine.com%2Fmake-a-difference%2Fshare-your-story%2F&du=https%3A%2F%2Fqawwwabm.wpengine.com%2Fmake-a-difference%2F&href=https%3A%2F%2Fqawwwabm.wpengine.com%2Fmake-a-difference%2F&dt=ABM%20-%20Make%20a%20Difference&dbg=0&cap=tc%3D0%26ab%3D0&inst=1&jsl=1&prod=undefined&lng=en&ogt=&pc=men&pub=ra-5be75679daea4c94&ssl=1&sid=5bec6a91e5fc2e43&srf=0.01&ver=300&xck=0&xtr=0&og=&csi=undefined&rev=v8.3.32-wp&ct=1&xld=1&xd=1)
 * Any ideas what I can do, other than to not use AddThis?
 * Thanks
 *  Plugin Author [addthis_matt](https://wordpress.org/support/users/addthis_matt/)
 * (@addthis_matt)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/uncaught-typeerror-t-data-search-is-not-a-function-error/#post-10881192)
 * [@newview08](https://wordpress.org/support/users/newview08/) – That error typically
   appears when someone has a privacy-related browser extension (ad blocker or similar).
   As a quick test, you could try opening the page in an Incognito window, which
   will likely disable the browser extension.

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

The topic ‘Uncaught TypeError: (t.data || “”).search is not a function error’ is
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/addthis_70cced.svg)
 * [WordPress Share Buttons Plugin – AddThis](https://wordpress.org/plugins/addthis/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/addthis/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/addthis/)
 * [Active Topics](https://wordpress.org/support/plugin/addthis/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/addthis/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/addthis/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [addthis_matt](https://wordpress.org/support/users/addthis_matt/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/uncaught-typeerror-t-data-search-is-not-a-function-error/#post-10881192)
 * Status: resolved