-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
syntax error, unexpected token ")" #85
Comments
Hi, |
i need a bit more information to debug this since i can not replicate it myself.
you can not call the endpoint manually (without the setup for a secret... see wiki) thats why the auth error is thrown in that case. |
Hi Bruno!
By the panel button.
Yes, the browser console, via the panel button.
Hope this can help:
Same behavior in my local Mamp and my web hosting. |
Hi, Updated to Kirby 3.8.2 and Janitor 3.2.0 installed via .zip file, error is now |
janitor 3 needs kirby cli which can inly be installed with composer |
I've just installed with composer with Now the error is : Same error with |
the core commands from the cli are aimed to print to the console. unless you run these commands with the i created see |
i had brought that issue to the teams attention, the fix is easy enough, but sadly it did not make it in the most recent update. feel free to upvote my issue there: |
Hi @bnomei! Any news on this since CLI 1.1.0 add the |
Hi,
With Kirby 3.5.7, php 8.0.8, Janitor 2.16.2, I've got the
syntax error, unexpected token ")"
error alert on this tasks :cleanCache
flushSessions
render
thumbs
backupZip
flushPages
works.Switching to php 7.4 give this error :
syntax error, unexpected '|', expecting variable (T_VARIABLE)
.Console error :
GET https://mysite.com/api/plugin-janitor/cleanCache/%24 500 (Internal Server Error)
https://mysite.com/api/plugin-janitor/cleanCache/
return{"status":"error","message":"Unauthenticated","code":403,"key":"error.permission","details":[]}
Any idea?
Edit : I'm using composer to update. When I download the files via Github instead of
composer update
, it's working.The text was updated successfully, but these errors were encountered: