Drupal : “Access denied” to anonymous users on all pages

118 Views Asked by At

Since my update to Drupal 10.1.7, the entire site (page and eck) is in "Access denied" to anonymous users.

Note that it works normally when I'm connected.

I'm completely stuck!

Thanks for your help

2

There are 2 best solutions below

0
On

Sometimes its the files folder permissions where you have to set it to 755, however you can also check it with the drush login and then check in the permissions.

0
On

Thanks for your responses but I found the answer!

For some reason, the "Anonymous user" role was removed during the update.

I recreated one without forgetting to give it a machine name "anonimous" and everything is back to normal!