On multiple instances of Piwigo, plugins simply don't work on a hosted server.
The (hosted) server is linux kernel version 3.10.0-962.3.2.lve1.5.63.el7.x86_64.
PHP Version 8.4. (8.3 and 7.3 don't work either)
Apache Version 2.4.63
MySQL Version 10.6.19-MariaDB-log
To see if an install was faulty, I did a new install using Softaculous from my host's Cpanel.
Added one folder and one photo after the install.
On the plugins page, all the default plugins are initially inactive. The only option for them each, is Delete.
When I try to delete one, it says it happened, but in a popup I see "an error occurred".
The 'plugins' DB table for that Piwigo instance is empty.
I added the Fotorama plugin, apparently successfully. The plugins DB table is still empty.
When I try to activate any plugin using the slider, it seems to work, but I get the "an error occurred" popup.
-The selection tabs of 'All', 'Activated', 'Deactivated' seem to work correctly.
Clicking on 'Settings' for any plugin, gives the "an error occurred" popup.
I installed Piwigo onto my local (at home Ubuntu/Apache/MySQL server), manually. That seems to do a lot better.
So apparently it is either the hosted server config, or the Softaculous install that is the problem.
I imagine a lot of Piwigo installs would be via Cpanel/Softaculous.
On multiple instances of Piwigo, plugins simply don't work on a hosted server.
The (hosted) server is linux kernel version 3.10.0-962.3.2.lve1.5.63.el7.x86_64.
PHP Version 8.4. (8.3 and 7.3 don't work either)
Apache Version 2.4.63
MySQL Version 10.6.19-MariaDB-log
To see if an install was faulty, I did a new install using Softaculous from my host's Cpanel.
Added one folder and one photo after the install.
On the plugins page, all the default plugins are initially inactive. The only option for them each, is Delete.
When I try to delete one, it says it happened, but in a popup I see "an error occurred".
The 'plugins' DB table for that Piwigo instance is empty.
I added the Fotorama plugin, apparently successfully. The plugins DB table is still empty.
When I try to activate any plugin using the slider, it seems to work, but I get the "an error occurred" popup.
-The selection tabs of 'All', 'Activated', 'Deactivated' seem to work correctly.
Clicking on 'Settings' for any plugin, gives the "an error occurred" popup.
I installed Piwigo onto my local (at home Ubuntu/Apache/MySQL server), manually. That seems to do a lot better.
So apparently it is either the hosted server config, or the Softaculous install that is the problem.
I imagine a lot of Piwigo installs would be via Cpanel/Softaculous.
<!-- github-sync-id:3258850635 -->
I should add, get a lot of deprecated warnings with PHP 8.4, which don't occur with 8.3.
-Probably not really related.
I should add, get a lot of deprecated warnings with PHP 8.4, which don't occur with 8.3.
-Probably not really related.
<!-- github-comment-id:3112522142 -->
After updating to the latest version getting also lost of deprecated warings:
Deprecated
: Smarty::_getTemplateId(): Implicitly marking parameter $template as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/Smarty.class.php
on line
1048
Deprecated
: Smarty_Internal_Data::getTemplateVars(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_data.php
on line
193
Deprecated
: Smarty_Internal_Data::_mergeVars(): Implicitly marking parameter $data as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_data.php
on line
203
Deprecated
: Smarty_Internal_Template::__construct(): Implicitly marking parameter $_parent as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_template.php
on line
149
Deprecated
: Smarty_Resource::source(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_resource.php
on line
175
Deprecated
: Smarty_Resource::source(): Implicitly marking parameter $smarty as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_resource.php
on line
175
Deprecated
: Smarty_Resource::populate(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_resource.php
on line
199
Deprecated
: Smarty_Template_Source::load(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_template_source.php
on line
158
Deprecated
: Smarty_Template_Source::load(): Implicitly marking parameter $smarty as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_template_source.php
on line
158
Deprecated
: Smarty_Internal_Resource_File::populate(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_resource_file.php
on line
28
Deprecated
: Smarty_Internal_Resource_File::buildFilepath(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_resource_file.php
on line
101
Deprecated
: Smarty_Internal_Method_GetTemplateVars::getTemplateVars(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php
on line
34
Deprecated
: Smarty_Internal_Method_GetTemplateVars::_getVariable(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php
on line
87
how do I fix this?
After updating to the latest version getting also lost of deprecated warings:
```
Deprecated
: Smarty::_getTemplateId(): Implicitly marking parameter $template as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/Smarty.class.php
on line
1048
Deprecated
: Smarty_Internal_Data::getTemplateVars(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_data.php
on line
193
Deprecated
: Smarty_Internal_Data::_mergeVars(): Implicitly marking parameter $data as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_data.php
on line
203
Deprecated
: Smarty_Internal_Template::__construct(): Implicitly marking parameter $_parent as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_template.php
on line
149
Deprecated
: Smarty_Resource::source(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_resource.php
on line
175
Deprecated
: Smarty_Resource::source(): Implicitly marking parameter $smarty as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_resource.php
on line
175
Deprecated
: Smarty_Resource::populate(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_resource.php
on line
199
Deprecated
: Smarty_Template_Source::load(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_template_source.php
on line
158
Deprecated
: Smarty_Template_Source::load(): Implicitly marking parameter $smarty as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_template_source.php
on line
158
Deprecated
: Smarty_Internal_Resource_File::populate(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_resource_file.php
on line
28
Deprecated
: Smarty_Internal_Resource_File::buildFilepath(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_resource_file.php
on line
101
Deprecated
: Smarty_Internal_Method_GetTemplateVars::getTemplateVars(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php
on line
34
Deprecated
: Smarty_Internal_Method_GetTemplateVars::_getVariable(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php
on line
87
```
how do I fix this?
<!-- github-comment-id:3146420803 -->
@kwagnitz @BobWs @lennvilardi
to remove "Deprecated" warnings, in local/config/config.inc.php set $conf['show_php_errors'] to E_ALL & ~E_DEPRECATED instead of E_ALL
@kwagnitz @BobWs @lennvilardi
to remove "Deprecated" warnings, in local/config/config.inc.php set `$conf['show_php_errors']` to `E_ALL & ~E_DEPRECATED` instead of `E_ALL`
<!-- github-comment-id:3148498429 -->
Thanks, I have the exact same issue with the deprecation warnings showing up, but unfortunately the fix doesn't work. I also tried setting $conf['show_php_errors_on_frontend'] = false;
but again, no effect.
Thanks, I have the exact same issue with the deprecation warnings showing up, but unfortunately the fix doesn't work. I also tried setting
`$conf['show_php_errors_on_frontend'] = false;`
but again, no effect.
<!-- github-comment-id:3148638261 -->
I downgrade back to linuxserver/piwigo:15.5.0 and the plugin warnings are gone. But with the tag:latest the errors show up again!
I downgrade back to `linuxserver/piwigo:15.5.0` and the plugin warnings are gone. But with the `tag:latest` the errors show up again!
<!-- github-comment-id:3154783748 -->
@kwagnitz When the error appears, can you look in the network tab of your browser and share the response from the method? That will give us more information about the error.
@BobWs @j-zarp @lennvilardi I just reproduced the deprecated errors in 8.4. We'll fix the problem.
For information, we are currently working on an official Piwigo Docker image, so that we can provide our users with more in depth and well informed support.
Hello everyone,
@kwagnitz When the error appears, can you look in the network tab of your browser and share the response from the method? That will give us more information about the error.
@BobWs @j-zarp @lennvilardi I just reproduced the deprecated errors in 8.4. We'll fix the problem.
For information, we are currently working on an official Piwigo Docker image, so that we can provide our users with more in depth and well informed support.
<!-- github-comment-id:3236644050 -->
After updating to the latest version getting also lost of deprecated
warings:
Deprecated
Smarty::_getTemplateId(): Implicitly marking parameter $template as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/Smarty.class.php
on line
1048
Deprecated
Smarty_Internal_Data::getTemplateVars(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_data.php
on line
193
Deprecated
Smarty_Internal_Data::_mergeVars(): Implicitly marking parameter $data as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_data.php
on line
203
Deprecated
Smarty_Internal_Template::__construct(): Implicitly marking parameter $_parent as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_template.php
on line
149
Deprecated
Smarty_Resource::source(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_resource.php
on line
175
Deprecated
Smarty_Resource::source(): Implicitly marking parameter $smarty as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_resource.php
on line
175
Deprecated
Smarty_Resource::populate(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_resource.php
on line
199
Deprecated
Smarty_Template_Source::load(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_template_source.php
on line
158
Deprecated
Smarty_Template_Source::load(): Implicitly marking parameter $smarty as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_template_source.php
on line
158
Deprecated
Smarty_Internal_Resource_File::populate(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_resource_file.php
on line
28
Deprecated
Smarty_Internal_Resource_File::buildFilepath(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_resource_file.php
on line
101
Deprecated
Smarty_Internal_Method_GetTemplateVars::getTemplateVars(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php
on line
34
Deprecated
Smarty_Internal_Method_GetTemplateVars::_getVariable(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in
/config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php
on line
87
Ystävällisin terveisin:
Pasi Järnstedt
040 190 2596
la 2.8.2025 klo 13.27 Bob ***@***.***> kirjoitti:
> *BobWs* left a comment (Piwigo/Piwigo#2393)
> <https://github.com/Piwigo/Piwigo/issues/2393#issuecomment-3146420803>
>
> After updating to the latest version getting also lost of deprecated
> warings:
>
> Deprecated
> : Smarty::_getTemplateId(): Implicitly marking parameter $template as nullable is deprecated, the explicit nullable type must be used instead in
> /config/www/gallery/include/smarty/libs/Smarty.class.php
> on line
> 1048
> Deprecated
> : Smarty_Internal_Data::getTemplateVars(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in
> /config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_data.php
> on line
> 193
> Deprecated
> : Smarty_Internal_Data::_mergeVars(): Implicitly marking parameter $data as nullable is deprecated, the explicit nullable type must be used instead in
> /config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_data.php
> on line
> 203
> Deprecated
> : Smarty_Internal_Template::__construct(): Implicitly marking parameter $_parent as nullable is deprecated, the explicit nullable type must be used instead in
> /config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_template.php
> on line
> 149
> Deprecated
> : Smarty_Resource::source(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
> /config/www/gallery/include/smarty/libs/sysplugins/smarty_resource.php
> on line
> 175
> Deprecated
> : Smarty_Resource::source(): Implicitly marking parameter $smarty as nullable is deprecated, the explicit nullable type must be used instead in
> /config/www/gallery/include/smarty/libs/sysplugins/smarty_resource.php
> on line
> 175
> Deprecated
> : Smarty_Resource::populate(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
> /config/www/gallery/include/smarty/libs/sysplugins/smarty_resource.php
> on line
> 199
> Deprecated
> : Smarty_Template_Source::load(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
> /config/www/gallery/include/smarty/libs/sysplugins/smarty_template_source.php
> on line
> 158
> Deprecated
> : Smarty_Template_Source::load(): Implicitly marking parameter $smarty as nullable is deprecated, the explicit nullable type must be used instead in
> /config/www/gallery/include/smarty/libs/sysplugins/smarty_template_source.php
> on line
> 158
> Deprecated
> : Smarty_Internal_Resource_File::populate(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
> /config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_resource_file.php
> on line
> 28
> Deprecated
> : Smarty_Internal_Resource_File::buildFilepath(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in
> /config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_resource_file.php
> on line
> 101
> Deprecated
> : Smarty_Internal_Method_GetTemplateVars::getTemplateVars(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in
> /config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php
> on line
> 34
> Deprecated
> : Smarty_Internal_Method_GetTemplateVars::_getVariable(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in
> /config/www/gallery/include/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php
> on line
> 87
>
> how do I fix this?
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/Piwigo/Piwigo/issues/2393#issuecomment-3146420803>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AHFN7UTMOAELSWGFPCWLNB33LSHB5AVCNFSM6AAAAACCH7DQTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNBWGQZDAOBQGM>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
<!-- github-comment-id:3237577384 -->
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.
On multiple instances of Piwigo, plugins simply don't work on a hosted server.
The (hosted) server is linux kernel version 3.10.0-962.3.2.lve1.5.63.el7.x86_64.
PHP Version 8.4. (8.3 and 7.3 don't work either)
Apache Version 2.4.63
MySQL Version 10.6.19-MariaDB-log
To see if an install was faulty, I did a new install using Softaculous from my host's Cpanel.
Added one folder and one photo after the install.
On the plugins page, all the default plugins are initially inactive. The only option for them each, is Delete.
When I try to delete one, it says it happened, but in a popup I see "an error occurred".
The 'plugins' DB table for that Piwigo instance is empty.
I added the Fotorama plugin, apparently successfully. The plugins DB table is still empty.
When I try to activate any plugin using the slider, it seems to work, but I get the "an error occurred" popup.
-The selection tabs of 'All', 'Activated', 'Deactivated' seem to work correctly.
Clicking on 'Settings' for any plugin, gives the "an error occurred" popup.
I installed Piwigo onto my local (at home Ubuntu/Apache/MySQL server), manually. That seems to do a lot better.
So apparently it is either the hosted server config, or the Softaculous install that is the problem.
I imagine a lot of Piwigo installs would be via Cpanel/Softaculous.
I should add, get a lot of deprecated warnings with PHP 8.4, which don't occur with 8.3.
-Probably not really related.
After updating to the latest version getting also lost of deprecated warings:
how do I fix this?
+1
@kwagnitz @BobWs @lennvilardi
to remove "Deprecated" warnings, in local/config/config.inc.php set
$conf['show_php_errors']toE_ALL & ~E_DEPRECATEDinstead ofE_ALLThanks, I have the exact same issue with the deprecation warnings showing up, but unfortunately the fix doesn't work. I also tried setting
$conf['show_php_errors_on_frontend'] = false;but again, no effect.
I downgrade back to
linuxserver/piwigo:15.5.0and the plugin warnings are gone. But with thetag:latestthe errors show up again!Hello everyone,
@kwagnitz When the error appears, can you look in the network tab of your browser and share the response from the method? That will give us more information about the error.
@BobWs @j-zarp @lennvilardi I just reproduced the deprecated errors in 8.4. We'll fix the problem.
For information, we are currently working on an official Piwigo Docker image, so that we can provide our users with more in depth and well informed support.
Thanks!
Ystävällisin terveisin:
Pasi Järnstedt
040 190 2596
la 2.8.2025 klo 13.27 Bob @.***> kirjoitti: