Bug PHP and JS
-
Hello,
I update in 2.5, when i go on medias, the medias not load.
The error js :
Uncaught TypeError: Cannot read property ‘length’ of undefined
at eval (eval at m.template (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,underscore,wp-util,moxiejs,plupload,jquery-ui-co&load[]=re,jquery-ui-mouse,jquery-ui-sortable&ver=322bd79871dc03fd2f9fd96a8cc1aa2e:38), <anonymous>:17:46)The error php :
in_array() expects parameter 2 to be array, null given 1
wp-content/plugins/enhanced-media-library/core/taxonomies.php:415in_array() expects parameter 2 to be array, null given 1
wp-content/plugins/enhanced-media-library/enhanced-media-library.php:481array_map(): Argument #2 should be an array 1
wp-content/plugins/enhanced-media-library/enhanced-media-library.php:585For solve this problem, i go on parameters -> Medias -> Media’s library
And check at least one boxes in Filters to show.Can you add a default values in your script if no boxes if check ?
Thanks
The topic ‘Bug PHP and JS’ is closed to new replies.