All of a sudden I'm getting warning "Use of unknown class: 'Drupal'PHP(PHP0413" for lines of code like the following:
$uids = \Drupal::entityTypeManager()
->getStorage('user')->getQuery()
->accessCheck(false)
->condition('name', $name)
->range(0, 1)
->execute();
and:
\Drupal::logger('mfa')->warning("No fingerprints found for {$name}({$uid})");
I've been using DEVSENSE for a couple years. It never did this before. I have another project with the same code and it doesn't do this. Can't figure out what is different between the two. Any ideas?