2

The following will return an array keyed by the long extension 'key', whose values are one of installed uninstalled disabled (or, less commonly, unknown, installed-missing, disabled-missing) <?php $list = CRM_Extension_System::singleton()->getManager()->getStatuses(); You can find enabled ones with: <?php $list = array_keys(preg_grep('/^...


2

For anyone else this might help - I ran a Cleanup Caches via /civicrm/admin/setting/updateConfigBackend?reset=1 and the site started working fine again.


1

You can also do it with a query. Obviously it is better to do it with the API but as explained above it takes a while.... $query = "SELECT COUNT(*) FROM civicrm_extension WHERE full_name = %1 AND is_active = TRUE"; $countExt = CRM_Core_DAO::singleValueQuery($query, [1 => ["aah", "String"]]);


1

Another option for sending reminders where Scheduled Reminders do not apply is via CiviRules


1

Have you tried scheduled reminders? It can be based on activities. See https://docs.civicrm.org/user/en/latest/email/scheduled-reminders/


Only top voted, non community-wiki answers of a minimum length are eligible