Title: PHP Parse error:  syntax error
Last modified: August 21, 2016

---

# PHP Parse error: syntax error

 *  [Patryk](https://wordpress.org/support/users/prcpl/)
 * (@prcpl)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/php-parse-error-syntax-error/)
 * Hi
 * I search why have “HTTP error” when upload media (multifile mode, “classic” mode
   work OK, but [@log](https://wordpress.org/support/users/log/) error to), and 
   I find out that plugin mekes a error:
 * `[Wed Apr 02 13:39:13.410245 2014] [:error] [pid 4442] [client IP:64649] PHP 
   Parse error: syntax error, unexpected '=' in /var/www/[domain]/public_html/wp-
   includes/pomo/translations.php(171) : runtime-created function on line 2, referer:
   http://[domain]/wp-admin/media-new.php`
 * First error, just after plugin starts:
 * `[Wed Apr 02 13:23:53.701880 2014] [:error] [pid 4063] [client IP:64222] PHP 
   Parse error: syntax error, unexpected '=' in /var/www/[domain]/public_html/wp-
   includes/pomo/translations.php(171) : runtime-created function on line 2, referer:
   http://[domain]/wp-admin/plugins.php`
 * And at any action in wp-admin or from user site – ~same error.
    When plugin off
   = no error
 * Testesd: 2 different site @ 2 different serwers:
    WP 3.8.1 + Vantage Premium 
   theme WP 3.8.1 + Twenty Twelve theme
 * Regards
 * [https://wordpress.org/plugins/daves-wordpress-live-search/](https://wordpress.org/plugins/daves-wordpress-live-search/)

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

 *  [elmino](https://wordpress.org/support/users/elmino/)
 * (@elmino)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error/#post-4767766)
 * Hi, I have the same problem! Does anyone know what to do with it?
 *  [Aga_WP](https://wordpress.org/support/users/aga_wp/)
 * (@aga_wp)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error/#post-4767777)
 * You need to download a language file for your version of WordPress.
 * [https://crowdin.com/project/daves-wordpress-live-search](https://crowdin.com/project/daves-wordpress-live-search)
 *  [elmino](https://wordpress.org/support/users/elmino/)
 * (@elmino)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error/#post-4767778)
 * It doesn’t help. There weren’t translation in my language, so I translated it
   and used it, problems has been still..
 *  [Aga_WP](https://wordpress.org/support/users/aga_wp/)
 * (@aga_wp)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error/#post-4767780)
 * remove other language files. Leave only your translation
 *  [elmino](https://wordpress.org/support/users/elmino/)
 * (@elmino)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error/#post-4767781)
 * Thanks for answer, but it didn´t help. I left only my translation in directory(.
   mo and .po file), but error is still:
    Parse error: syntax error, unexpected ‘
   =’ in /home/domains/[domain]/web/public/www/wp-includes/pomo/translations.php(
   171) : runtime-created function on line 2

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

The topic ‘PHP Parse error: syntax error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/daves-wordpress-live-search_daad6f.
   svg)
 * [Dave's WordPress Live Search](https://wordpress.org/plugins/daves-wordpress-live-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/daves-wordpress-live-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/daves-wordpress-live-search/)
 * [Active Topics](https://wordpress.org/support/plugin/daves-wordpress-live-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/daves-wordpress-live-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/daves-wordpress-live-search/reviews/)

## Tags

 * [http error](https://wordpress.org/support/topic-tag/http-error/)
 * [php parse error](https://wordpress.org/support/topic-tag/php-parse-error/)

 * 5 replies
 * 3 participants
 * Last reply from: [elmino](https://wordpress.org/support/users/elmino/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error/#post-4767781)
 * Status: not resolved