All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

EE2 to EE3 errors

Peter Gosling 4 Apr 2018 11:40 question, complete

Hi I've upgraded from EE2 to EE3

Using Low Reorder 3.1.1

Parse error: syntax error, unexpected '[' in /home/#####/public_html/system/user/addons/low_reorder/base.low_reorder.php on line 154

$select = ['entry_id', 'channel_id', 'title', 'status', 'url_title', 'entry_date'];

If I comment that out I have to comment out 2 other lines
$row = [];
$ordered = [];

Then I get this error

Parse error: syntax error, unexpected '[' in /home/bearnibblesco/public_html/system/user/addons/low_reorder/Library/Sieve.php on line 15

Any idea's how to correct this issue

Replies

  1. Low 4 Apr 2018 14:18

    Looks like you're still on PHP 5.3. Can you upgrade to (at least) 5.4?

  2. Peter Gosling 4 Apr 2018 16:06

    I have these warnings coming up now I have the site on 5.6.25

    Anything I can do to correct these?

    Notice
    Undefined variable: select
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 157 show details

    Notice
    Undefined variable: select
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Warning
    Invalid argument supplied for foreach()
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_WARNING
    Notice
    Undefined variable: row
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 180 show details

    Severity: E_NOTICE
    Notice
    Undefined variable: select
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_NOTICE
    Warning
    Invalid argument supplied for foreach()
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_WARNING
    Notice
    Undefined variable: row
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 180 show details

    Severity: E_NOTICE
    Notice
    Undefined variable: select
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_NOTICE
    Warning
    Invalid argument supplied for foreach()
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_WARNING
    Notice
    Undefined variable: row
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 180 show details

    Severity: E_NOTICE
    Notice
    Undefined variable: select
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_NOTICE
    Warning
    Invalid argument supplied for foreach()
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_WARNING
    Notice
    Undefined variable: row
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 180 show details

    Severity: E_NOTICE
    Notice
    Undefined variable: select
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_NOTICE
    Warning
    Invalid argument supplied for foreach()
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_WARNING
    Notice
    Undefined variable: row
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 180 show details

    Severity: E_NOTICE
    Notice
    Undefined variable: select
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_NOTICE
    Warning
    Invalid argument supplied for foreach()
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_WARNING
    Notice
    Undefined variable: row
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 180 show details

    Severity: E_NOTICE
    Notice
    Undefined variable: select
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 157 show details

    Severity: E_NOTICE
    Notice
    Undefined variable: select
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_NOTICE
    Warning
    Invalid argument supplied for foreach()
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_WARNING
    Notice
    Undefined variable: row
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 180 show details

    Severity: E_NOTICE
    Notice
    Undefined variable: select
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_NOTICE
    Warning
    Invalid argument supplied for foreach()
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_WARNING
    Notice
    Undefined variable: row
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 180 show details

    Severity: E_NOTICE
    Notice
    Undefined variable: select
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_NOTICE
    Warning
    Invalid argument supplied for foreach()
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_WARNING
    Notice
    Undefined variable: row
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 180 show details

    Severity: E_NOTICE
    Notice
    Undefined variable: select
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_NOTICE
    Warning
    Invalid argument supplied for foreach()
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_WARNING
    Notice
    Undefined variable: row
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 180 show details

    Severity: E_NOTICE
    Notice
    Undefined variable: select
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_NOTICE
    Warning
    Invalid argument supplied for foreach()
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_WARNING
    Notice
    Undefined variable: row
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 180 show details

    Severity: E_NOTICE
    Notice
    Undefined variable: select
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_NOTICE
    Warning
    Invalid argument supplied for foreach()
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 175 show details

    Severity: E_WARNING
    Notice
    Undefined variable: row
    D:/wamp64/www/bear.local/system/user/addons/low_reorder/base.low_reorder.php, line 180 show details

  3. Low 4 Apr 2018 20:11

    Very strange, I cannot reproduce this. Any chance I can take a look myself, or is this a local install only?

  4. Peter Gosling 5 Apr 2018 08:05

    Yeah it's on a local wamp install at the moment I'm afraid

  5. Low 5 Apr 2018 09:27

    That makes it hard to debug. The errors make no sense here; I'd recommend making a backup of all Low Reorder tables, then uninstall the addon, grab a fresh copy, install that, and then restore the DB tables. See if that helps.