When doing anything with drush for anything I get the following error:

exception [error]
'Doctrine\Common\Annotations\AnnotationException' with
message '[Semantical Error] Couldn't find constant
\Drupal\webform\WebformHandlerInterface::CARDINALITY_UNLIMITED,
class
Drupal\webform_slack\Plugin\WebformHandler\SlackWebformHandler.'
in
social-8.x-1.0-rc5/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:54

Comments

SocialNicheGuru created an issue. See original summary.

bryanmws’s picture

+1 . Same issue here. Any help would be appreciated.

bryanmws’s picture

There's a fix in 2885478: Install error .
Basically the Namespace for cardinality and result moved.

OLD

cardinality = \Drupal\webform\WebformHandlerInterface::CARDINALITY_UNLIMITED,
results = \Drupal\webform\WebformHandlerInterface::RESULTS_PROCESSED,

NEW

cardinality = \Drupal\webform\Plugin\WebformHandlerInterface::CARDINALITY_UNLIMITED,
results = \Drupal\webform\Plugin\WebformHandlerInterface::RESULTS_PROCESSED,
smaz’s picture

Status: Active » Closed (duplicate)

This has been fixed in #2905819: Update module to actual Webform module - cheers!