Title: PHP 7 deprecation warning
Last modified: September 5, 2016

---

# PHP 7 deprecation warning

 *  Anonymous User 14996970
 * (@anonymized-14996970)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/php-7-deprecation-warning-2/)
 * 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 [Rocket Apps](https://wordpress.org/support/users/mikeyott/)
 * (@mikeyott)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/php-7-deprecation-warning-2/#post-8196548)
 * 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)

The topic ‘PHP 7 deprecation warning’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/facebook-thumb-fixer_b3dcda.svg)
 * [Thumb Fixer for Social Media](https://wordpress.org/plugins/facebook-thumb-fixer/)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-thumb-fixer/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-thumb-fixer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-thumb-fixer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-thumb-fixer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Rocket Apps](https://wordpress.org/support/users/mikeyott/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/php-7-deprecation-warning-2/#post-8196548)
 * Status: not resolved