Title: Deprecated Methods running php7.0.0
Last modified: August 30, 2016

---

# Deprecated Methods running php7.0.0

 *  Resolved [Guido Scialfa](https://wordpress.org/support/users/wido/)
 * (@wido)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/deprecated-methods-running-php700/)
 * Seen this,
 *     ```
       Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AjaxThumbnailRebuild has a deprecated constructor
       ```
   
 * [https://wordpress.org/plugins/ajax-thumbnail-rebuild/](https://wordpress.org/plugins/ajax-thumbnail-rebuild/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Drivingralle](https://wordpress.org/support/users/drivingralle/)
 * (@drivingralle)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/deprecated-methods-running-php700/#post-6887381)
 * Hey!
 * Love the plugin and use it in all my sites.
    Would be great to see that notice
   fixed for PHP 7 Support.
 * Greetings
    derRALF
 *  [Tusko Trush](https://wordpress.org/support/users/tusko-trush/)
 * (@tusko-trush)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/deprecated-methods-running-php700/#post-6887401)
 *     ```
       <b>Deprecated</b>
       : Methods with the same name as their class will not be constructors in a future version of PHP; AjaxThumbnailRebuild has a deprecated constructor in
       <b>/home/tusko/http_pub/dev.natxoz.com/eweb/wp-content/plugins/ajax-thumbnail-rebuild/ajax-thumbnail-rebuild.php</b>
       on line
       <b>26</b>
       ```
   
 * The same notice on php7.0
 *  [sajonara](https://wordpress.org/support/users/sajonara/)
 * (@sajonara)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/deprecated-methods-running-php700/#post-6887407)
 *  [sajonara](https://wordpress.org/support/users/sajonara/)
 * (@sajonara)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/deprecated-methods-running-php700/#post-6887408)
 * In an earlier edit I said it was just to rename the class name from line 26, 
   but it is not that easy. I played around a bit and the following code is the 
   updated “ajax-thumbnail-rebuild.php”, which works the way it should and does 
   not throw the error message.
 * I wrote a blog post on the changes I made and offer a download of an updated 
   plugin file:
 * [https://sajonara.de/2016/03/13/wordpress-plugin-ajaxthumbnailrebuild-deprecated-nachricht-entfernen/](https://sajonara.de/2016/03/13/wordpress-plugin-ajaxthumbnailrebuild-deprecated-nachricht-entfernen/)(
   German)
 * As my text is in German and I have no other English content on my page, just 
   for convience use Google translate to access, if you do not understand German.
   Thx.
 * [https://translate.google.com/translate?sl=de&tl=en&js=y&prev=_t&hl=en&ie=UTF-8&u=https%3A%2F%2Fsajonara.de%2F2016%2F03%2F13%2Fwordpress-plugin-ajaxthumbnailrebuild-deprecated-nachricht-entfernen%2F&edit-text=](https://translate.google.com/translate?sl=de&tl=en&js=y&prev=_t&hl=en&ie=UTF-8&u=https%3A%2F%2Fsajonara.de%2F2016%2F03%2F13%2Fwordpress-plugin-ajaxthumbnailrebuild-deprecated-nachricht-entfernen%2F&edit-text=)(
   English via Google Translate)
 *  [ianatkins](https://wordpress.org/support/users/ianatkins/)
 * (@ianatkins)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/deprecated-methods-running-php700/#post-6887409)
 * +1 Came here to note the same thing.
 *  [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [10 years ago](https://wordpress.org/support/topic/deprecated-methods-running-php700/#post-6887417)
 * [@sajonara](https://wordpress.org/support/users/sajonara/) Thanks a lot for sharing
   the fix as a easy to install ZIP. +1
 * Thanks a lot.
 *  [AngryGerman](https://wordpress.org/support/users/angrygerman/)
 * (@angrygerman)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/deprecated-methods-running-php700/#post-6887422)
 * What is the roadmap for getting this integrated into the official code base to
   be fully PHP7-compatible?
 * **/wp-content/plugins/ajax-thumbnail-rebuild/ajax-thumbnail-rebuild.php**
    92
   | ERROR | Deprecated PHP4 style constructor are not supported since PHP7

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Deprecated Methods running php7.0.0’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ajax-thumbnail-rebuild.svg)
 * [AJAX Thumbnail Rebuild](https://wordpress.org/plugins/ajax-thumbnail-rebuild/)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-thumbnail-rebuild/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-thumbnail-rebuild/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-thumbnail-rebuild/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-thumbnail-rebuild/reviews/)

 * 7 replies
 * 7 participants
 * Last reply from: [AngryGerman](https://wordpress.org/support/users/angrygerman/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/deprecated-methods-running-php700/#post-6887422)
 * Status: resolved