ResolvedFatal Error during Install

  • Author
    Posts
  • lonehorseend
    Participant

    Parse error: syntax error, unexpected T_FUNCTION in /public_html/wp-content/plugins/i-am/assets/ilenframework/assets/lib/utils.php on line 556.

    When I look at that particular line, it’s
    $f = @function($x) use ($weight) { return $weight * $x; };

    The server I’m on is Bluehost and running PHP Version 5.4.24

    • This topic was modified 1 year, 5 months ago by  lonehorseend.
    #2636
    iLen
    Keymaster

    Hello, php says the ‘anonymous functions’ if it is compatible with PHP 5.3 and 5.4
    It is rare that this error is causing you, you have this error on localhost ?.
    ok

    #2645
    iLen
    Keymaster

    Download version plugins 2.87

    #2646
    lonehorseend
    Participant

    No, it wasn’t on localhost. The hosting company where the site resides is called Bluehost. Thanks for the update. I’ll try it and get back to you.

    #2647
    lonehorseend
    Participant

    Ok. So now I feel stupid. I was reading the CPanel and not PHP Info. Turns out we were running PHP 5.2.

    • This reply was modified 1 year, 5 months ago by  lonehorseend.
    #2649
    iLen
    Keymaster

    Download the plugin at this link https://wordpress.org/plugins/i-am/ and please ask your host that you update the version of PHP to version 5.3+. You have the right to do so.

    #2653
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.