Support » Plugin: Facebook Thumb Fixer » PHP 7 deprecation warning

  • Now I’m starting to see warnings about “Methods with the same name as their class will not be constructors in a future version of PHP” in both the add neew post page (like this):

    Notice: Undefined index: ftf_open_type__nounce in /var/www/manuth.life/wp-content/plugins/facebook-thumb-fixer/_facebook-thumb-fixer.php on line 226

    … and also in wp-cli:

    manuth@server-acer:~/manuth.life$ wp plugin list
    PHP Notice: Use of undefined constant no – assumed ‘no’ in phar:///usr/local/bin/wp/php/WP_CLI/Runner.php(941) : eval()’d code on line 79
    PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; general_setting_default_fb_thumb has a deprecated constructor in /var/www/manuth.life/wp-content/plugins/facebook-thumb-fixer/_facebook-thumb-fixer.php on line 28
    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; general_setting_default_fb_thumb has a deprecated constructor in /var/www/manuth.life/wp-content/plugins/facebook-thumb-fixer/_facebook-thumb-fixer.php on line 28
    PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; general_setting_fb_app_ID has a deprecated constructor in /var/www/manuth.life/wp-content/plugins/facebook-thumb-fixer/_facebook-thumb-fixer.php on line 66
    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; general_setting_fb_app_ID has a deprecated constructor in /var/www/manuth.life/wp-content/plugins/facebook-thumb-fixer/_facebook-thumb-fixer.php on line 66
    PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; general_setting_object_type has a deprecated constructor in /var/www/manuth.life/wp-content/plugins/facebook-thumb-fixer/_facebook-thumb-fixer.php on line 85
    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; general_setting_object_type has a deprecated constructor in /var/www/manuth.life/wp-content/plugins/facebook-thumb-fixer/_facebook-thumb-fixer.php on line 85

    Hope you can fix this.

Viewing 1 replies (of 1 total)
  • Plugin Author Michael Ott

    (@mikeyott)

    Hmmm… PHP7 deprecation warnings. Seeing as none of the servers I’m on are using PHP7 yet (most are still on 5.6) it would be difficult for me to fix this reliably.

    I sincerely doubt I’ll put any effort into fixing this issue any time soon, so my recommendation is to use a different plugin.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.