Hi community

I installed User Reference Node Access for drupal 8. When I try to go to the admin config module, the drupal site show me the message "The website encountered an unexpected error. Try it again later.". The log system show me the follow message:

InvalidArgumentException: Class \Drupal\user_reference_node_access\Form\UserReferenceNodeAccessConfigurationForm does not exist. in Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition() (line 24 of /home/systemuser/public_html/core/lib/Drupal/Core/DependencyInjection/ClassResolver.php).

Please how it can fixed?

CommentFileSizeAuthor
#2 admin_config_error-3046373-2.patch275 bytessergiu stici

Comments

williamr3 created an issue. See original summary.

sergiu stici’s picture

Status: Active » Needs review
StatusFileSize
new275 bytes

I corrected the error, here is the patch.

mautumn’s picture

Patch #2 works for me - thanks very much.

williamr3’s picture

Patch #2 works fine, thanks

prestosaurus’s picture

Issue summary: View changes
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

mjgruta’s picture

The issue still exist when using composer require drupal/user_reference_node_access
I think this should be committed on production and not on development version.