• Hi I am having an error, Uncaught TypeError: $(…).accordion is not a function.

    Could be being caused by jquery version, not entirely sure. Other errors I am getting are

    jquery-migrate.min.js:2 Uncaught TypeError: Cannot read property ‘migrateMute’ of undefined

    selectize.min.js:2 Uncaught TypeError: Cannot read property ‘extend’ of undefined

Viewing 1 replies (of 1 total)
  • Plugin Author PickPlugins

    (@pickplugins)

    Thanks for your post,

    We have used following hook for accordions,

    
    wp_enqueue_script( 'jquery' );
    wp_enqueue_script( 'jquery-ui-core' );
    wp_enqueue_script('jquery-ui-accordion');
    

    If 3rd party plugin/scripts removed these hook might cause error.
    Also please check if your js files called at footer than header. try to hook header.

    Regards

Viewing 1 replies (of 1 total)

The topic ‘Uncaught TypeError: $(…).accordion is not a function’ is closed to new replies.