• Hi

    I search why have “HTTP error” when upload media (multifile mode, “classic” mode work OK, but @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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, I have the same problem! Does anyone know what to do with it?

    Aga_WP

    (@aga_wp)

    You need to download a language file for your version of WordPress.

    https://crowdin.com/project/daves-wordpress-live-search

    elmino

    (@elmino)

    It doesn’t help. There weren’t translation in my language, so I translated it and used it, problems has been still..

    Aga_WP

    (@aga_wp)

    remove other language files. Leave only your translation

    elmino

    (@elmino)

    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.