Updated: Comment #N
The installation process sometimes fails with the error message
"Fatal error: Call to undefined function theme() in xxx/core/includes/install.core.inc on line 1009."
install_drupal function tries to catch exceptions thrown by
install_display_output returns a themed page, and the theme system is only loaded during
install_begin_request. Therefore, if an exception is thrown too soon, the user will get the above error message (triggered on the penultimate line of install_display_output).
This was spotted while working onamoung other instances.
Check the theming system is ready before using it and/or have another error handler ready to handle an error thrown by the theming system.
Decide on approach
User interface changes
|FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] Unable to apply patch 2091501-4-undefined-function-theme.patch. Unable to apply patch. See the log in the details link for more information. |
[ View ]