Title: Compatibility errors with PHP 7
Last modified: February 25, 2018

---

# Compatibility errors with PHP 7

 *  [sleeplessindc](https://wordpress.org/support/users/sleeplessindc/)
 * (@sleeplessindc)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/compatibility-errors-with-php-7/)
 * The PHP 7 compatibility checker found these errors
 * /wp-content/plugins/dynamic-to-top/inc/cssmin-v3.0.1.php
    ————————————————————————————————————————–
   FOUND 2 ERRORS AFFECTING 2 LINES ————————————————————————————————————————– 3346
   | ERROR | ‘clone’ is a reserved keyword introduced in PHP version 5.0 and cannot
   be invoked as a function (T_CLONE) 3353 | ERROR | ‘clone’ is a reserved keyword
   introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE) ————————————————————————————————————————–
 * What needs to be done to make this compatible with PHP 7?

Viewing 1 replies (of 1 total)

 *  [birdmag](https://wordpress.org/support/users/birdmag/)
 * (@birdmag)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/compatibility-errors-with-php-7/#post-10162863)
 * Ditto—I’m running a compatibility checker on my site for PHP 7, and I see the
   same error about clone() being used as a function. I really like this plugin 
   and would hate to substitute it with something else. Any idea if this will be
   fixed in the near future?

Viewing 1 replies (of 1 total)

The topic ‘Compatibility errors with PHP 7’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/dynamic-to-top_282828.svg)
 * [Dynamic "To Top" Plugin](https://wordpress.org/plugins/dynamic-to-top/)
 * [Support Threads](https://wordpress.org/support/plugin/dynamic-to-top/)
 * [Active Topics](https://wordpress.org/support/plugin/dynamic-to-top/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dynamic-to-top/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dynamic-to-top/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [birdmag](https://wordpress.org/support/users/birdmag/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/compatibility-errors-with-php-7/#post-10162863)
 * Status: not resolved