Title: Javascript Errors
Last modified: March 15, 2021

---

# Javascript Errors

 *  [danlawson](https://wordpress.org/support/users/danlawson/)
 * (@danlawson)
 * [5 years ago](https://wordpress.org/support/topic/javascript-errors-53/)
 * Hello, I have been using your plugin for a few months now, however after the 
   recent update to both the plugin and WordPress i am unable to use the wizard 
   to add new Schema types.
 * I get the following errors in the console:
 *     ```
       Uncaught TypeError: e(...).select2 is not a function
           at HTMLDocument.<anonymous> (saswp-add-new.min.js?ver=1.9.67:1)
           at e (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core&ver=5.7:2)
       ```
   
 *     ```
       migrate,utils,moxiejs,plupload,jquery-ui-core&ver=5.7:2 Uncaught TypeError: jQuery(...).datepicker is not a function
           at saswp_schema_datepicker (structure_admin.min.js?ver=1.9.67:1)
           at HTMLDocument.<anonymous> (structure_admin.min.js?ver=1.9.67:1)
           at e (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core&ver=5.7:2)
       ```
   
    -  This topic was modified 5 years ago by [danlawson](https://wordpress.org/support/users/danlawson/).

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

 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [5 years ago](https://wordpress.org/support/topic/javascript-errors-53/#post-14188528)
 * Can you please send us the list of plugins you are using? and themes?
 *  Thread Starter [danlawson](https://wordpress.org/support/users/danlawson/)
 * (@danlawson)
 * [5 years ago](https://wordpress.org/support/topic/javascript-errors-53/#post-14188621)
 * Yes, sure:
 * Wordpress Version: 5.7
 *     ```
       Advanced Custom Fields PRO	Version 5.9.5 by Elliot Condon
       Category Order and Taxonomy Terms Order	Version 1.5.7.4 by Nsp-Code
       CF7 to Webhook	Version 2.2.3 by Mário Valney, Vizir Software Studio
       Contact Form 7	Version 5.4 by Takayuki Miyoshi
       Contact Form 7 - Freshworks CRM Integration	Version 1.0.0 by Obtain Code
       Custom Post Type UI	Version 1.8.2 by WebDevStudios
       Media Cloud	Version 4.2.7 by interfacelab (Latest version: 4.2.8)
       Post Types Order	Version 1.9.5.5 by Nsp Code
       Redirection	Version 5.0.1 by John Godley
       Safe SVG	Version 1.9.9 by Daryll Doyle
       Sassy Social Share	Version 3.3.20 by Team Heateor
       Schema & Structured Data for WP & AMP	Version 1.9.67 by Magazine3
       Smush	Version 3.8.3 by WPMU DEV
       Soil	Version 3.9.0 by Roots
       Spatie Ray	Version 1.2.4 by Spatie
       WP Offload SES Lite	Version 1.4.4 by Delicious Brains
       Yoast SEO	Version 12.9.1 by Team Yoast (Latest version: 16.0)
       ```
   
 * I am using a custom built theme with the starter kit:
 * [https://roots.io/sage/](https://roots.io/sage/)
 * This theme is built using tailwind CSS and very little javascript:
 *     ```
       import 'jquery';
       import 'alpinejs';
       import feather from 'feather-icons';
   
       $(document).ready(() => {
           feather.replace();
   
           $('body').on('change', '[data-populate]', function () {
               let targetElem = $(this).data('populate');
               $(targetElem).val($(this).val());
           });
       });
       ```
   
 * Thank you.
    -  This reply was modified 5 years ago by [danlawson](https://wordpress.org/support/users/danlawson/).
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [5 years ago](https://wordpress.org/support/topic/javascript-errors-53/#post-14194303)
 * We tried and install all listed plugins but unable to find the issue. We are 
   investigating it further and try to find the issue.
 *  Thread Starter [danlawson](https://wordpress.org/support/users/danlawson/)
 * (@danlawson)
 * [5 years ago](https://wordpress.org/support/topic/javascript-errors-53/#post-14201593)
 * Thank you, I should add that they are on the “Add New Schema” page, I am unable
   to select an Item Type due to the JS errors.
 * Thanks

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

The topic ‘Javascript Errors’ is closed to new replies.

 * ![](https://ps.w.org/schema-and-structured-data-for-wp/assets/icon-256x256.png?
   rev=1922284)
 * [Schema & Structured Data for WP & AMP](https://wordpress.org/plugins/schema-and-structured-data-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/schema-and-structured-data-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [danlawson](https://wordpress.org/support/users/danlawson/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/javascript-errors-53/#post-14201593)
 * Status: not resolved