• davidleefish

    (@davidleefish)


    I’m trying to migrate to php7. I get the following error about with the compatibility checker I’m using. Thought you should know.

    FILE: /nas/content/live/gb2017/wp-content/plugins/badgeos/includes/p2p/mustache/Mustache.php
    ————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ————————————————————————————————————————-
    701 | ERROR | ‘clone’ is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)
    ————————————————————————————————————————-

    FILE: /nas/content/live/gb2017/wp-content/plugins/badgeos/includes/cmb/init.php
    —————————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    —————————————————————————————————————————————-
    208 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword ‘__dir__’ (since PHP version 5.3)
    —————————————————————————————————————————————-

  • The topic ‘Migrating to php7’ is closed to new replies.