Skip to content
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

Class "Uniform\Guards\Guard" not found #3

Open
colourmafia opened this issue Mar 1, 2023 · 5 comments
Open

Class "Uniform\Guards\Guard" not found #3

colourmafia opened this issue Mar 1, 2023 · 5 comments

Comments

@colourmafia
Copy link

I am getting the error 'Class "Uniform\Guards\Guard" not found'

Line 8 of src/Guards/TurnstileGuard.php:

class TurnstileGuard extends Guard

Manual install to remote server running php 8.0.28

@colourmafia colourmafia changed the title 'Class "Uniform\Guards\Guard" not found Class "Uniform\Guards\Guard" not found Mar 1, 2023
@anselmh
Copy link
Owner

anselmh commented Mar 1, 2023

Hi, I assume you did not install Uniform as well on the server? This plugin requires Uniform and therefore won’t work when this isn’t installed. I will add this to the README, thanks for reporting.

If it still does not work when it’s installed, let me know and we can proceed from there.

@anselmh anselmh closed this as completed in 1463b63 Mar 1, 2023
@colourmafia
Copy link
Author

Hi, yes uniform is also present. Site is already successfully running uniform (have upgraded to 5.3.2 check and still have the problem).

@anselmh anselmh reopened this Mar 2, 2023
@matthieu2607
Copy link

Hi @colourmafia,
What folder did you put in the site/plugins directory?
For this to work, the directory must be named as follows: uniform-turnstile
Best regards

@colourmafia
Copy link
Author

colourmafia commented Apr 11, 2023

Hi @colourmafia, What folder did you put in the site/plugins directory? For this to work, the directory must be named as follows: uniform-turnstile Best regards

I believe it should be 'kirby-uniform-turnstile' , yes?

@colourmafia
Copy link
Author

colourmafia commented Apr 11, 2023

image

Using latest version of turnstile for kirby, kirby and uniform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants