• Resolved jeffqc

    (@jeffqc)


    ive only change the langage on a wp instal (a 2 years old site)

    and i get this error now: Parse error: syntax error, unexpected ‘define’ (T_STRING)

    i only add define(‘WPLANG’, ‘fr_FR’);

    ive try to put back the origmal «define» and i still ge this error

Viewing 1 replies (of 1 total)
  • Thread Starter jeffqc

    (@jeffqc)

    fixed
    That was total cache who has install a line inside my config

    the line was

    <?php/** Enable W3 Total Cache */define(‘WP_CACHE’, true); // Added by W3 Total Cache/** Enable W3 Total Cache Edge Mode */define(‘W3TC_EDGE_MODE’, true); // Added by W3 Total Cache

    and i change it for
    <?php
    /** Enable W3 Total Cache */define(‘WP_CACHE’, true); // Added by W3 Total Cache/** Enable W3 Total Cache Edge Mode */define(‘W3TC_EDGE_MODE’, true); // Added by W3 Total Cache

    and now all is ok

Viewing 1 replies (of 1 total)

The topic ‘Parse error: syntax error, unexpected 'define' (T_STRING)’ is closed to new replies.