Support » Plugin: Dynamic "To Top" Plugin » Compatibility errors with PHP 7

  • sleeplessinDC

    (@sleeplessindc)


    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)
  • 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.