CRM_Core_Error::fatal(" is not of type String") Fatal error when copying a reserved profile
We are at CiviCRM 5.9.0 with CiviRules 2.4. I am not sure if this would have happened prior as I had not previously attempted to copy a profile. I went to copy the On Behalf Of Organization profile and got the error below that seems to have been generated by the CiviRules extension. I deleted all of my custom rules and disabled the custom extensions that added them and the error persisted. I ran it through the debugger but cant, for the life of me, figure out what the issue is. I think I have either missed something or possibly messed something up.
Any ideas would be greatly appreciated. Thanks in advance,
A.J.
***BACKTRACE***
#0 DRUPAL_ROOT/sites/all/civicrm/ext/ca.bidon.reporterror/CRM/ReportError/Utils.php(31): reporterror_civicrm_generatereport("GLoVA", (Array:2), NULL, (Array:0))
#1 DRUPAL_ROOT/sites/all/civicrm/ext/ca.bidon.reporterror/CRM/ReportError/Handler/FormsNoReferer.php(54): CRM_ReportError_Utils::sendReport((Array:2), (Array:0))
#2 DRUPAL_ROOT/sites/all/civicrm/ext/ca.bidon.reporterror/reporterror.php(168): CRM_ReportError_Handler_FormsNoReferer::handler((Array:2), (Array:0))
#3 DRUPAL_ROOT/sites/all/modules/contrib/civicrm/CRM/Core/Error.php(368): reporterror_civicrm_handler((Array:2))
#4 DRUPAL_ROOT/sites/all/modules/contrib/civicrm/CRM/Core/DAO.php(1550): CRM_Core_Error::fatal(" is not of type String")
#5 DRUPAL_ROOT/sites/all/modules/contrib/civicrm/CRM/Core/DAO.php(1396): CRM_Core_DAO::composeQuery("SELECT r.id AS rule_id, t.id AS trigger_id, t.class_name, r.trigger_params\n FROM `civirule_rule` r\n ...", (Array:2), TRUE)
#6 DRUPAL_ROOT/sites/all/civicrm/ext/org.civicoop.civirules/CRM/Civirules/BAO/Rule.php(221): CRM_Core_DAO::executeQuery("SELECT r.id AS rule_id, t.id AS trigger_id, t.class_name, r.trigger_params\n FROM `civirule_rule` r\n ...", (Array:2))
#7 DRUPAL_ROOT/sites/all/civicrm/ext/org.civicoop.civirules/CRM/Civirules/Trigger/Post.php(72): CRM_Civirules_BAO_Rule::findRulesByObjectNameAndOp(NULL, "create")
#8 DRUPAL_ROOT/sites/all/civicrm/ext/org.civicoop.civirules/civirules.php(266): CRM_Civirules_Trigger_Post::post("create", NULL, 78, Object(CRM_Core_BAO_UFField))
#9 DRUPAL_ROOT/sites/all/modules/contrib/civicrm/CRM/Utils/Hook.php(282): civirules_civicrm_post("create", NULL, 78, Object(CRM_Core_BAO_UFField))
#10 DRUPAL_ROOT/sites/all/modules/contrib/civicrm/CRM/Utils/Hook/DrupalBase.php(84): CRM_Utils_Hook->runHooks((Array:447), "civicrm_post", 4, "create", NULL, 78, Object(CRM_Core_BAO_UFField), NULL, NULL)
#11 DRUPAL_ROOT/sites/all/modules/contrib/civicrm/Civi/Core/CiviEventDispatcher.php(98): CRM_Utils_Hook_DrupalBase->invokeViaUF(4, "create", NULL, 78, Object(CRM_Core_BAO_UFField), NULL, NULL, "civicrm_post")
#12 DRUPAL_ROOT/sites/all/modules/contrib/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php(184): Civi\Core\CiviEventDispatcher::delegateToUF(Object(Civi\Core\Event\PostEvent), "hook_civicrm_post", Object(Civi\Core\CiviEventDispatcher))
#13 DRUPAL_ROOT/sites/all/modules/contrib/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php(46): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch((Array:2), "hook_civicrm_post", Object(Civi\Core\Event\PostEvent))
#14 DRUPAL_ROOT/sites/all/modules/contrib/civicrm/Civi/Core/CiviEventDispatcher.php(47): Symfony\Component\EventDispatcher\EventDispatcher->dispatch("hook_civicrm_post", Object(Civi\Core\Event\PostEvent))
#15 DRUPAL_ROOT/sites/all/modules/contrib/civicrm/CRM/Utils/Hook.php(366): Civi\Core\CiviEventDispatcher->dispatch("hook_civicrm_post", Object(Civi\Core\Event\PostEvent))
#16 DRUPAL_ROOT/sites/all/modules/contrib/civicrm/CRM/Core/DAO.php(1674): CRM_Utils_Hook::post("create", NULL, 78, Object(CRM_Core_BAO_UFField))
#17 DRUPAL_ROOT/sites/all/modules/contrib/civicrm/CRM/Core/BAO/UFGroup.php(2714): CRM_Core_DAO::copyGeneric("CRM_Core_BAO_UFField", (Array:1), (Array:1))
#18 DRUPAL_ROOT/sites/all/modules/contrib/civicrm/CRM/UF/Page/Group.php(207): CRM_Core_BAO_UFGroup::copy("9")
#19 DRUPAL_ROOT/sites/all/modules/contrib/civicrm/CRM/UF/Page/Group.php(187): CRM_UF_Page_Group->copy()
#20 DRUPAL_ROOT/sites/all/modules/contrib/civicrm/CRM/Core/Invoke.php(309): CRM_UF_Page_Group->run((Array:4), NULL)
#21 DRUPAL_ROOT/sites/all/modules/contrib/civicrm/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:16))
#22 DRUPAL_ROOT/sites/all/modules/contrib/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:4))
#23 DRUPAL_ROOT/sites/all/modules/contrib/civicrm/drupal/civicrm.module(445): CRM_Core_Invoke::invoke((Array:4))
#24 DRUPAL_ROOT/includes/menu.inc(527): civicrm_invoke("admin", "uf", "group")
#25 DRUPAL_ROOT/index.php(21): menu_execute_active_handler()
#26 {main}
***POST***