Warning: Undefined array key "has_comments" in Frontend Themes Bootstrap4 and 2k11
Posted: Thu Jan 19, 2023 8:37 am
Hi there,
new year, new bug? The Bootstrap 4 theme displays the following error:
[code]Warning: Undefined array key "has_comments" in /home/www/templates_c/bootstrap4/e4/f2/eb/e4f2eb6ce8e02d14ebdd52bd9b61557faf235c48_0.file.entries.tpl.php on line 115[/code]
also in 2k11:
[code]Warning: Undefined array key "has_comments" in /home/www/templates_c/2k11/92/ea/3b/92ea3b4ea171b24feb377dea8922da516c66c6e4_0.file.entries.tpl.php on line 111
Warning: Undefined array key "has_comments" in /home/www/templates_c/2k11/92/ea/3b/92ea3b4ea171b24feb377dea8922da516c66c6e4_0.file.entries.tpl.php on line 112[/code]
and in Clean Blog:
[code]Warning: Undefined array key "freetag" in /home/www/templates_c/clean_blog/41/b6/c6/41b6c6bf987f16200b21f0d99c8ca58d3ef8340f_0.file.entries.tpl.php on line 173[/code]
in Next:
[code]Warning: Undefined array key "has_comments" in /home/www/templates_c/next/b3/5d/d0/b35dd022276a0069edcfda952c53ba161deca363_0.file.entries.tpl.php on line 91[/code]
And so on with Serendipity 2.4.0 and PHP 8.0.25.
What can I do to make the errors disappear?
TIA,
Thomas
new year, new bug? The Bootstrap 4 theme displays the following error:
[code]Warning: Undefined array key "has_comments" in /home/www/templates_c/bootstrap4/e4/f2/eb/e4f2eb6ce8e02d14ebdd52bd9b61557faf235c48_0.file.entries.tpl.php on line 115[/code]
also in 2k11:
[code]Warning: Undefined array key "has_comments" in /home/www/templates_c/2k11/92/ea/3b/92ea3b4ea171b24feb377dea8922da516c66c6e4_0.file.entries.tpl.php on line 111
Warning: Undefined array key "has_comments" in /home/www/templates_c/2k11/92/ea/3b/92ea3b4ea171b24feb377dea8922da516c66c6e4_0.file.entries.tpl.php on line 112[/code]
and in Clean Blog:
[code]Warning: Undefined array key "freetag" in /home/www/templates_c/clean_blog/41/b6/c6/41b6c6bf987f16200b21f0d99c8ca58d3ef8340f_0.file.entries.tpl.php on line 173[/code]
in Next:
[code]Warning: Undefined array key "has_comments" in /home/www/templates_c/next/b3/5d/d0/b35dd022276a0069edcfda952c53ba161deca363_0.file.entries.tpl.php on line 91[/code]
And so on with Serendipity 2.4.0 and PHP 8.0.25.
What can I do to make the errors disappear?
TIA,
Thomas