Title: Uncaught TypeError in admin view
Last modified: March 7, 2019

---

# Uncaught TypeError in admin view

 *  [johanmediaspjuth](https://wordpress.org/support/users/johanmediaspjuth/)
 * (@johanmediaspjuth)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/uncaught-typeerror-in-admin-view/)
 * I have som problems regarding Advanced Custom Fields on a site. Have tried to
   deactivate all other plugins but no success there.
 * Everything works fine on the site but in the admin view I cant expand any ACF-
   fields. I´ve tried to search for any related problems but cant seem to fix this.
 * Below you can se the errors in the console:
 *     ```
       acf-field-group.min.js?ver=5.7.13:1 Uncaught TypeError: acf.Model is not a constructor
           at acf-field-group.min.js?ver=5.7.13:1
           at acf-field-group.min.js?ver=5.7.13:1
       acf-pro-field-group.min.js?ver=5.7.13:1 Uncaught TypeError: Cannot read property 'extend' of undefined
           at acf-pro-field-group.min.js?ver=5.7.13:1
           at acf-pro-field-group.min.js?ver=5.7.13:1
       post.php?post=378&action=edit:4663 Uncaught TypeError: acf.newPostbox is not a function
           at post.php?post=378&action=edit:4663
       post.php?post=378&action=edit:4756 Uncaught TypeError: acf.newPostbox is not a function
           at post.php?post=378&action=edit:4756
       post.php?post=378&action=edit:4816 Uncaught TypeError: acf.doAction is not a function
           at post.php?post=378&action=edit:4816
       post.php?post=378&action=edit:4857 Uncaught ReferenceError: QTags is not defined
           at post.php?post=378&action=edit:4857
       ```
   

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

 *  [Mr_sordum](https://wordpress.org/support/users/paulcityhopper/)
 * (@paulcityhopper)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/uncaught-typeerror-in-admin-view/#post-11404642)
 * Here I have the same issue. Its in combination with the Yoast SEO Plugin.
 * So you should check it like Yoast aswell. If you deactivate one of the plugins
   it will work.
 * Please fix that issue.
 * Here is the link to my ticket [@yoast](https://wordpress.org/support/users/yoast/):
   [https://wordpress.org/support/topic/editor-error-9/#post-11404629](https://wordpress.org/support/topic/editor-error-9/#post-11404629)
 *  [Alex](https://wordpress.org/support/users/infinityseeker/)
 * (@infinityseeker)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/uncaught-typeerror-in-admin-view/#post-11528925)
 * I had the same issue and it was caused by my optimisation efforts. I installed
   a plugin called Remove Query Strings, which caused ACF to load wrong js files.
   Disabled that plugin and all works like a charm.
 *  [peterhoejlund](https://wordpress.org/support/users/peterhoejlund/)
 * (@peterhoejlund)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/uncaught-typeerror-in-admin-view/#post-11822248)
 * [@infinityseeker](https://wordpress.org/support/users/infinityseeker/)! Thank
   you!
    This could also be a code in your functions.php removing query strings.
   i had:
 *     ```
       function _remove_script_version( $src ){
         $parts = explode( '?ver', $src );
         return $parts[0];
       }
   
       add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
       add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );
       ```
   
 * And when i removed that – it all worked again.

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

 The topic ‘Uncaught TypeError in admin view’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

## Tags

 * [ACF](https://wordpress.org/support/topic-tag/acf/)

 * 3 replies
 * 4 participants
 * Last reply from: [peterhoejlund](https://wordpress.org/support/users/peterhoejlund/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/uncaught-typeerror-in-admin-view/#post-11822248)
 * Status: not resolved