I am using the error.php template file in my custom template to display error messages (404, etc.). I have used Cassiopeia's error.php as reference and have copied in most of the code from my template's index.php. Most of the core Joomla code is working, but Sourcerer is not working in a footer module that displays a copyright date and the website's sitename using PHP.