Announcement

#1 2018-12-23 14:07:18

erwingeeroms
Member
Belgium
2015-07-23
10

Deprecated: __autoload() is deprecated

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

 

#2 2018-12-23 15:35:28

erAck
Only trying to help
2015-09-06
2128

Re: Deprecated: __autoload() is deprecated

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.


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2018-12-24 09:48:22

erwingeeroms
Member
Belgium
2015-07-23
10

Re: Deprecated: __autoload() is deprecated

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

 

#4 2018-12-24 10:21:59

erwingeeroms
Member
Belgium
2015-07-23
10

Re: Deprecated: __autoload() is deprecated

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

 

#5 2018-12-24 11:10:27

erAck
Only trying to help
2015-09-06
2128

Re: Deprecated: __autoload() is deprecated

Deprecated is not an error but a warning. The code still works, but will cease to work in a future version of PHP.


Running Piwigo at https://erack.net/gallery/

Offline

 

#6 2018-12-24 11:43:50

erwingeeroms
Member
Belgium
2015-07-23
10

Re: Deprecated: __autoload() is deprecated

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

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact