Wordpress w/ Single Sign On: PHP Fatal error: Uncaught Error: Class 'CRM_Civirules_Utils'
Context
CiviCRM is running on a Wordpress site with a SSO plugin that is capable of provisioning users on first login (JIT). Existing users are able to log in correctly, however new users (ie a user/contact creation) fails with the following fatal error.
Research
This seems to be related to the civirules_trigger_preinsert
hook. My initial guess is the somehow the autoloading is not successfully resolving in a scenario where where a user is created but the contact has not been created.
Related
I suspect this is related to #156 (closed).
Error Log
PHP Fatal error: Uncaught Error: Class 'CRM_Civirules_Utils' not found in /home/example/public_html/wp-content/uploads/civicrm/ext/org.civicoop.civirules/civirules.php:356, referer: https://ssoprovider.com/
Stack trace:, referer: https://ssoprovider.com/
#0 /home/example/public_html/wp-content/plugins/civicrm/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php(214): civirules_trigger_preinsert(), referer: https://ssoprovider.com/
#1 /home/example/public_html/wp-content/plugins/civicrm/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php(44): Symfony\\Component\\EventDispatcher\\EventDispatcher->doDispatch(), referer: https://ssoprovider.com/
#2 /home/example/public_html/wp-content/plugins/civicrm/civicrm/Civi/Core/CiviEventDispatcher.php(198): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch(), referer: https://ssoprovider.com/
#3 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php(653): Civi\\Core\\CiviEventDispatcher->dispatch(), referer: https://ssoprovider.com/
#4 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Contact/BAO/Contact.php(189): CRM_Core_DAO->save(), referer: https://ssoprovider.com/
#5 /home/example/public_html/wp-content/plugins/civicrm/civicrm in /home/example/public_html/wp-content/uploads/civicrm/ext/org.civicoop.civirules/civirules.php on line 356, referer: https://ssoprovider.com/
Thoughts appreciated. Where would be a good place to start looking for the issue?