Forum

Thread tagged as: Error

Error on creating a form when included in

Hi,

This issue occurs when a form, included in a <perch:template />, hasn't been created yet. Upon the first submission, the following error message shows: Fatal error: Call to a member function label() on null in /Users/blabla/Documents/dev/myproject/perch/addons/apps/perch_forms/runtime.php on line 25.

Putting the form directly in the perch region fixes the issue. After the form has been created, having the form in a <perch:template /> is no longer an issue.

Was just wondering if this a bug or a known limitation?

Cheers,

Robin Pick

Robin Pick 5 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

It sounds like a bug to me.