• Resolved Matt Rose

    (@boswall)


    I’m getting a PHP parse error (that is bringing down the whole site) in /functions/settings.php at line 246:

    $report = [];

    Which is only supported in 5.4. Any chance this could be changed to :

    $report = array();

    for us poor souls who are stuck with older PHP versions?

    https://ww.wp.xz.cn/plugins/crop-thumbnails/

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

    (@barcombeboy)

    I am also getting this error and is is also bringing my whole site down. This is displayed on the pages:

    Parse error: syntax error, unexpected ‘[‘ in /home/<web site>/public_html/wp-content/plugins/crop-thumbnails/functions/settings.php on line 246

    Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    Ok, is resolved in v0.10.8
    —–
    I highly recommend to update your php or change the hoster!

    Thread Starter Matt Rose

    (@boswall)

    Thank you Volkmar, that update has fixed it.

    I agree, an updated PHP or new host would be a better fix. Sadly, this is not viable in this case.

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

The topic ‘PHP Parse error in PHP5.3’ is closed to new replies.