Title: PHP Parse error &#8211; Line 100
Last modified: May 26, 2019

---

# PHP Parse error – Line 100

 *  Resolved [firmdot](https://wordpress.org/support/users/firmdot/)
 * (@firmdot)
 * [7 years ago](https://wordpress.org/support/topic/php-parse-error-line-100/)
 * I see a lot of errors in my error log for:
 * [26-May-2019 08:17:43] PHP Parse error: syntax error, unexpected T_FUNCTION in/
   home/site/public_html/wp-content/plugins/redirection/redirection.php on line 
   100
 * Line 100 is:
 * // This is causing a lot of problems with the REST API – disable qTranslate
    
   add_filter( ‘qtranslate_language_detect_redirect’, function( $lang, $url ) {
 * Any idea what needs to be done to resolve that issue?

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

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [7 years ago](https://wordpress.org/support/topic/php-parse-error-line-100/#post-11573346)
 * Redirection requires PHP 5.4, as does WordPress. It sounds like you are using
   an older version.
 *  Thread Starter [firmdot](https://wordpress.org/support/users/firmdot/)
 * (@firmdot)
 * [7 years ago](https://wordpress.org/support/topic/php-parse-error-line-100/#post-11573364)
 * We are using 5.6 at the moment.
 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [7 years ago](https://wordpress.org/support/topic/php-parse-error-line-100/#post-11573391)
 * The line is using an anonymous function, which is valid syntax for more recent
   versions of PHP. This particular line has been in the plugin for 2 months and
   has not been reported by anyone else.
 * Either your file is corrupt, or you are unintentionally using an older version
   of PHP. If you look at your Site Health it might show more details.

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

The topic ‘PHP Parse error – Line 100’ is closed to new replies.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [John Godley](https://wordpress.org/support/users/johnny5/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/php-parse-error-line-100/#post-11573391)
 * Status: resolved