13.0.0beta1: syntax error in template file (updates_ext.tpl) #1437

Closed
opened 2026-10-05 00:43:48 +02:00 by adam · 2 comments
Owner

See https://piwigo.org/forum/post.php?tid=31967

After upgrading to 13.0.0beta1 and visiting the "Check for Updates" tab under Plugins I get this:

Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "file:/usr/local/piwigo-beta/admin/themes/default/template/updates_ext.tpl" on line 212 "{/foreach}" unclosed {if} tag <-- thrown in /usr/local/piwigo-beta/include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 212

It looks like there's a missing {/if} in admin/themes/default/template/updates_ext.tpl that needs to go with {if $isWebmaster == 1} on line 165. I just added it to the end of the file and that let the page load without error.

See https://piwigo.org/forum/post.php?tid=31967 After upgrading to 13.0.0beta1 and visiting the "Check for Updates" tab under Plugins I get this: `Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "file:/usr/local/piwigo-beta/admin/themes/default/template/updates_ext.tpl" on line 212 "{/foreach}" unclosed {if} tag <-- thrown in /usr/local/piwigo-beta/include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 212 ` It looks like there's a missing `{/if}` in admin/themes/default/template/updates_ext.tpl that needs to go with `{if $isWebmaster == 1}` on line 165. I just added it to the end of the file and that let the page load without error. <!-- github-sync-id:1192323505 -->
adam closed this issue 2026-10-05 00:43:48 +02:00
Author
Owner
Looks like this was fixed in RC1. https://github.com/Piwigo/Piwigo/commit/a983d40ddb7c7470ef3cf14062d189e1db8e1477#diff-38c007e2b74981b47ffd2510e102c3005c27dea60255e1042fdf88e03d288e7b <!-- github-comment-id:1185845254 -->
Author
Owner

Fine, I mark this as fixed then :-)

Fine, I mark this as fixed then :-) <!-- github-comment-id:1260826779 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1437