Details
-
Type: Sub-task
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.0
-
Fix Version/s: 4.2.0
-
Component/s: CiviContribute
-
Labels:None
Description
Create a dummy payment processor. Buy a student membership using the dummy payment processor. Thank you page has following notice errors:
Notice: Trying to get property of non-object in CRM_Activity_BAO_Activity::addActivity() (line 1806 of /Users/josephmurray/GoogleDrive/Sites/drupal-7.14/sites/all/modules/civicrm/CRM/Activity/BAO/Activity.php).
Notice: Trying to get property of non-object in CRM_Activity_BAO_Activity::addActivity() (line 1835 of /Users/josephmurray/GoogleDrive/Sites/drupal-7.14/sites/all/modules/civicrm/CRM/Activity/BAO/Activity.php).
Notice: Trying to get property of non-object in CRM_Activity_BAO_Activity::addActivity() (line 1854 of /Users/josephmurray/GoogleDrive/Sites/drupal-7.14/sites/all/modules/civicrm/CRM/Activity/BAO/Activity.php).
Notice: Trying to get property of non-object in CRM_Activity_BAO_Activity::addActivity() (line 1870 of /Users/josephmurray/GoogleDrive/Sites/drupal-7.14/sites/all/modules/civicrm/CRM/Activity/BAO/Activity.php).
Notice: Trying to get property of non-object in CRM_Activity_BAO_Activity::addActivity() (line 1871 of /Users/josephmurray/GoogleDrive/Sites/drupal-7.14/sites/all/modules/civicrm/CRM/Activity/BAO/Activity.php).
Notice: Undefined variable: subject in CRM_Activity_BAO_Activity::addActivity() (line 1876 of /Users/josephmurray/GoogleDrive/Sites/drupal-7.14/sites/all/modules/civicrm/CRM/Activity/BAO/Activity.php).
Notice: Undefined variable: date in CRM_Activity_BAO_Activity::addActivity() (line 1877 of /Users/josephmurray/GoogleDrive/Sites/drupal-7.14/sites/all/modules/civicrm/CRM/Activity/BAO/Activity.php).
Notice: Trying to get property of non-object in CRM_Activity_BAO_Activity::addActivity() (line 1878 of /Users/josephmurray/GoogleDrive/Sites/drupal-7.14/sites/all/modules/civicrm/CRM/Activity/BAO/Activity.php).
Notice: Trying to get property of non-object in CRM_Activity_BAO_Activity::addActivity() (line 1884 of /Users/josephmurray/GoogleDrive/Sites/drupal-7.14/sites/all/modules/civicrm/CRM/Activity/BAO/Activity.php).
Notice: Trying to get property of non-object in CRM_Activity_BAO_Activity::addActivity() (line 1892 of /Users/josephmurray/GoogleDrive/Sites/drupal-7.14/sites/all/modules/civicrm/CRM/Activity/BAO/Activity.php).
Other config options that may or may not be relevant:
Contributions enabled. Pay later enabled. Allow other amounts enabled. Two fixed contribution amounts entered. Require membership disabled. Separate membership enabled.
NB: these didn't show up when using Pay Later.