Upon opening contribution page, we get the following PhP errors showing ABOVE the contribution pages. See JGSNY Contribution Page

Notice: Undefined index: auto_renew in /home/jgsny/public_html/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/ContributionBase.php on line 1244


Notice: Undefined index: auto_renew in /home/jgsny/public_html/administrator/components/com_civicrm/civicrm/CRM/Price/BAO/PriceSet.php on line 847

Auto-renewal options are off for all contribution pages; database tables have indexes on all relevant pages. Civicrm status shows OK.

Quick answers appreciated - this is membership renewal time and must have membership renewal form working.

Thanks, Kate

1 Answer 1


For a quick fix, change $memType['auto_renew'] to ($memType['auto_renew'] ?? 0) for the first one, and

change $membershiptTypeValue['auto_renew'] to !empty($membershiptTypeValue['auto_renew']) for the second one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.