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 CiviEvent (Moderator: Yashodha Chaku) »
  • Supplied event template gives on-screen error
Pages: [1]

Author Topic: Supplied event template gives on-screen error  (Read 879 times)

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Supplied event template gives on-screen error
November 05, 2009, 12:38:46 pm
The event template for free events with no online registration is supplied with a price set, even though it is free.

After creating an event from that template, while adding participants the screen shows ...

Warning: Invalid argument supplied for foreach() in .../administrator/components/com_civicrm/civicrm/CRM/Event/Form/EventFees.php on line 239
 
The URL is https://.../administrator/index2.php?option=com_civicrm&task=civicrm/contact/view/participant&reset=1&cid=16245&context=participant&action=add&past=true

I can make the message go away by editing the event and setting the price set to null.

Is this just me, or should I raise an issue (the supplied template needs to have a null price set)?

Ken

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Supplied event template gives on-screen error
November 06, 2009, 12:16:03 am
Ken,

Are you on v3.0? I didn't get any errors on http://joomla.demo.civicrm.org. Can you try to replicate?

Kurund
« Last Edit: November 06, 2009, 12:17:50 am by Kurund Jalmi »
Found this reply helpful? Support CiviCRM

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: Supplied event template gives on-screen error
November 06, 2009, 12:59:50 am
Kurund,

Yes, I'm on 3.0.2 and I'll update my profile.
No, I couldn't reproduce on the demo.
It must just be me (perhaps I played with the template and broke it).
I've fixed the problem by adjusting the template, and the event that was derived from it.

Thanks for looking at this!
Ken

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Supplied event template gives on-screen error

This forum was archived on 2017-11-26.