Title: Uncaught SyntaxError: Unexpected number
Last modified: August 21, 2016

---

# Uncaught SyntaxError: Unexpected number

 *  Resolved [akella1900](https://wordpress.org/support/users/akella1900/)
 * (@akella1900)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-number/)
 * Hello, gives out an error
 *     ```
       var wptbSelectRow = {
       1: function(
       {jQuery("#wptbheadline1").hide().delay(2000).css("visibility","visible").slideDown(200).fadeIn(1000).show("slow");}		2: function() {jQuery("#wptbheadline2").hide().delay(2000).css("visibility","visible").slideDown(200).fadeIn(1000).show("slow");}
       Uncaught SyntaxError: Unexpected number
       	};
       ```
   
 * Can you help? TopBar 5.16
 * [http://wordpress.org/plugins/wp-topbar/](http://wordpress.org/plugins/wp-topbar/)

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

 *  Plugin Author [rfgoetz](https://wordpress.org/support/users/rfgoetz/)
 * (@rfgoetz)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-number/#post-4439440)
 * Sure.. but I need more details. What is the URL where this error is thrown?
 * Bob
 *  Thread Starter [akella1900](https://wordpress.org/support/users/akella1900/)
 * (@akella1900)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-number/#post-4439441)
 * [http://prostoyput.com.ua/](http://prostoyput.com.ua/)
 *  Plugin Author [rfgoetz](https://wordpress.org/support/users/rfgoetz/)
 * (@rfgoetz)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-number/#post-4439465)
 * OK .. I see why the error is getting generated. I cannot reproduce it.
 * The first step is for me to try with your TopBars on my test site.
 * Can you export your TopBars (in JSON format and email them to me?)
 * My email address is in wp-topbar.php.
 * Thanks,
 * Bob
 *  Thread Starter [akella1900](https://wordpress.org/support/users/akella1900/)
 * (@akella1900)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-number/#post-4439472)
 * did not find the address of mail here reference
    [http://ifolder.com.ua/lu107zgickfg.html](http://ifolder.com.ua/lu107zgickfg.html)
 *  Plugin Author [rfgoetz](https://wordpress.org/support/users/rfgoetz/)
 * (@rfgoetz)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-number/#post-4439474)
 * Hmm… the extract you sent me does not seem complete.
 * I’ve made some changes to the code. Would you be willing to test it to see if
   it solves your problem? If so, reply with an email address and I will send you
   a version you can test with.
 * Bob
 *  Thread Starter [akella1900](https://wordpress.org/support/users/akella1900/)
 * (@akella1900)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-number/#post-4439477)
 * Thank you for support here address [akella1900@mail.ru](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-number/akella1900@mail.ru?output_format=md)
 *  Plugin Author [rfgoetz](https://wordpress.org/support/users/rfgoetz/)
 * (@rfgoetz)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-number/#post-4439486)
 * OK — I have emailed you a version to test.
 *  Plugin Author [rfgoetz](https://wordpress.org/support/users/rfgoetz/)
 * (@rfgoetz)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-number/#post-4439501)
 * akella1900, I just pushed out v 5.17. Let me know if that fixes the problem.
 *  Thread Starter [akella1900](https://wordpress.org/support/users/akella1900/)
 * (@akella1900)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-number/#post-4439502)
 * Bob Thank you, it decided a problem, all works now.
 *  Plugin Author [rfgoetz](https://wordpress.org/support/users/rfgoetz/)
 * (@rfgoetz)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-number/#post-4439503)
 * Good news!

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

The topic ‘Uncaught SyntaxError: Unexpected number’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-topbar_706d6d.svg)
 * [WP-TopBar](https://wordpress.org/plugins/wp-topbar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-topbar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-topbar/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-topbar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-topbar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-topbar/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [rfgoetz](https://wordpress.org/support/users/rfgoetz/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-number/#post-4439503)
 * Status: resolved