• Resolved fanny300

    (@fanny300)


    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:415

    in_array() expects parameter 2 to be array, null given 1
    wp-content/plugins/enhanced-media-library/enhanced-media-library.php:481

    array_map(): Argument #2 should be an array 1
    wp-content/plugins/enhanced-media-library/enhanced-media-library.php:585

    For 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

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

    (@webbistro)

    Hello @fanny300,

    I am very sorry for not replying in due time!

    The issue you experienced is most likely caused by some update glitch when the options weren’t saved in the database. To solve this it’s quite enough to re-save options. We improved the update mechanism since version 2.7.x. Please give it a try.

    Best,
    -Nadia

Viewing 1 replies (of 1 total)

The topic ‘Bug PHP and JS’ is closed to new replies.