Laravel-filemanager: actions.reverse() actions is not defined

Created on 5 Nov 2019  路  4Comments  路  Source: UniSharp/laravel-filemanager

Hello
I installed lfm to laravel 5.8 on local LAMPP.
And I can't see any files & folders

Browser console write me:

laravel-filemanager:1 A cookie associated with a cross-site resource at http://cloudflare.com/ was set without the SameSite attribute. A future release of C

hrome will only deliver cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
laravel-filemanager:583` Uncaught ReferenceError: actions is not defined

at HTMLDocument.<anonymous> (laravel-filemanager:583)
at j (jquery.js:3143)
at Object.fireWith [as resolveWith] (jquery.js:3255)
at Function.ready (jquery.js:3467)
at HTMLDocument.J (jquery.js:3498)

Please, help me find solution!

All 4 comments

[583]  actions.reverse().forEach(function (action) { //Uncaught ReferenceError: actions is not defined
    $('#nav-buttons > ul').prepend(
      $('<li>').addClass('nav-item').append(
        $('<a>').addClass('nav-link d-none')
          .attr('data-action', action.name)
          .attr('data-multiple', action.multiple)
          .append($('<i>').addClass('fas fa-fw fa-' + action.icon))
          .append($('<span>').text(action.label))
      )
    );
  });

Hello,
it happened to me when I updated to 2.0, maybe is it your case?
I forced to refresh published files with php artisan vendor:publish --all --force and it worked for me
regards

Thanks, worked for me @pabloperezromani

Hello,
it happened to me when I updated to 2.0, maybe is it your case?
I forced to refresh published files with php artisan vendor:publish --all --force and it worked for me
regards

this is very dangerous, be careful else you will loose a lot of work

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sanvu88 picture sanvu88  路  3Comments

kfulk14 picture kfulk14  路  3Comments

maorkavod picture maorkavod  路  5Comments

t67132 picture t67132  路  3Comments

lukaszevo picture lukaszevo  路  4Comments