Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, Matt.

    The plugin works fine, but when testing for compatibility with PHP7 issued error messages.

    Report PHP7

    Wordpress 4.8 / PHP 7.1
    Google Pagespeed Insights 2.0.3
    PHP Compatibility Checker 1.4.3

    Scan Results for PHP 7.0 Compatibility
    Google Pagespeed Insights – Warnings: 18 Errors: 5

    ===
    FILE: /home/selyutyb/public_html/wp-content/plugins/google-pagespeed-insights/lib/google-api-php-client/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php
    ———————————————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————————————
    853 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————————————————————

    FILE: /home/selyutyb/public_html/wp-content/plugins/google-pagespeed-insights/lib/google-api-php-client/vendor/phpseclib/phpseclib/phpseclib/Net/SSH1.php
    ———————————————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————————————
    518 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————————————————————

    FILE: /home/selyutyb/public_html/wp-content/plugins/google-pagespeed-insights/lib/google-api-php-client/vendor/phpseclib/phpseclib/phpseclib/Net/SCP.php
    ——————————————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————————————————–
    125 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ——————————————————————————————————————————————————–

    FILE: /home/selyutyb/public_html/wp-content/plugins/google-pagespeed-insights/lib/google-api-php-client/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP/Stream.php
    —————————————————————————————————————————————————————-
    FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
    —————————————————————————————————————————————————————-
    149 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    189 | ERROR | Global with variable variables is not allowed since PHP 7.0
    —————————————————————————————————————————————————————-

    FILE: /home/selyutyb/public_html/wp-content/plugins/google-pagespeed-insights/lib/google-api-php-client/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php
    ———————————————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————————————
    286 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————————————————————

    FILE: /home/selyutyb/public_html/wp-content/plugins/google-pagespeed-insights/lib/google-api-php-client/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Agent.php
    —————————————————————————————————————————————————————–
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    —————————————————————————————————————————————————————–
    118 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    234 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    —————————————————————————————————————————————————————–

    FILE: /home/selyutyb/public_html/wp-content/plugins/google-pagespeed-insights/lib/google-api-php-client/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger.php
    —————————————————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————————————————————-
    254 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    —————————————————————————————————————————————————————-

    FILE: /home/selyutyb/public_html/wp-content/plugins/google-pagespeed-insights/lib/google-api-php-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/Hash.php
    ———————————————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————————————–
    154 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————————————————————–

    FILE: /home/selyutyb/public_html/wp-content/plugins/google-pagespeed-insights/lib/google-api-php-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA.php
    ———————————————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————————————-
    487 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————————————————————-

    FILE: /home/selyutyb/public_html/wp-content/plugins/google-pagespeed-insights/lib/google-api-php-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/RC4.php
    ———————————————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————————————-
    179 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————————————————————-

    FILE: /home/selyutyb/public_html/wp-content/plugins/google-pagespeed-insights/lib/google-api-php-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/TripleDES.php
    —————————————————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————————————————————-
    189 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    —————————————————————————————————————————————————————-

    FILE: /home/selyutyb/public_html/wp-content/plugins/google-pagespeed-insights/lib/google-api-php-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/RC2.php
    ———————————————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————————————-
    341 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————————————————————-

    FILE: /home/selyutyb/public_html/wp-content/plugins/google-pagespeed-insights/lib/google-api-php-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php
    ———————————————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————————————–
    446 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————————————————————–

    FILE: /home/selyutyb/public_html/wp-content/plugins/google-pagespeed-insights/lib/google-api-php-client/vendor/phpseclib/phpseclib/phpseclib/File/X509.php
    ———————————————————————————————————————————————————-
    FOUND 4 ERRORS AND 1 WARNING AFFECTING 5 LINES
    ———————————————————————————————————————————————————-
    314 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    4382 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
    4408 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
    4475 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
    4547 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
    ———————————————————————————————————————————————————-

    FILE: /home/selyutyb/public_html/wp-content/plugins/google-pagespeed-insights/lib/google-api-php-client/vendor/phpseclib/phpseclib/phpseclib/File/ASN1.php
    ———————————————————————————————————————————————————-
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ———————————————————————————————————————————————————-
    134 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    248 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————————————————————-

    FILE: /home/selyutyb/public_html/wp-content/plugins/google-pagespeed-insights/lib/google-api-php-client/vendor/phpseclib/phpseclib/phpseclib/File/ANSI.php
    ———————————————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————————————-
    214 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————————————————————-
    ===

    Thread Starter Sergey Mastykov

    (@smastykov)

    Добрый день!

    Скачал с GitHub’а, установил, но всё равное не работает. Жму кнопку “Генерировать YML файл” получаю сообщение “Поддерживаются следующие валюты: Российский рубль (RUB), Украинская гривна (UAH), Доллар США (USD) и Евро (EUR). Пожалуйста, обновите валюту.” Валюта установлена в Белорусские рубли.

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