Title: PHP update
Last modified: March 27, 2017

---

# PHP update

 *  [rcharbonxx](https://wordpress.org/support/users/rcharbonxx/)
 * (@rcharbonxx)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-update-3/)
 * PHP Compatibility Checker reports:
 * Name: Slideshow
 * FILE: /home/y42kcabc/public_html/wp/wp-content/plugins/slideshow-jquery-image-
   gallery/classes/SlideshowPluginWidget.php
    ———————————————————————————————————————–
   FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ———————————————————————————————————————–
   18 | WARNING | Use of deprecated PHP4 style class constructor is not supported
   since PHP 7.

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

 *  [Mariette](https://wordpress.org/support/users/mariettej/)
 * (@mariettej)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-update-3/#post-9024101)
 * I have the same problem. Is Stefan still supporting this plugin as it seems it
   hasn’t been updated for 2 years…?
 *  [deweil](https://wordpress.org/support/users/deweil/)
 * (@deweil)
 * [9 years ago](https://wordpress.org/support/topic/php-update-3/#post-9042100)
 * This is because the class SlideshowPluginWidget has a deprecated constructor (
   it’s old and php does it differently now).
    This is actually an easy fix if you
   have access to the file in question “/wp-content/plugins/slideshow-jquery-image-
   gallery/classes/SlideshowPluginWidget.php”
 * Line 8 of SlideshowPluginWidget.php looks like this:
 *     ```
                function SlideshowPluginWidget()
                 {
       ```
   
 * change that to
 *     ```
                function __construct()
                 {
       ```
   
 * Mine looks like this:
 *     ```
              /**
                * Initializes the widget
                *
                * @since 1.2.0
                */
       // commented the old constructor out because it is deprecated 
       //      function SlideshowPluginWidget() 
       // add the new generic constructor name
               function __construct()
               {
       ```
   
    -  This reply was modified 9 years ago by [deweil](https://wordpress.org/support/users/deweil/).
    -  This reply was modified 9 years ago by [deweil](https://wordpress.org/support/users/deweil/).
      Reason: edited for clariity
 *  [LasPalmas](https://wordpress.org/support/users/laspalmas/)
 * (@laspalmas)
 * [9 years ago](https://wordpress.org/support/topic/php-update-3/#post-9117802)
 * Hi, Will this plugin be compatible with php7 any time soon? Thank you.

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

The topic ‘PHP update’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/slideshow-jquery-image-gallery_d3d2de.
   svg)
 * [Slideshow](https://wordpress.org/plugins/slideshow-jquery-image-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slideshow-jquery-image-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/reviews/)

## Tags

 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 3 replies
 * 4 participants
 * Last reply from: [LasPalmas](https://wordpress.org/support/users/laspalmas/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/php-update-3/#post-9117802)
 * Status: not resolved