CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Scheduled Reminder Fatal Error
Pages: [1]

Author Topic: Scheduled Reminder Fatal Error  (Read 985 times)

mdatcher

  • I’m new here
  • *
  • Posts: 21
  • Karma: 2
  • CiviCRM version: 4.5.1
  • CMS version: Drupal 7.31
  • MySQL version: 5.5.37
  • PHP version: 5.3.28
Scheduled Reminder Fatal Error
October 16, 2014, 06:52:15 pm
I am attempting to configure scheduled reminders for events. However, when the scheduled job runs, the following is logged:

Code: [Select]
0
Summary
Finished execution of Send Scheduled Reminders with result: Failure, Error message: A fatal error was triggered
Details

Parameters parsed (and passed to API method):
a:1:{s:7:"version";i:3;}

Full message:
Finished execution of Send Scheduled Reminders with result: Failure, Error message: A fatal error was triggered

When I disabled the scheduled reminder for the event, the scheduled job runs successfully. In my attempt to troubleshoot, I created a new test event with a scheduled reminder. With that event created, the scheduled job ran successfully. So, I deleted the real event and its scheduled reminder and completely recreated them, but then I get the same error as above.

In this instance I am currently running CiviCRM 4.5.1 on WordPress 4.0. Is there a way to get more details about the fatal error? I was going to test this on the demo site, but it appears that the username and password aren't working at the moment.

Thanks for your help,

      -Matthew

Dan C

  • I post frequently
  • ***
  • Posts: 179
  • Karma: 17
  • CiviCRM version: All
  • CMS version: Joomla 2.5 and 3.X, Drupal 7, Wordpress 3.7 and up
  • MySQL version: 5.1.7 and up
  • PHP version: 5.3.5 and up
