There are many php error on all the pages of my app. Here are the ones i see:
Notice: Undefined index: IS_IN_CADDIE in /home/yunohost.app/piwigo/_data/templates_c/ljbwkp^ebbff9da673f8ef3c3450cd0fb00b7e7c3721b4f_0.file.public_controller.tpl.php on line 165
Notice: Undefined index: ld_forgot_url in /var/www/piwigo/plugins/Ldap_Login/main.inc.php on line 97
Deprecated: Non-static method Smarty_Internal_Debug::display_debug() should not be called statically in /var/www/piwigo/include/template.class.php on line 571
Fatal error: Uncaught Error: Using $this when not in object context in /var/www/piwigo/include/smarty/libs/sysplugins/smarty_internal_debug.php:200 Stack trace: #0 /var/www/piwigo/include/template.class.php(571): Smarty_Internal_Debug::display_debug(Object(Smarty)) #1 /var/www/piwigo/include/page_tail.php(94): Template->p() #2 /var/www/piwigo/index.php(358): include('/var/www/piwigo...') #3 {main} thrown in /var/www/piwigo/include/smarty/libs/sysplugins/smarty_internal_debug.php on line 200
Aside those messages, the app works pretty well, but it make the pages ugly.
Hello,
There are many php error on all the pages of my app. Here are the ones i see:
`Notice: Undefined index: IS_IN_CADDIE in /home/yunohost.app/piwigo/_data/templates_c/ljbwkp^ebbff9da673f8ef3c3450cd0fb00b7e7c3721b4f_0.file.public_controller.tpl.php on line 165`
`Notice: Undefined index: ld_forgot_url in /var/www/piwigo/plugins/Ldap_Login/main.inc.php on line 97`
`Deprecated: Non-static method Smarty_Internal_Debug::display_debug() should not be called statically in /var/www/piwigo/include/template.class.php on line 571`
`Fatal error: Uncaught Error: Using $this when not in object context in /var/www/piwigo/include/smarty/libs/sysplugins/smarty_internal_debug.php:200 Stack trace: #0 /var/www/piwigo/include/template.class.php(571): Smarty_Internal_Debug::display_debug(Object(Smarty)) #1 /var/www/piwigo/include/page_tail.php(94): Template->p() #2 /var/www/piwigo/index.php(358): include('/var/www/piwigo...') #3 {main} thrown in /var/www/piwigo/include/smarty/libs/sysplugins/smarty_internal_debug.php on line 200`
Aside those messages, the app works pretty well, but it make the pages ugly.
<!-- github-sync-id:577154717 -->
I.e. when I click on the button to show the exif data (which has been changed recently in an unfavourable way BTW), I get
Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /srv/atarifrosch-media/plugins/exiftool_keywords/main.inc.php on line 23
Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /srv/atarifrosch-media/plugins/exiftool_gps/main.inc.php on line 21
Warning: foreach() argument must be of type array|object, null given in /srv/atarifrosch-media/plugins/exiftool_gps/main.inc.php on line 23
printed into the head of the page.
It seems that deprecated code is used in several places.
Same here, 5 years and several upgrades later.
I.e. when I click on the button to show the exif data (which has been changed recently in an unfavourable way BTW), I get
```
Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /srv/atarifrosch-media/plugins/exiftool_keywords/main.inc.php on line 23
Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /srv/atarifrosch-media/plugins/exiftool_gps/main.inc.php on line 21
Warning: foreach() argument must be of type array|object, null given in /srv/atarifrosch-media/plugins/exiftool_gps/main.inc.php on line 23
```
printed into the head of the page.
It seems that deprecated code is used in several places.
<!-- github-comment-id:3477966020 -->
A few more, when synchronising on admin.php?page=site_update&site=1 with version 16.3.0:
Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string
is deprecated in admin/include/functions.php on line 593
Deprecated: basename(): Passing null to parameter #1 ($path) of type string
is deprecated in admin/site_update.php on line 242
Deprecated: is_dir(): Passing null to parameter #1 ($filename) of type string
is deprecated in admin/site_reader_local.php on line 70
A few more, when synchronising on `admin.php?page=site_update&site=1` with version 16.3.0:
```
Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string
is deprecated in admin/include/functions.php on line 593
Deprecated: basename(): Passing null to parameter #1 ($path) of type string
is deprecated in admin/site_update.php on line 242
Deprecated: is_dir(): Passing null to parameter #1 ($filename) of type string
is deprecated in admin/site_reader_local.php on line 70
```
<!-- github-comment-id:4296012281 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hello,
There are many php error on all the pages of my app. Here are the ones i see:
Notice: Undefined index: IS_IN_CADDIE in /home/yunohost.app/piwigo/_data/templates_c/ljbwkp^ebbff9da673f8ef3c3450cd0fb00b7e7c3721b4f_0.file.public_controller.tpl.php on line 165Notice: Undefined index: ld_forgot_url in /var/www/piwigo/plugins/Ldap_Login/main.inc.php on line 97Deprecated: Non-static method Smarty_Internal_Debug::display_debug() should not be called statically in /var/www/piwigo/include/template.class.php on line 571Fatal error: Uncaught Error: Using $this when not in object context in /var/www/piwigo/include/smarty/libs/sysplugins/smarty_internal_debug.php:200 Stack trace: #0 /var/www/piwigo/include/template.class.php(571): Smarty_Internal_Debug::display_debug(Object(Smarty)) #1 /var/www/piwigo/include/page_tail.php(94): Template->p() #2 /var/www/piwigo/index.php(358): include('/var/www/piwigo...') #3 {main} thrown in /var/www/piwigo/include/smarty/libs/sysplugins/smarty_internal_debug.php on line 200Aside those messages, the app works pretty well, but it make the pages ugly.
Same here, 5 years and several upgrades later.
I.e. when I click on the button to show the exif data (which has been changed recently in an unfavourable way BTW), I get
printed into the head of the page.
It seems that deprecated code is used in several places.
A few more, when synchronising on
admin.php?page=site_update&site=1with version 16.3.0: