Hello/Hi/Greetings,
I wanted to upload some photos to my gallery, and I'm getting this error message :
Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /customers/a/7/5/diehardagnetha.com/httpd.www/gallery/plugins/user_tags/include/autoload.inc.php on line 31 Warning: Cannot modify header information - headers already sent by (output started at /customers/a/7/5/diehardagnetha.com/httpd.www/gallery/plugins/user_tags/include/autoload.inc.php:31) in /customers/a/7/5/diehardagnetha.com/httpd.www/gallery/include/page_header.php on line 101
I can'ty enter keywords anymore ; if I open a picture (edit), there are no keywords present. In the gallery I can see the keywords beneath the picture....
I have another site (exactly the same, but with other content) and that one doesn't produce an error message.
I have added a screenshot of my site with the error (DHA) and a screenshot of the site that runs normally (EGP).
Piwigo version: 2.9.4
PHP version: 7.2.13
MySQL version: 5.5.5-10.1.30-MariaDB
Piwigo URL: http://www.diehardagnetha.com/gallery
Offline
Searching the forum for deprecated reveals dozens of places, among them [Forum, post 171968 by erAck in topic 28960] How to download only selected pics in a zip-file?
Apart from that, some plugins still may not cope too well with PHP 7.2, maybe using PHP 7.1 calls for less trouble.
Offline
Well, switching back to another php version is not possible (my site is hosted and I don't have anything to say about their php versions etc ...).
Anyway, thanks for your reply and merry Christmas !
Offline
UPDATE :
I was convinced that both my piwigo sites were exactly the same, but it seems like the erroneous site used one extra plugin.
I deactivated it and immediately the error dissapeared (yippee !)
So, the culprate is the 'user tags' plugin.
Offline
Deprecated is not an error but a warning. The code still works, but will cease to work in a future version of PHP.
Offline
It might have been a warning, but the site wasn't functioning normally .... as I said the site couldn't find tags anymore, I couldn't add tags to pics, I didn't see the tags in any picture when I edited a picture etc... so it was all about tags ....
ANyway, problem solved...case closed... :-)
Offline