I'm not 100% on this fix, but I've added the following to further check if an object exists. Can anyone confirm this to be a valid work around?
if (!empty($this->_headers_printed) and $this->_headers_printed and ($element instanceof JavaScript)) {
trigger_error(_("Some action(page) wanted to add more headers, but they were already printed.")
."\n". $element->asXML(),
E_USER_NOTICE);
}
Regards,
Jason
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have deployed PHPWiki and I am encountering the following error whenever I attempt to Update Preferences in the UserPreferences page:
Fatal error: Call to a member function asXML() on a non-object in /opt/app/oracle/product/phpwiki-1.3.14/lib/Theme.php on line 1150
Any ideas would be much appreciated.
Regards,
Jason
I'm not 100% on this fix, but I've added the following to further check if an object exists. Can anyone confirm this to be a valid work around?
Regards,
Jason