• Resolved g4macgregor

    (@g4macgregor)


    After updating the plugin today, it took the site down with an Internal Server Error. Looking through the logs, found:

    [25-Sep-2017 14:35:21] PHP Parse error: syntax error, unexpected T_FUNCTION in /[home_directory]/[account_name]/public_html/wp-content/plugins/bmlt-wordpress-satellite-plugin/BMLT-Satellite-Base-Class/bmlt-cms-satellite-plugin.php on line 1940

    $func = function ( $value ) { return strtolower ( trim ( $value ) ); };

    Versions:
    WordPress: 4.8.2
    PHP: 5.4.43

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author BMLTGuy

    (@magblogapi)

    Hi, sorry for the delay in responding.

    That’s a fairly classic “the whole file’s pooched” error. It *MAY* have been caused by the anonymous function issue that caused some servers to barf.

    Otherwise, there has not been a case of this in a long time (I do try to test everything pretty well – https://bmlt.magshare.net/specific-topics/release-process/ , but don’t claim perfection).

    That was fixed last month, and I hope that you were able to get it up and going.

    You can also send email directly to bmlt -at- margshare.net

    Please let me know if this is still an issue.

    Plugin Author BMLTGuy

    (@magblogapi)

    Um… that’s “magshare.net”, not “margshare.net”

    “Sorry about that, Chief.”
    — Maxwell Smart

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘unexpected T_FUNCTION: line 1940’ is closed to new replies.