• Hello,

    the plugin “PHP7 Compatibility checker” displays the following issue:

    FILE: /is/htdocs/wp11082020_GHQ53PBT44/www/portal/wp-content/plugins/file-away/lib/cls/class.fileaway_csv.php
    -------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    -------------------------------------------------------------------------------------------------------------
     135 | ERROR | Use of deprecated PHP4 style class constructor is not supported since PHP 7
    -------------------------------------------------------------------------------------------------------------
Viewing 1 replies (of 1 total)
  • Plugin Author thomstark

    (@thomstark)

    Simple modification.

    Open up that file: wp-content/plugins/file-away/lib/cls/class.fileaway_csv.php

    Go to line 135 and change this:

    function fileaway_csv ($input = null, $offset = null, $limit = null, $conditions = null) {

    to this:

    function __construct ($input = null, $offset = null, $limit = null, $conditions = null) {

    The only change in that line is from fileaway_csv to __construct. Note the two underscores before construct.

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