unexpected T_FUNCTION: line 1940
-
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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘unexpected T_FUNCTION: line 1940’ is closed to new replies.