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 CiviMember (Moderator: Deepak Srivastava) »
  • Membership renewal messages - membership record not being updated
Pages: [1]

Author Topic: Membership renewal messages - membership record not being updated  (Read 1322 times)

Tony Horrocks

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 7
    • Fabriko Limited
  • CiviCRM version: 4.5.x
  • CMS version: Drupal 7
Membership renewal messages - membership record not being updated
February 25, 2012, 05:45:41 am
I'm running 4.1 on a Drupal6 installation.

Ive set up the various cron jobs etc.

However on the membership renewal messages/update job, its sending out the message but its not updating the member record to say the message has been sent.

Which means it keeps sending out the message each time cron runs.

Cron is sending me this error

===================

X-Powered-By: PHP/5.2.17
Content-type: text/html

<br />
<b>Warning</b>:  Cannot use a scalar value as an array in <b>/home/stokeybu/public_html/sites/all/modules/civicrm/CRM/Member/BAO/Membership.php</b> on line <b>2537</b><br />
<br />
<b>Warning</b>:  Cannot use a scalar value as an array in <b>/home/stokeybu/public_html/sites/all/modules/civicrm/CRM/Member/BAO/Membership.php</b> on line <b>2538</b><br />

Any ideas how to cure this? Thanks

Update: Ive just tested this on the Civi Drupal 6 demo site and getting the same error.
« Last Edit: February 25, 2012, 05:58:56 am by tonyhrx »
Tony Horrocks
Author of the CiviCRM CookBook https://www.packtpub.com/web-development/civicrm-cookbook

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Membership renewal messages - membership record not being updated
February 25, 2012, 09:47:55 am

can u give us the exact steps to reproduce this issue on the demo server

Once you do so, can you please file an issue with the steps. Also point to this forum topic

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Tony Horrocks

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 7
    • Fabriko Limited
  • CiviCRM version: 4.5.x
  • CMS version: Drupal 7
Re: Membership renewal messages - membership record not being updated
February 28, 2012, 05:35:27 am
OK set up the student membership type with a renewal reminder at 7 days.

Then add a contact.

Then give them a student membership that expires within the 7 day period so that they qualify for a reminder.

Then run Update Membership Statuses and Send Renewal Reminders from Scheduled Jobs. The errors appear as Drupal error messages.

Repeat the scheduled job and the messages do not appear.

I don't know whether this is connected to the wider error on my site which is that when the reminder is sent out, this is not recorded in civicrm_membership_log table. WHich means it keeps on sending reminders endlessly.
Tony Horrocks
Author of the CiviCRM CookBook https://www.packtpub.com/web-development/civicrm-cookbook

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Membership renewal messages - membership record not being updated
February 29, 2012, 05:06:55 pm
I've investigated and updated the issue tracker issue based on my results:

http://issues.civicrm.org/jira/browse/CRM-9758

I've committed fixes for the warnings. The issue documents expected behavior w/ regard to reminder_date handling and "logging". I suspect your problem w/ reminders going out multiple times is related to running the Set Membership Reminder Dates job (see my comment on the issue).
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Membership renewal messages - membership record not being updated

This forum was archived on 2017-11-26.