Answers.Body: <p>When I modified the event to use a price set, it worked perfectly.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-18T08:09:30.607Z
Answers.LastActivityDate: 2020-06-18T08:09:30.607Z
Answers.UserDisplayName: Bryan
Body: <p>Using Drupal 7.7.1/Civi 5.26.1 I've set up a paid event with two price options (Waged/Unwaged), with no 'Pay Later' and Stripe as payment processor.</p>
  
  <p>When I use the registration page for this event (test or live) in a logged in browser, the prices display OK and registration succeeds, but the prices don't display on the live registration page for a browser that is not logged in. All the other elements on the page seem fine.</p>
  
  <p>Anonymous users' permissions to 'register for events' and 'view events' are set.</p>
  
  <p>Log messages are </p>
  
  <blockquote>
    <p>Warning: array_intersect_key(): Expected parameter 1 to be an array, null given in CRM_Event_Form_Registration->buildCustom() (line 550 of /var/www/clients/client4/web5/web/sites/all/modules/civicrm/CRM/Event/Form/Registration.php)</p>
  </blockquote>
  
  <p>and</p>
  
  <blockquote>
    <p>Notice: Undefined variable: fields in CRM_Event_Form_Registration->buildCustom() (line 550 of /var/www/clients/client4/web5/web/sites/all/modules/civicrm/CRM/Event/Form/Registration.php)</p>
  </blockquote>
  
  <p>I see in Registration.php @550 that this error may(?) relate to profile fields, but these seem to be displaying &amp; filling OK.</p>
  
  <p>Advice gratefully received.</p>
  
Tags: <civievent><drupal><online-registration>
Title: CiviEvent Fees not displaying
ThreadText: # CiviEvent Fees not displaying
  
  (Asked by: username_0 on 2020-06-17)
  
  Using Drupal 7.7.1/Civi 5.26.1 I've set up a paid event with two price options (Waged/Unwaged), with no 'Pay Later' and Stripe as payment processor.
  
  When I use the registration page for this event (test or live) in a logged in browser, the prices display OK and registration succeeds, but the prices don't display on the live registration page for a browser that is not logged in. All the other elements on the page seem fine.
  
  Anonymous users' permissions to 'register for events' and 'view events' are set.
  
  Log messages are
  
  > Warning: array\_intersect\_key(): Expected parameter 1 to be an array, null given in CRM\_Event\_Form\_Registration->buildCustom() (line 550 of /var/www/clients/client4/web5/web/sites/all/modules/civicrm/CRM/Event/Form/Registration.php)
  
  and
  
  > Notice: Undefined variable: fields in CRM\_Event\_Form\_Registration->buildCustom() (line 550 of /var/www/clients/client4/web5/web/sites/all/modules/civicrm/CRM/Event/Form/Registration.php)
  
  I see in Registration.php @550 that this error may(?) relate to profile fields, but these seem to be displaying & filling OK.
  
  Advice gratefully received.
  
  **Tags:** civievent, drupal, online-registration
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2020-06-18. Score: 1
  
  When I modified the event to use a price set, it worked perfectly.
  
  
  ---
  
  