Support » Plugin: Twitget » PHP 7 Compatibility?

  • Hello,
    I ran a PHP 7 compatibility test on my site, and it reported warnings and errors for Twitget:

    FILE: /wp-content/plugins/twitget/lib/tmhOAuth.php
    ——————————————————————————-
    FOUND 2 ERRORS AFFECTING 1 LINE
    ——————————————————————————-

    14 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword ‘__dir__’ (since PHP version 5.3)
    14 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword ‘__dir__’ (since PHP version 5.3)
    ——————————————————————————-

    FILE: /wp-content/plugins/twitget/twitget.php
    ——————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————-

    1012 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ——————————————————————————-

    Seems like the plugin still works in a testing environment, but I thought you would want to know & maybe fix.

    Thanks,
    pq

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP 7 Compatibility?’ is closed to new replies.