Re: Scheduled Reminder Fatal Error
October 17, 2014, 06:51:24 am
You should be able to find more information in the log files.  On Wordpress they are located in wp-config/files/civicrm/ConfigAndLog (I believe, I'm doing this off the top of my head).

Do you have something odd in the content of the message that might be causing the problem?  It sounds like it is something specific to the scheduled reminder that you have set up since you said your test one worked, and the content is the easiest to have screw things up.
CrusonWeb - Web Development, Implementation, and Support.  Specializing in CiviCRM and Joomla (although also knowledgable in Wordpress and Drupal as well).

EranSch

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 3
    • Personal Blog
  • CiviCRM version: 4.5.X
  • CMS version: 4.X
  • MySQL version: 5.5.X
  • PHP version: 5.5.X
Re: Scheduled Reminder Fatal Error
October 17, 2014, 08:47:14 am
This sounds like the same issue we've been looking at on this thread:  http://forum.civicrm.org/index.php/topic,34496.0.html

mdatcher

  • I’m new here
  • *
  • Posts: 21
  • Karma: 2
  • CiviCRM version: 4.5.1
  • CMS version: Drupal 7.31
  • MySQL version: 5.5.37
  • PHP version: 5.3.28
Re: Scheduled Reminder Fatal Error
October 17, 2014, 09:27:00 am
Quote from: danc on October 17, 2014, 06:51:24 am
You should be able to find more information in the log files.  On Wordpress they are located in wp-config/files/civicrm/ConfigAndLog (I believe, I'm doing this off the top of my head).

It actually appears to be wp-content/plugins/files/civicrm/ConfigAndLog. But many thanks for letting me know that there are, in fact, log files I can check. I will start exploring them.

mdatcher

  • I’m new here
  • *
  • Posts: 21
  • Karma: 2
  • CiviCRM version: 4.5.1
  • CMS version: Drupal 7.31
  • MySQL version: 5.5.37
  • PHP version: 5.3.28
Re: Scheduled Reminder Fatal Error
October 17, 2014, 09:42:58 am
Well, the good, or bad, news is that I get the same error in the WordPress demo site. There was already a scheduled reminder named Test 2. No matter how I adjust it, the scheduled job fails. It is the same error:

Code: [Select]
0
Summary
Finished execution of Send Scheduled Reminders with result: Failure, Error message: A fatal error was triggered
Details

Parameters parsed (and passed to API method):
a:1:{s:7:"version";i:3;}

Full message:
Finished execution of Send Scheduled Reminders with result: Failure, Error message: A fatal error was triggered

I am still going to check the log on my site. To be continued...

mdatcher

  • I’m new here
  • *
  • Posts: 21
  • Karma: 2
  • CiviCRM version: 4.5.1
  • CMS version: Drupal 7.31
  • MySQL version: 5.5.37
  • PHP version: 5.3.28
Re: Scheduled Reminder Fatal Error
October 17, 2014, 09:49:53 am
For anyone interested, here are the log entries from my site:

Code: [Select]
Oct 17 12:43:50  [info] $Fatal Error Details = Array
(
    [message] =>
    [code] =>
)


Oct 17 12:43:50  [info] $backTrace = #0 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(328): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php(946): CRM_Core_Error::fatal()
#2 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/FinancialTrxn.php(103): CRM_Core_DAO::getFieldValue("CRM_Contribute_BAO_Contribution", NULL, "financial_type_id")
#3 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Contribute/BAO/Contribution.php(3366): CRM_Core_BAO_FinancialTrxn::getBalanceTrxnAmt(NULL)
#4 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/ActionSchedule.php(811): CRM_Contribute_BAO_Contribution::getPaymentInfo("10", "event")
#5 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/ActionSchedule.php(1373): CRM_Core_BAO_ActionSchedule::sendMailings(3, "20141017124350")
#6 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/api/v3/Job.php(188): CRM_Core_BAO_ActionSchedule::processQueue(NULL, (Array:2))
#7 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/Civi/API/Provider/MagicFunctionProvider.php(86): civicrm_api3_job_send_reminder((Array:1))
#8 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(95): Civi\API\Provider\MagicFunctionProvider->invoke((Array:9))
#9 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/api/api.php(25): Civi\API\Kernel->run("job", "send_reminder", (Array:1), NULL)
#10 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/JobManager.php(145): civicrm_api("job", "send_reminder", (Array:1))
#11 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/JobManager.php(124): CRM_Core_JobManager->executeJob(Object(CRM_Core_ScheduledJob))
#12 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Admin/Page/Job.php(156): CRM_Core_JobManager->executeJobById("8")
#13 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/Page/Basic.php(182): CRM_Admin_Page_Job->browse(NULL, NULL)
#14 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Admin/Page/Job.php(139): CRM_Core_Page_Basic->run()
#15 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(331): CRM_Admin_Page_Job->run((Array:3), NULL)
#16 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(75): CRM_Core_Invoke::runItem((Array:13))
#17 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#18 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm.php(506): CRM_Core_Invoke::invoke((Array:3))
#19 [internal function](): CiviCRM_For_WordPress->invoke("")
#20 /home/montgomery/www/www/wp-includes/plugin.php(505): call_user_func_array((Array:2), (Array:1))
#21 /home/montgomery/www/www/wp-admin/admin.php(212): do_action("toplevel_page_CiviCRM")
#22 {main}


Oct 17 12:45:31  [info] $Fatal Error Details = Array
(
    [message] =>
    [code] =>
)


Oct 17 12:45:31  [info] $backTrace = #0 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(328): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php(946): CRM_Core_Error::fatal()
#2 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/FinancialTrxn.php(103): CRM_Core_DAO::getFieldValue("CRM_Contribute_BAO_Contribution", NULL, "financial_type_id")
#3 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Contribute/BAO/Contribution.php(3366): CRM_Core_BAO_FinancialTrxn::getBalanceTrxnAmt(NULL)
#4 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/ActionSchedule.php(811): CRM_Contribute_BAO_Contribution::getPaymentInfo("10", "event")
#5 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/ActionSchedule.php(1373): CRM_Core_BAO_ActionSchedule::sendMailings(3, "20141017124531")
#6 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/api/v3/Job.php(188): CRM_Core_BAO_ActionSchedule::processQueue(NULL, (Array:2))
#7 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/Civi/API/Provider/MagicFunctionProvider.php(86): civicrm_api3_job_send_reminder((Array:1))
#8 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(95): Civi\API\Provider\MagicFunctionProvider->invoke((Array:9))
#9 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/api/api.php(25): Civi\API\Kernel->run("job", "send_reminder", (Array:1), NULL)
#10 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/JobManager.php(145): civicrm_api("job", "send_reminder", (Array:1))
#11 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/JobManager.php(124): CRM_Core_JobManager->executeJob(Object(CRM_Core_ScheduledJob))
#12 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Admin/Page/Job.php(156): CRM_Core_JobManager->executeJobById("8")
#13 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/Page/Basic.php(182): CRM_Admin_Page_Job->browse(NULL, NULL)
#14 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Admin/Page/Job.php(139): CRM_Core_Page_Basic->run()
#15 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(331): CRM_Admin_Page_Job->run((Array:3), NULL)
#16 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(75): CRM_Core_Invoke::runItem((Array:13))
#17 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#18 /home/montgomery/www/www/wp-content/plugins/civicrm/civicrm.php(506): CRM_Core_Invoke::invoke((Array:3))
#19 [internal function](): CiviCRM_For_WordPress->invoke("")
#20 /home/montgomery/www/www/wp-includes/plugin.php(505): call_user_func_array((Array:2), (Array:1))
#21 /home/montgomery/www/www/wp-admin/admin.php(212): do_action("toplevel_page_CiviCRM")
#22 {main}

Please let me know what other information I can provide to get at the root of this problem. Thanks.

Dan C

  • I post frequently
  • ***
  • Posts: 179
  • Karma: 17
  • CiviCRM version: All
  • CMS version: Joomla 2.5 and 3.X, Drupal 7, Wordpress 3.7 and up
  • MySQL version: 5.1.7 and up
  • PHP version: 5.3.5 and up
Re: Scheduled Reminder Fatal Error
October 17, 2014, 01:26:07 pm
Between this thread and the one that Eransch mentioned above, I think we have a confirmed bug.  It would probably be worth filing a bug report on http://issues.civicrm.org.
CrusonWeb - Web Development, Implementation, and Support.  Specializing in CiviCRM and Joomla (although also knowledgable in Wordpress and Drupal as well).

mdatcher

  • I’m new here
  • *
  • Posts: 21
  • Karma: 2
  • CiviCRM version: 4.5.1
  • CMS version: Drupal 7.31
  • MySQL version: 5.5.37
  • PHP version: 5.3.28
Re: Scheduled Reminder Fatal Error
October 17, 2014, 02:18:13 pm
Bug report filed as https://issues.civicrm.org/jira/browse/CRM-15481

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Scheduled Reminder Fatal Error

This forum was archived on 2017-11-26.