Adminer error: Invalid CSRF token

Issue Summary

Get the following error when attempting to execute a SQL command in Adminer “Invalid CSRF token. Send the form again. If you did not send this request from Adminer then close this page.”

Troubleshooting Questions

Local - all sites.

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?

Yes

Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!

System Details

  • Local Version 5.10.3 +5332
  • Windows 10 64-bit

See attached screen shots and log

local-lightning.log (997.6 KB)

I was able to workaround this issue by copying adminer.php into it’s own folder in the /public directory. For example, http://[site name].local/adminer/adminer.php

Found that I could also run the latest version of Adminer. Obviously not an ideal situation and still need a solution.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.