Deprecated: Methods with the same name as their class will not be constructors..
-
I use php 7+
When the debug ON, I get errors on a gallery pages:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; phpFlickr has a deprecated constructor in
fix them plz.
for me works next code:
Using the __construct method as the constructor for the phpFlickr_pager and phpFlickr classes. #70
https://github.com/dan-coulter/phpflickr/pull/70/commits/09a6fa461cc20b59f0c3ad72433c67f8dba1df87
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Deprecated: Methods with the same name as their class will not be constructors..’ is closed to new replies.