Website encounters a problem when resetting a configuration snapshot due to the error below:
'InvalidArgumentException: Class "\Drupal\demo\Form\changesync" does not exist. in Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition() (line 24 of /var/www/html/drupal/core/lib/Drupal/Core/DependencyInjection/'

CommentFileSizeAuthor
#2 2974746.patch436 bytesgchauhan

Comments

gchauhan created an issue. See original summary.

gchauhan’s picture

Status: Active » Needs review
StatusFileSize
new436 bytes
anmolgoyal74’s picture

cannot reproduce the error.
needs more info.

manish-31’s picture

Status: Needs review » Reviewed & tested by the community

It was producing the error because class name and file name was not same and the class name was in small letter. That's why it is showing the error 'class not exist'. Now I have have applied the patch it is working correctly .

gaurav.kapoor’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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