New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Deprecation Warnings #81
Comments
I'm attempting to bring this library up to date, in my fork: https://packagist.org/packages/samwilson/phpflickr The issue of constructors is fixed (there are still other bugs though). |
Awesome thanks, will give it a go for my app (my API use is simple, pretty
much searching for photos).
…On Thu, Sep 13, 2018 at 7:45 PM Sam Wilson ***@***.***> wrote:
I'm attempting to bring this library up to date, in my fork:
https://packagist.org/packages/samwilson/phpflickr The issue of
constructors is fixed (there are still other bugs though).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#81 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAcQvkbHd8MKGaPvrYWkF4eCvh33IrMqks5uawpLgaJpZM4WoOcN>
.
--
*----------------------------------------------------------------------------------------------------*
*Alan Levine*
info: cog.dog • blog: cogdogblog.com • tweets: @cogdog
<http://twitter.com/cogdog>
photos: flickr <http://flickr.com/photos/cogdog> & Barking Dog
<http://barkingdog.me> • code: github.com/cogdog
*------------------------------------------------------------------------------------*
*----------------*
|
I just upgraded my website to 7.1 from 5.6 as recommended by Joomla CMS 3.9. I converted all my old bespoke code that depended on mysql to mysqli. Now I see the following in my server logs: [07-Jun-2019 18:22:39 UTC] PHP 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 /home3/frien130/php/FlickrAPI/phpFlickr.php on line 25 I wasn't brave enough to go up to PHP 7.3 yet. I'll give the samwilson fork a go. Thanks! |
Started seeing this warning on phpFlickr site I've run since 2008 http://pechaflickr.net
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 /home/cogdog/public_html/pechaflickr.net/phpFlickr.php on line 25
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; phpFlickr_pager has a deprecated constructor in /home/cogdog/public_html/pechaflickr.net/phpFlickr.php on line 1702
For now, I am suppressing warnings with
error_reporting(E_ALL ^ (E_NOTICE | E_WARNING | E_DEPRECATED));
The text was updated successfully, but these errors were encountered: