• Resolved webenergysas

    (@webenergysas)


    Hi.
    Im’m using your plugin with PHP7.1.
    Before upgrade to the latest PHP version available on siteground I performed a compatibility test, it seems v.3.1.4 is not compatible (see below):

    FILE: /wp-content/plugins/cf7-grid-layout/assets/php-query/phpQuery.php
    ————————————————————————————————————————–
    FOUND 3 ERRORS AFFECTING 3 LINES
    ————————————————————————————————————————–
    3401 | ERROR | “$this” can no longer be used in a plain function or method since PHP 7.1.
    4209 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; Use preg_split() instead
    5639 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
    ————————————————————————————————————————–

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    that’s interesting. I am not getting any of these errors being reported, and I am running PHP 7.3.14. The plugin is working just fine on my server.

    I will nonetheless look to fix/replace the php-query plugin library.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    v3.2 use the php7 compatible Simple HTML Dom instead of the phpQuery library.

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

The topic ‘3.1.4 not compatible with latest PHP versions?’ is closed to new replies.