Testing my contact form - filling out the required fields and then hitting submit causes the following error to appear
Fatal error: Call to undefined function getparentpages() in /home/lensfra1/public_html/zenphoto/zp-core/plugins/zenpage/zenpage-template-functions.php on line 2261
Has this been seen before, and I am just searching for the wrong thing? I can not find this problem anywhere, nor the fix for it.
Comments
you can take a look at the site i'm building - here is a direct link to the contact form:
http://www.lensframe.com/zenphoto/pages/contact-form
The change places the contact link in the sidebar. If you want it somewhere else, then you do not need `sidebar.php`.
Right now Zenpage-default has codeblock #1 right below the actual page content. That way you can manage your contact page via the Zenpage backend as a normal page and add other data like a real adress or an about text. An extra page in my opinion is a little against the concept of Zenpage. This worked for me the last time I tried.
To fix this, I just took out the call to the ParentPagesBreadcrumb function in the breadcrumb div on the pages.php page in my theme folder:
`<?php if(!isset($ishomepage)) { printParentPagesBreadcrumb(" » ",""); } ?>`
Under where the Menu block would normally be the following error is displayed:
Fatal error: Call to undefined function getpages() in /home/lensfra1/public_html/zenphoto/zp-core/plugins/zenpage/zenpage-template-functions.php on line 2297
arduino is commenting out a line on the pages.php script of zenpage-default. That would indicate that he is not using the contact.php script implementation. Is that the case for you?
If so, please describe exactly the implementation you have made.