LycheeOrg/Lychee-v3

Error: Missing parameters. Can not execute function Lychee\\Access\\Admin::setPositionAction

KamillaPup opened this issue · 1 comments

Detailed description of the problem [REQUIRED]

A clear and concise description of what the bug is.

Steps to reproduce the issue

Steps to reproduce the behavior: (note: This does NOT happen all the time it happens about half the time).

  1. Click on an album
  2. See "Error: Missing parameters. Can not execute function Lychee\Access\Admin::setPositionAction" in red at the top.

Screen Shot 2021-02-19 at 1 20 31 AM

Screenshots
If applicable, add screenshots to help explain your problem.

Output of the diagnostics [REQUIRED]

Diagnostics
-----------
Warning: Dropbox import not working. No property for dropboxKey.
No critical problems found. Lychee should work without problems!

System Information
------------------
Lychee Version:  3.1.6
DB Version:      030102
System:          Linux
PHP Version:     7.4
MySQL Version:   100148
Imagick:         1
Imagick Active:  1
Imagick Version: 1687
GD Version:      bundled (2.1.0 compatible)
Plugins:         

Browser and system

MacOS with Waterfox and Safari (same error on both)

Full information in console

{…}
​
description: "Missing parameters. Can not execute function Lychee\\Access\\Admin::setPositionAction"
​
params: {…}
​​
function: "Album::setPosition"
​​
photoOrder: Array(16) [ 0, "s", "f", … ]
​​
<prototype>: Object { … }
​
response: "Error: Missing parameters. Can not execute function Lychee\\Access\\Admin::setPositionAction"
​
<prototype>: Object { … }
main.js:13:20527
d7415 commented

Please upgrade to at least 3.2.16 or, ideally, Lychee v4. In the meantime I'm going to close this as it's such a very old version of Lychee.