You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just done a fresh Civi (v5.58) on Drupal 9 locally to do some testing with the default dummy data and nothing enabled. I enabled only this extension at first as a test re enabling extensions (it is used on our prod Drupal 7 site).
Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: Class "Civi\Token\CiviTokens" used for service "crm_civitoken" cannot be found. in Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass->process() (line 111 of /var/www/html/vendor/symfony/event-dispatcher/DependencyInjection/RegisterListenersPass.php).
Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: Class "Civi\Token\CiviTokens" used for service "crm_civitoken" cannot be found. in Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass->process() (line 111 of /var/www/html/vendor/symfony/event-dispatcher/DependencyInjection/RegisterListenersPass.php).
We do not have any issues using it in prod so I am wondering if there are any dependencies that I need to be aware of?
If I use the browsers back button and click install again, it's fine... so I wonder if it is my setup in some way.
The text was updated successfully, but these errors were encountered:
@totten this seems like a load order issue in core - but the steps to replicate seem like they are very 'clean' & hopefully repeatable. CiviToken does have <psr4 prefix="Civi\" path="Civi"/> in the info.xml and there is nothing in the CRM folder
I've just done a fresh Civi (v5.58) on Drupal 9 locally to do some testing with the default dummy data and nothing enabled. I enabled only this extension at first as a test re enabling extensions (it is used on our prod Drupal 7 site).
The errors in the log are:
Referrer | https://mws.email/civicrm/admin/extensions?action=update&id=nz.co.fuzion.civitoken&key=nz.co.fuzion.civitoken
Messages:
Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: Class "Civi\Token\CiviTokens" used for service "crm_civitoken" cannot be found. in Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass->process() (line 111 of /var/www/html/vendor/symfony/event-dispatcher/DependencyInjection/RegisterListenersPass.php).
Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: Class "Civi\Token\CiviTokens" used for service "crm_civitoken" cannot be found. in Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass->process() (line 111 of /var/www/html/vendor/symfony/event-dispatcher/DependencyInjection/RegisterListenersPass.php).
We do not have any issues using it in prod so I am wondering if there are any dependencies that I need to be aware of?
If I use the browsers back button and click install again, it's fine... so I wonder if it is my setup in some way.
The text was updated successfully, but these errors were encountered: