• Hello,

    I am in the process of upgrading my server to PHP 7 and I used the php compatibility module plug in.

    It says that there is a small incompatibility in your plug in. The error/warning it gives:

    Name: WP Lynx

    FILE: /var/www/clients/client2/web13/web/wp-content/plugins/wp-lynx/class.llynx_scrape.php
    ——————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————–
    59 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
    ——————————————————————————–

    Your plug in works well and I use it form time to time. I would like to make sure it keeps working once I upgrade.

    Thanks for any comments you might have.

    Thanks

    Joseph

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter smokinjo

    (@smokinjo)

    I also had these other warning:

    FILE: /var/www/clients/client2/web13/web/wp-content/plugins/wp-lynx/template.llynx_views.php
    ————————————————————————————————————————————————————
    FOUND 0 ERRORS AND 13 WARNINGS AFFECTING 13 LINES
    ————————————————————————————————————————————————————
    35 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= images[image] %>” dragg…
    37 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= (image < 1) ? ‘disabled…
    38 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= (image+1 >= images.leng…
    39 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= image+1 %>/<%= images.l…
    42 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= title %>”>
    43 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= url %></small>
    44 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= descriptions[descriptio…
    45 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= (description < 1) ? ‘di…
    46 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= (description+1 >= descr…
    47 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= description+1 %>/<%= de…
    56 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= type %>”>
    57 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= message %></span>
    67 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= (length < 1 ) ? ‘disabl…

    Thanks

    Joseph

    Plugin Author John Havlik

    (@mtekk)

    Thanks for reporting this, the first one is now fixed in the GitHub “dafydd” branch (the development branch for 1.3.0).

    As for the ASP style warnings, that’s a bug in the PHP compatibility module plugin. The template.llynx_views.php file contains a backbone.js template (hence the <%= %> tags). I guess it is more of a potential pitfall for older PHP installs where ASP style tags are enabled (but I don’t believe that’s very common). Eventually, this file will go away when Gutenberg integration is ready.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP compatibility’ is closed to new replies.