Throwing a guard around the $tag.level as is done in the default and modus themes in /template/menubar_tags.tpl solves the problem for us. Line 4 becomes:
Hi,
SmartPocket is now compatible with PHP 8 and I have fixed this problem in this commit 8d559fe .
A new version of SmartPocket compatible with PHP8 and Piwigo 14 is available.
When looking at the mobile view for a Piwigo gallery the tags menu will show errors like:
Throwing a guard around the
$tag.level
as is done in the default and modus themes in/template/menubar_tags.tpl
solves the problem for us. Line 4 becomes: