• Fatal error: Class ‘Translations’ not found in /home/p14l39fs/public_html/wordpress/wp-includes/l10n.php on line 408

    on line 408 of the (lowercase letter “L”)10n.php file I find:
    $empty = &new Translations;

    So, since anybody who’s anybody can never get enough class, will someone be so kind as to tell me how I can add class to this file?

    And will the damn upgrade work if I do it?

    Thanks, everso…

Viewing 2 replies - 1 through 2 (of 2 total)
  • A “class” is a set of functions within a web application, in this case WordPress. The specific file you’re having problems with is the part that handles translation from whatever language a WordPress plugin or template is in to whatever language you have set as your default. My guess is that something went wrong in your installation/upgrade (perhaps a file didn’t get copied correctly during FTP).

    Just for reference, the Translations class is defined in: /wp-includes/pomo/translations.php. Take a look at the file (assuming it’s there) and you’ll see just what a “class” does.

    Back up your database and re-install the WordPress core. That should take care of any missing/corrupt files and restore the Translations class in your system.

    Thread Starter petevannuys

    (@petevannuys)

    Eric, hi.

    I really appreciate your reply, honest.

    But it just doesn’t enlighten. I look at translations.php in Dreamweaver, and I see the code and the notes and it does, indeed, appear to translate language, etc. But I don’t see what’s wrong. What to fix. Etc.

    I have a backup. And I will reinstall it, back to 2.65, and if it works I will leave it alone.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What is “class” as referred to in the error msgs below?’ is closed to new replies.