Uncaught TypeError: Class constructor cannot be invoked without ‘new’
-
Hi
opening WordPress Media library (WP MEDIA FOLDER installed) no library folder structure is shown.I get the error:
Uncaught TypeError: Class constructor cannot be invoked without 'new' at N.d [as constructor] (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,shortcode,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.4:12) at N.d [as constructor] (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,shortcode,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.4:12) at N.d [as constructor] (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,shortcode,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.4:12) at N.d [as constructor] (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,shortcode,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.4:12) at N.d [as constructor] (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,shortcode,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.4:12) at new N.d (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,shortcode,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.4:12) at wp.media.wp.media.view.wp.media.view.MediaFrame.wp.media.view.MediaFrame.Manage.wp.media.view.MediaFrame.Manage.browseContent (load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,media-audiovideo,mce-view,imgareaselect,image-edit,wp-sanitize,wp-a11y,wplink,media-grid,media,svg-&load[]=painter&ver=5.2.4:11) at wp.media.wp.media.view.wp.media.view.MediaFrame.wp.media.view.MediaFrame.Manage.wp.media.view.MediaFrame.Manage.browseContent (media-library.js?ver=1573654244:1) at s (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,shortcode,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.4:12) at r (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,shortcode,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.4:12)
No idea about how to fix
The library folder structure is regularly shown whene selecting media from posts.Did any holy soul have the same problem and could help me fix it?
Thanks!!
- The topic ‘Uncaught TypeError: Class constructor cannot be invoked without ‘new’’ is closed to new replies.