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.

  • Updating to note that the error appears to have become more common, now occuring to a random sampling of templates. As I have a very large number of templates, I am finding it difficult to determine what a common denominator might be.

    Linda A
    24th October, 2018 at 4:40pm
  • Please contact support so we can help you directly. Bug reports are for known reproducible software defects, and would need to include steps to reproduce.

    Derek Jones
    30th October, 2018 at 10:56am

You must be signed in to comment on a bug report.

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

ExpressionEngine News!

#eecms, #events, #releases