Title: PHP7 Compatibility
Last modified: September 30, 2016

---

# PHP7 Compatibility

 *  [Torsten Landsiedel](https://wordpress.org/support/users/zodiac1978/)
 * (@zodiac1978)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php7-compatibility-40/)
 * Hi!
 * I’ve tested all my plugins with this PHP linter:
    [https://wordpress.org/plugins/php-compatibility-checker/](https://wordpress.org/plugins/php-compatibility-checker/)
 * Unfortunately I found a problem with your plugin:
 * > FILE: /wp-content/plugins/carousel-horizontal-posts-content-slider/classes/
   > class-chpcs-widget.php
   >  ——————————————————————————————— FOUND 1 ERROR AFFECTING
   > 1 LINE ——————————————————————————————— 4 | ERROR | Deprecated PHP4 style constructor
   > are not supported since PHP7 ———————————————————————————————
 * Would be great if you can fix this!
 * All the best,
    Torsten

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

 *  Plugin Author [subhansanjaya](https://wordpress.org/support/users/subhansanjaya/)
 * (@subhansanjaya)
 * [9 years ago](https://wordpress.org/support/topic/php7-compatibility-40/#post-9047461)
 * [@zodiac1978](https://wordpress.org/support/users/zodiac1978/) The plugin is 
   not compatible with PHP 7. Thank you.
 *  Thread Starter [Torsten Landsiedel](https://wordpress.org/support/users/zodiac1978/)
 * (@zodiac1978)
 * [9 years ago](https://wordpress.org/support/topic/php7-compatibility-40/#post-9047867)
 * [@subhansanjaya](https://wordpress.org/support/users/subhansanjaya/) Then make
   it compatible! PHP7 isn’t the future, it is the [present](http://php.net/supported-versions.php)!
   🙂
 * It is an easy fix:
 * > [Deprecating PHP4 style constructors in WordPress 4.3](https://make.wordpress.org/core/2015/07/02/deprecating-php4-style-constructors-in-wordpress-4-3/)
 * And there is no reason to stay with the old code.
 * All the best,
    Torsten
    -  This reply was modified 9 years ago by [Torsten Landsiedel](https://wordpress.org/support/users/zodiac1978/).

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

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

 * ![](https://ps.w.org/carousel-horizontal-posts-content-slider/assets/icon-256x256.
   png?rev=2470415)
 * [Carousel Horizontal Posts Content Slider](https://wordpress.org/plugins/carousel-horizontal-posts-content-slider/)
 * [Support Threads](https://wordpress.org/support/plugin/carousel-horizontal-posts-content-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/carousel-horizontal-posts-content-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/carousel-horizontal-posts-content-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/carousel-horizontal-posts-content-slider/reviews/)

## Tags

 * [PHP7](https://wordpress.org/support/topic-tag/php7/)

 * 2 replies
 * 2 participants
 * Last reply from: [Torsten Landsiedel](https://wordpress.org/support/users/zodiac1978/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/php7-compatibility-40/#post-9047867)
 * Status: not resolved