Title: Theme error
Last modified: August 29, 2019

---

# Theme error

 *  [ccc27530](https://wordpress.org/support/users/ccc27530/)
 * (@ccc27530)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/theme-error-37/)
 * Hi. I am using this themes for my homepage. But i get this error.
    Can you help
   on this issue..?
 * Uncaught TypeError: Cannot read property ‘top’ of undefined
    at HTMLDocument.
   <anonymous> (custom.js:37) at i (jquery.js?ver=1.12.4-wp:2) at Object.fireWith[
   as resolveWith] (jquery.js?ver=1.12.4-wp:2) at Function.ready (jquery.js?ver=
   1.12.4-wp:2) at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
 * In this custom.js
    if(bestwp_ajax_object.sticky_menu){ // grab the initial top
   offset of the navigation var bestwpstickyNavTop = $(‘.bestwp-primary-menu-container’).
   offset().top;
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftheme-error-37%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Theme error’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/bestwp/1.0.5/screenshot.png)
 * BestWP
 * [Support Threads](https://wordpress.org/support/theme/bestwp/)
 * [Active Topics](https://wordpress.org/support/theme/bestwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/bestwp/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/bestwp/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ccc27530](https://wordpress.org/support/users/ccc27530/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/theme-error-37/)
 * Status: not resolved