•  » Extensions
  •  » Media Icon Plugin: Undefined array key

#1 2025-02-07 14:15:18

Snarf
Member
2025-02-07
3

Media Icon Plugin: Undefined array key

Hello,

After activation of the Media Icon plugin the icons are not shown and on the general settings page I get 2 types of  'warnings' (multiple times)

Deprecated: Using php-function "ceil" as a modifier is deprecated and will be removed in a future release. Use Smarty::registerPlugin to explicitly register a custom modifier. in /app/www/public/include/smarty/libs/sysplugins/smarty_internal_compile_private_modifier.php on line 112


Warning: Undefined array key "media_icon_active_checked" in /config/www/_data/templates_c/p6jhns^41074eec49166194f03f01d833c121e26db3ffb3_0.file.admin_general.tpl.php on line 94
Warning: Attempt to read property "value" on null in /config/www/_data/templates_c/p6jhns^41074eec49166194f03f01d833c121e26db3ffb3_0.file.admin_general.tpl.php on line 94
Warning: Trying to access array offset on null in /config/www/_data/templates_c/p6jhns^41074eec49166194f03f01d833c121e26db3ffb3_0.file.admin_general.tpl.php on line 94

The icons on the result part of the page are shown!
The 'Advanced' setting page is working!
But for a e.g. a pdf file in the gallery, the icon is not show and there are no error or warning logs created.

The mentioned *.tpl.php file are deleted by the plugin/piwigo, so I could not check there code.

The plugin is available for galleries under *.piwigo.com. So I could not check it there.

Since I'm using Piwigo in a Docker container, it would be good to know, if this problem is also under a 'native' installation.

I can provide the test docker images, the compose file & the tar of the local directories.

regards
Snarf

Piwigo URL: https://tst-gallery.rainer-muetze.de/

Piwigo 15.3.0
Installed on 6 February 2025, 1 day ago
Operating system: Linux (docker image: linuxserver/mariadb:11.4.4-r1-ls172)
PHP: 8.3.15 [2025-02-07 14:10:12]
MySQL: 11.4.4-MariaDB-log [2025-02-07 14:10:12] (docker image linuxserver/piwigo:15.3.0-ls294))
Graphics Library: ImageMagick ImageMagick 7.1.1-32
Cache size N/A   never calculated

Activated plugin list: 6
Admin Tools
LocalFiles Editor
Media Icon (12.0.a)
OpenStreetMap
Physical Photo Move
VideoJS

Offline

 

#2 2025-02-07 14:17:10

Snarf
Member
2025-02-07
3

Re: Media Icon Plugin: Undefined array key

Sorry, a mistake in the text, the correction is:
the plugin is NOT available for galleries under *.piwigo.com. So I could not check it there.

Offline

 

#3 2025-02-07 15:42:43

Snarf
Member
2025-02-07
3

Re: Media Icon Plugin: Undefined array key

Hello,
after a restart of the piwigo container the warnings are still there, but the icons are now shown in the album view.

regards
Snarf

Offline

 
  •  » Extensions
  •  » Media Icon Plugin: Undefined array key

Board footer

Powered by FluxBB