Title: Error js when adding Saved tabs
Last modified: March 20, 2018

---

# Error js when adding Saved tabs

 *  Resolved [sandrayin](https://wordpress.org/support/users/sandrayin/)
 * (@sandrayin)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-js-when-adding-saved-tabs/)
 * WC 3.3.3
 * In WC Status page,
    Custom Product Tabs for WooCommerce by YIKES, Inc. – 1.6.4–
   Not tested with the active version of WooCommerce
 * I am getting js error when trying to add saved tabs.
 * Uncaught TypeError: Cannot read property ‘translate’ of undefined
    at Object.
   b.editor.initialize (load-scripts.php?c=0&load[]=wp-pointer,thickbox,hoverIntent,
   common,admin-bar,wp-ajax-response,jquery-color,wp-lists,postbox,heartbeat,autosave,
   suggest,tags-&load[]=suggest,tags-box,word-count,post,editor-expand,shortcode,
   wp-plupload,wp-mediaelement,wp-api-request,media-views,media-editor,med&load[]
   =ia-audiovideo,mce-view,imgareaselect,image-edit,svg-painter,wp-auth-check,wpdialogs,
   media-upload,editor,quicktags,wplink,jquery-&load[]=ui-accordion,wp-embed&ver
   =4.9.4:616)
 *  at yikes_woo_get_wp_editor_foureight (repeatable-custom-tabs-shared.min.js?ver
   =1.6.4:1)
 *  at yikes_woo_add_another_tab (repeatable-custom-tabs.min.js?ver=1.6.4:1)
 * at yikes_woo_apply_resuable_tab (repeatable-custom-tabs.min.js?ver=1.6.4:1)
 * at Object.success (repeatable-custom-tabs.min.js?ver=1.6.4:1)
 * at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,jquery-
   ui-widget,jquery-ui-position,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&
   load[]=e,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,backbone,wp-util,wp-backbone,
   media-models,moxiejs,plupload&ver=4.9.4:2)
    at Object.fireWith [as resolveWith](
   load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,jquery-ui-widget,
   jquery-ui-position,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&load[]
   =e,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,backbone,wp-util,wp-backbone,
   media-models,moxiejs,plupload&ver=4.9.4:2) at y (load-scripts.php?c=0&load[]=
   jquery-core,jquery-migrate,underscore,jquery-ui-widget,jquery-ui-position,utils,
   jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,jquery-ui-menu,wp-a11y,
   jquery-ui-autocomplete,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload&
   ver=4.9.4:4) at XMLHttpRequest.c (load-scripts.php?c=0&load[]=jquery-core,jquery-
   migrate,underscore,jquery-ui-widget,jquery-ui-position,utils,jquery-ui-core,jquery-
   ui-mouse,jquery-ui-sortabl&load[]=e,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,
   backbone,wp-util,wp-backbone,media-models,moxiejs,plupload&ver=4.9.4:4) b.editor.
   initialize @ load-scripts.php?c=0&load[]=wp-pointer,thickbox,hoverIntent,common,
   admin-bar,wp-ajax-response,jquery-color,wp-lists,postbox,heartbeat,autosave,suggest,
   tags-&load[]=suggest,tags-box,word-count,post,editor-expand,shortcode,wp-plupload,
   wp-mediaelement,wp-api-request,media-views,media-editor,med&load[]=ia-audiovideo,
   mce-view,imgareaselect,image-edit,svg-painter,wp-auth-check,wpdialogs,media-upload,
   editor,quicktags,wplink,jquery-&load[]=ui-accordion,wp-embed&ver=4.9.4:616 yikes_woo_get_wp_editor_foureight
   @ repeatable-custom-tabs-shared.min.js?ver=1.6.4:1 yikes_woo_add_another_tab 
   @ repeatable-custom-tabs.min.js?ver=1.6.4:1 yikes_woo_apply_resuable_tab @ repeatable-
   custom-tabs.min.js?ver=1.6.4:1 (anonymous) @ repeatable-custom-tabs.min.js?ver
   =1.6.4:1 i @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,
   jquery-ui-widget,jquery-ui-position,utils,jquery-ui-core,jquery-ui-mouse,jquery-
   ui-sortabl&load[]=e,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,backbone,wp-
   util,wp-backbone,media-models,moxiejs,plupload&ver=4.9.4:2 fireWith @ load-scripts.
   php?c=0&load[]=jquery-core,jquery-migrate,underscore,jquery-ui-widget,jquery-
   ui-position,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,jquery-
   ui-menu,wp-a11y,jquery-ui-autocomplete,backbone,wp-util,wp-backbone,media-models,
   moxiejs,plupload&ver=4.9.4:2 y @ load-scripts.php?c=0&load[]=jquery-core,jquery-
   migrate,underscore,jquery-ui-widget,jquery-ui-position,utils,jquery-ui-core,jquery-
   ui-mouse,jquery-ui-sortabl&load[]=e,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,
   backbone,wp-util,wp-backbone,media-models,moxiejs,plupload&ver=4.9.4:4 c @ load-
   scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,jquery-ui-widget,
   jquery-ui-position,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&load[]
   =e,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,backbone,wp-util,wp-backbone,
   media-models,moxiejs,plupload&ver=4.9.4:4 XMLHttpRequest.send (async) send @ 
   load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,jquery-ui-widget,
   jquery-ui-position,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&load[]
   =e,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,backbone,wp-util,wp-backbone,
   media-models,moxiejs,plupload&ver=4.9.4:4 ajax @ load-scripts.php?c=0&load[]=
   jquery-core,jquery-migrate,underscore,jquery-ui-widget,jquery-ui-position,utils,
   jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,jquery-ui-menu,wp-a11y,
   jquery-ui-autocomplete,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload&
   ver=4.9.4:4 n.(anonymous function) @ load-scripts.php?c=0&load[]=jquery-core,
   jquery-migrate,underscore,jquery-ui-widget,jquery-ui-position,utils,jquery-ui-
   core,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,jquery-ui-menu,wp-a11y,jquery-
   ui-autocomplete,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload&ver
   =4.9.4:4 yikes_woo_fetch_reusable_tab @ repeatable-custom-tabs.min.js?ver=1.6.4:
   1 (anonymous) @ repeatable-custom-tabs.min.js?ver=1.6.4:1 dispatch @ load-scripts.
   php?c=0&load[]=jquery-core,jquery-migrate,underscore,jquery-ui-widget,jquery-
   ui-position,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,jquery-
   ui-menu,wp-a11y,jquery-ui-autocomplete,backbone,wp-util,wp-backbone,media-models,
   moxiejs,plupload&ver=4.9.4:3 r.handle @ load-scripts.php?c=0&load[]=jquery-core,
   jquery-migrate,underscore,jquery-ui-widget,jquery-ui-position,utils,jquery-ui-
   core,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,jquery-ui-menu,wp-a11y,jquery-
   ui-autocomplete,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload&ver
   =4.9.4:3

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

 *  Plugin Contributor [yikesitskevin](https://wordpress.org/support/users/yikesitskevin/)
 * (@yikesitskevin)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-js-when-adding-saved-tabs/#post-10098855)
 * Hi [@sandrayin](https://wordpress.org/support/users/sandrayin/),
 * It looks like there’s an error when trying to execute a `translate` function 
   within the editor. This sounds like a conflict with another plugin. Do you have
   any editor (tinyMCE) plugins? Any translate-editor plugins?
 * Let me know.
 * All the best,
    Kevin.
 *  Thread Starter [sandrayin](https://wordpress.org/support/users/sandrayin/)
 * (@sandrayin)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-js-when-adding-saved-tabs/#post-10099537)
 * Hi, I only have WPML.
 *  Plugin Contributor [yikesitskevin](https://wordpress.org/support/users/yikesitskevin/)
 * (@yikesitskevin)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-js-when-adding-saved-tabs/#post-10099588)
 * Hm. We’re definitely compatible with WPML. Do you have any errors with adding
   custom tabs or is the error only for saved tabs? Also, when you say “Adding saved
   tabs,” you’re referring to adding them to a product, right? (Not when creating
   a saved tab).
 * It still sounds like a plugin conflict. Would you mind copy and pasting your 
   list of active plugins?
 * Thank you,
    Kevin.
 *  Thread Starter [sandrayin](https://wordpress.org/support/users/sandrayin/)
 * (@sandrayin)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-js-when-adding-saved-tabs/#post-10101253)
 * Hi,
 * 1. Do you have any errors with adding custom tabs or is the error only for saved
   tabs?
    – I just tried, clicking the ‘add a tab’ or ‘add a saved tab’ will give
   me that error. Looks like it is not due to save tabs only.
 * 2. Also, when you say “Adding saved tabs,” you’re referring to adding them to
   a product, right?
    – Yes adding to a product. No problem in saving a global tab.
 * 3. List of plugins. Some are not able to update because subscription expired.
   –
 *     ```
       AfterShip - WooCommerce Tracking	Version 1.8.1 | By AfterShip | View details
       Billplz for WooCommerce	Version 3.18 | By Wanzul Hosting Enterprise | View details
       Code Snippets	Version 2.10.1.1 | By Shea Bunge | View details | About | Support | Donate
       Columns	Version 0.7.3 | By Konstantin Kovshenin | View details
       Contact Form 7	Version 5.0.1 | By Takayuki Miyoshi | View details
       Contact Form DB	Version 2.10.29 | By Michael Simpson | Visit plugin site
       Cool Timeline	Version 1.3.2 | By Cool Timeline Team | View details
       Cornerstone	Version 3.0.4 | By Themeco | Visit plugin site
       Custom Product Tabs for WooCommerce	Version 1.6.4 | By YIKES, Inc. | View details
       Duplicate Page	Version 2.5 | By mndpsingh287 | View details
       Essential Grid	Version 2.2.4 | By ThemePunch | Visit plugin site
       Facebook for WooCommerce	Version 1.8.2 | By Facebook | Visit plugin site
       Force Regenerate Thumbnails	Version 2.0.6 | By Pedro Elsner | View details
       Google Analytics Dashboard for WP (GADWP)	Version 5.3.1.1 | By Alin Marcu | View details
       Product Brands For WooCommerce	Version 1.0 | By Varun Sridharan | View details
       Really Simple SSL	Version 2.5.26 | By Rogier Lankhorst | View details
       Redirection	Version 3.2 | By John Godley | View details
       Simply Show Hooks	Version 1.2.1 | By Stuart O'Brien, cxThemes | View details
       Slider Revolution	Version 5.4.7.2 | By ThemePunch | Visit plugin site
       Smart Manager	Version 3.16.1 | By StoreApps | View details
       UberMenu 3 - The Ultimate WordPress Mega Menu	Version 3.2.7 | By Chris Mavricos, SevenSpark | Visit plugin site | Check for updates
       WooCommerce	Version 3.3.4 | By Automattic | View details | Docs | API docs | Premium support
       WooCommerce Advanced Shipping	Version 1.0.13 | By Jeroen Sormani | Visit plugin site
       WooCommerce Cart Stock Reducer	Version 2.10 | By James Golovich | View details
       WooCommerce Checkout Field Editor Pro	Version 2.7.7 | By ThemeHiGH | Visit plugin site
       WooCommerce Gateways Country Limiter	Version 1.4 | By OnTheGoSystems | Visit plugin site
       WooCommerce Menu Extension	Version 1.6 | By August Infotech | View details
       WooCommerce Multilingual	Version 4.2.9 | By OnTheGoSystems | View details
       WooCommerce PDF Invoices & Packing Slips	Version 2.1.6 | By Ewout Fernhout | View details | Documentation | Support Forum
       WooCommerce TM Extra Product Options	Version 4.6.5 | By themecomplete | Visit plugin site
       WP Facebook Messenger	Version 1.0 | By Ninja Team | View details
       WP Rich Snippets	Version 1.4.6 | By Hesham Zebida | View details
       WP Rocket	Version 2.11.7 | By WP Media | Visit plugin site
       WP Rocket | Disable Page Caching	By WP Rocket Support Team | Visit plugin site
       WPFront Notification Bar	Version 1.7 | By Syam Mohan | View details
       WPML CMS Nav	Version 1.4.21 | By OnTheGoSystems | View details
       WPML Media	Version 2.2.1 | By OnTheGoSystems | View details
       WPML Multilingual CMS	Version 3.8.0 | By OnTheGoSystems | View details
       WPML Sticky Links	Version 1.4.2 | By OnTheGoSystems | View details
       WPML String Translation	Version 2.6.0 | By OnTheGoSystems | View details
       WPML Translation Management	Version 2.4.0 | By OnTheGoSystems | View details
       WPRS Customizer	Version 1.5 | By Hesham Zebida | Visit plugin site
       WPRS WooCommerce Reviews	Version 1.0 | By Hesham Zebida | View details
       X – Email Forms (MailChimp)	Version 1.1.2 | By Themeco | Visit plugin site
       X – Smooth Scroll	Version 1.0.4 | By Themeco | Visit plugin site
       Yoast SEO	Version 7.1 | By Team Yoast | View details
       ```
   
 *  Thread Starter [sandrayin](https://wordpress.org/support/users/sandrayin/)
 * (@sandrayin)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-js-when-adding-saved-tabs/#post-10101279)
 * Update, I have disabled all plugins except Woocommerce and Yikes custom tabs.
   But the error still persisted.
 * I am currently at WC 3.3.4.
    Custom tab (free version)
 * At the Woocommerce status page, this is what I got:
 * Active plugins (2)
    WooCommerce – by Automattic – 3.3.4 Custom Product Tabs for
   WooCommerce – by YIKES, Inc. – 1.6.4 – Not tested with the active version of 
   WooCommerce
 *  Plugin Contributor [yikesitskevin](https://wordpress.org/support/users/yikesitskevin/)
 * (@yikesitskevin)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-js-when-adding-saved-tabs/#post-10103486)
 * Hi [@sandrayin](https://wordpress.org/support/users/sandrayin/),
 * Thanks for disabling the plugins and testing that. I know that’s a pain but it’s
   really helpful for troubleshooting. I don’t know what’s going on with your setup
   but my only assumption is that it must be a conflict with your theme.
 * As I assume your pretty attached to your theme, I am not sure what to try from
   here. You could try temporarily switching your theme just to check if it is the
   problem?
 * Sorry I don’t have anything more helpful.
 * Cheers,
    Kevin.

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

The topic ‘Error js when adding Saved tabs’ is closed to new replies.

 * ![](https://ps.w.org/yikes-inc-easy-custom-woocommerce-product-tabs/assets/icon-
   256x256.png?rev=1558461)
 * [Custom Product Tabs for WooCommerce](https://wordpress.org/plugins/yikes-inc-easy-custom-woocommerce-product-tabs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yikes-inc-easy-custom-woocommerce-product-tabs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yikes-inc-easy-custom-woocommerce-product-tabs/)
 * [Active Topics](https://wordpress.org/support/plugin/yikes-inc-easy-custom-woocommerce-product-tabs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yikes-inc-easy-custom-woocommerce-product-tabs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yikes-inc-easy-custom-woocommerce-product-tabs/reviews/)

## Tags

 * ["js error"](https://wordpress.org/support/topic-tag/js-error/)

 * 6 replies
 * 2 participants
 * Last reply from: [yikesitskevin](https://wordpress.org/support/users/yikesitskevin/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/error-js-when-adding-saved-tabs/#post-10103486)
 * Status: resolved