Title: PHP7 Compatability
Last modified: August 16, 2017

---

# PHP7 Compatability

 *  Resolved [shmulim](https://wordpress.org/support/users/shmulim/)
 * (@shmulim)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/php7-compatability-2/)
 * Hi, any plans to upgrade the plugin for PHP7 compatibility?

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

 *  Thread Starter [shmulim](https://wordpress.org/support/users/shmulim/)
 * (@shmulim)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/php7-compatability-2/#post-9415173)
 * The compatibility checker outputs these required fixes:
 * FILE: /example.com/wp-content/plugins/_simple-post-gallery/controllers/GalleryController.
   php
    —————————————————————————————————————————— FOUND 1 ERROR AFFECTING 1 LINE——————————————————————————————————————————
   113 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3
   and prohibited since PHP 5.4 ——————————————————————————————————————————
 * FILE: /example.com/wp-content/plugins/_simple-post-gallery/controllers/AdminController.
   php
    —————————————————————————————————————————- FOUND 1 ERROR AFFECTING 1 LINE—————————————————————————————————————————-
   60 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 
   and prohibited since PHP 5.4 —————————————————————————————————————————-
 * FILE: /example.com/wp-content/plugins/_simple-post-gallery/vendor/amostajo/phpfastcache/
   src/psr4/BasePhpFastCache.php
    —————————————————————————————————————————————————————–
   FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE —————————————————————————————————————————————————————–
   424 | WARNING | Method name “BasePhpFastCache::__setChmodAuto” is discouraged;
   PHP has reserved all method names with a double underscore prefix for future 
   use —————————————————————————————————————————————————————–
 * FILE: /example.com/wp-content/plugins/_simple-post-gallery/vendor/amostajo/phpfastcache/
   src/psr4/phpFastCache.php
    ————————————————————————————————————————————————————-
   FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ————————————————————————————————————————————————————-
   168 | WARNING | Method name “phpFastCache::__setChmodAuto” is discouraged; PHP
   has reserved all method names with a double underscore prefix for future use ————————————————————————————————————————————————————-
 * FILE: /example.com/wp-content/plugins/_simple-post-gallery/vendor/amostajo/phpfastcache/
   src/lib/functions.php
    ———————————————————————————————————————————————– FOUND
   0 ERRORS AND 1 WARNING AFFECTING 1 LINE ———————————————————————————————————————————————–
   12 | WARNING | Function name “__c” is discouraged; PHP has reserved all method
   names with a double underscore prefix for future use ———————————————————————————————————————————————–
 * FILE: /example.com/wp-content/plugins/_simple-post-gallery/vendor/amostajo/wordpress-
   plugin-core/src/psr4/Plugin.php
    ——————————————————————————————————————————————————
   FOUND 4 ERRORS AFFECTING 4 LINES ——————————————————————————————————————————————————
   334 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3
   and prohibited since PHP 5.4 343 | ERROR | Using a call-time pass-by-reference
   is deprecated since PHP 5.3 and prohibited since PHP 5.4 352 | ERROR | Using 
   a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since
   PHP 5.4 358 | ERROR | Using a call-time pass-by-reference is deprecated since
   PHP 5.3 and prohibited since PHP 5.4 ——————————————————————————————————————————————————
 *  Plugin Contributor [10Quality](https://wordpress.org/support/users/10quality/)
 * (@10quality)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/php7-compatability-2/#post-9513832)
 * Thanks for reporting… we will work on compatibility issues with PHP7 for an October
   release.
 *  Plugin Contributor [10Quality](https://wordpress.org/support/users/10quality/)
 * (@10quality)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/php7-compatability-2/#post-9513835)
 * Thanks for reporting. We’ll work on compatibility for October’s release.
    Duplicated
   message.
    -  This reply was modified 8 years, 9 months ago by [10Quality](https://wordpress.org/support/users/10quality/).
 *  Thread Starter [shmulim](https://wordpress.org/support/users/shmulim/)
 * (@shmulim)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php7-compatability-2/#post-9787233)
 * Hey, do you have an update on this?
 *  Plugin Contributor [10Quality](https://wordpress.org/support/users/10quality/)
 * (@10quality)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php7-compatability-2/#post-9970642)
 * Not yet, we have to evaluate vendor packages as well.
 * In the mean time we recommend to hide DEPRECATED notices on wordpress so you 
   don’t run into troubles.
 * You can add this line on you **wp-config.php** file:
 * `error_reporting(E_ALL ^ E_DEPRECATED);`
 * Regards.
 *  Plugin Contributor [10Quality](https://wordpress.org/support/users/10quality/)
 * (@10quality)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php7-compatability-2/#post-10038318)
 * New version of the plugin to be released (version 2) soon was tested on php 7.1.9
   and ran with no reported fatal errors.

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

The topic ‘PHP7 Compatability’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-post-gallery_b2b9e1.svg)
 * [Post Gallery](https://wordpress.org/plugins/simple-post-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-post-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-post-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-post-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-post-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-post-gallery/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [10Quality](https://wordpress.org/support/users/10quality/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/php7-compatability-2/#post-10038318)
 * Status: resolved