Bug #23767 See Comments

Fatal error on opening all templates named Layout_Footer

Version: 4.3.6 Reporter: Linda A

I just discovered this today, when I needed to make a minor edit to a footer template. Trying to open it resulted in the following error:

Fatal error: Uncaught Error: Call to a member function getId() on null in /home/sites/westeros.org/www/html/Scripts/ExpressionEngine/valyria/ee/EllisLab/ExpressionEngine/Controller/Design/Template.php:1125 Stack trace: #0 /home/sites/westeros.org/www/html/Scripts/ExpressionEngine/valyria/ee/EllisLab/ExpressionEngine/Controller/Design/Template.php(973): EllisLab\ExpressionEngine\Controller\Design\Template->getExistingTemplates('60') #1 /home/sites/westeros.org/www/html/Scripts/ExpressionEngine/valyria/ee/EllisLab/ExpressionEngine/Controller/Design/Template.php(281): EllisLab\ExpressionEngine\Controller\Design\Template->renderAccessPartial(Object(EllisLab\ExpressionEngine\Model\Template\Template), NULL) #2 [internal function]: EllisLab\ExpressionEngine\Controller\Design\Template->edit('624') #3 /home/sites/westeros.org/www/html/Scripts/ExpressionEngine/valyria/ee/EllisLab/ExpressionEngine/Core/Core.php(240): call_user_func_array(Array, Array) #4 /home/sites/westeros.org/www/html/Scripts/ExpressionEngine/valyria/ee/EllisLab/ in /home/sites/westeros.org/www/html/Scripts/ExpressionEngine/valyria/ee/EllisLab/ExpressionEngine/Controller/Design/Template.php on line 1125

I then tested other footer templates and they all display the same behaviour. I have not found any other templates that do. Unfortunately, I cannot recall exactly what the contents may be since it was a good while since I edited one. It is not exactly the same in all of the footers, but there are common elements.

On the site, the footers display correctly.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases