← Back to team overview

mahara-contributors team mailing list archive

[Bug 906619] Re: "Constant PIEFORM_GOT_HEADDATA already defined" when creating a page

 

This also happens when editing "No institution". The fix on the review
doesn't fix that one.

Also, might not be related, but I get the following when I create a new
institution (repeated several times)

[WAR] 4a (lib/pieforms/pieform.php:1406) Pieform element institution_background wants to add headdata to the page, but it's too late. Build your form before generating the page.
Call stack (most recent first):
log_message("Pieform element institution_background wants to ad...", 8, true, true) at /home/hugh/src/mahara/mahara/htdocs/lib/errors.php:109
log_warn("Pieform element institution_background wants to ad...") at /home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:1406
Pieform->build_element_html(array(size 9)) at /home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:652
Pieform->build() at /home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:162
Pieform::process(array(size 5)) at /home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:71
pieform(array(size 5)) at /home/hugh/src/mahara/mahara/htdocs/admin/users/institutions.php:458

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/906619

Title:
  "Constant PIEFORM_GOT_HEADDATA already defined" when creating a page

Status in Mahara ePortfolio:
  In Progress

Bug description:
  When creating a new page (and possibly other forms) debug notices say
  that "Constant PIEFORM_GOT_HEADDATA already defined".

  Appears to be related to https://reviews.mahara.org/#change,927 (more
  specifically,
  https://reviews.mahara.org/#patch,sidebyside,927,1,htdocs/lib/web.php)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/906619/+subscriptions


References