From 97c02fe6683749347a7541efb9d1dd051f6a89ce Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Sun, 8 Oct 2017 12:15:49 -0400 Subject: [PATCH] CRM-21275: Fatal error without message should recommend bug-reporting page, instead of the deprecated forum. --- CRM/Core/Error.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Core/Error.php b/CRM/Core/Error.php index 645ccca2c3..cffb07980b 100644 --- a/CRM/Core/Error.php +++ b/CRM/Core/Error.php @@ -343,7 +343,7 @@ class CRM_Core_Error extends PEAR_ErrorStack { } if (!$message) { - $message = ts('We experienced an unexpected error. Please post a detailed description and the backtrace on the CiviCRM forums: %1', array(1 => 'http://forum.civicrm.org/')); + $message = ts('We experienced an unexpected error. You may have found a bug. For more information on how to provide a bug report, please read: %1', array(1 => 'https://civicrm.org/bug-reporting')); } if (php_sapi_name() == "cli") { @@ -423,7 +423,7 @@ class CRM_Core_Error extends PEAR_ErrorStack { 'exception' => $exception, ); if (!$vars['message']) { - $vars['message'] = ts('We experienced an unexpected error. Please post a detailed description and the backtrace on the CiviCRM forums: %1', array(1 => 'http://forum.civicrm.org/')); + $vars['message'] = ts('We experienced an unexpected error. You may have found a bug. For more information on how to provide a bug report, please read: %1', array(1 => 'https://civicrm.org/bug-reporting')); } // Case A: CLI -- 2.25.1