• I just uploaded the new version of WP and I get this error:

    Fatal error: Call to undefined function: _c() in /docs/blog/wp-includes/locale.php on line 93

    I did a search everywhere and can’t find anything, I’m hoping someone can help.

    Thank You

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter hannah123

    (@hannah123)

    $trans = _c(‘number_format_decimals|$decimals argument for https://php.net/number_format, default is 0’);

    Line 93 looks like that, if that makes any difference any help is appreciated.

    Thank You

    EDIT:

    Logging into my blog it seems that this function _c is needed in some other places as well. So my blog is still broken ??

    Maybe this is a bug that should be filed?

    Hi,

    I ran into the same problem while upgrading. I did a few changes to the locale.php file to fix the error. It worked for me but should be considered a hack ??

    Just comment out the lines with the $trans = and $this->number-format[ (lines 93 and following only)

    Hard code your settings for decimals, decimal_point and thousands_sep e.g.

    $this->number_format['decimals'] = 0;
    $this->number_format['decimal_point'] = '.';
    $this->number_format['thousands_sep'] = ',';

    this enabled me to run upgrade.php properly.

    Hope this works for you too.

    so long,

    Borgond

    As this is the only forum post that comes up for this error, can I presume it won’t be fixed in the main code stream? If so, how can I check?

    My blog is currently running at about 85% functionality, and I guess hand fixing all of the instances where this function is called will mean doing the same every time I upgrade from here onwards?

    Not good WordPress peeps, not good at all.

    I’m encountering this problem too.

    I tried Borgond’s method, but it didn’t work for me.

    Anyone managed to solve this?

    And if not..

    Is there any way I can revert back to the old versiom?

    I just want the content back!

    Can someone please help with this?

    Please?

    Has anyone found a solution to this problem yet? I just upgraded to 2.3.2 and have the same issue.

    For now, i just replaced all the files that were generating that error with the 2.2 version, but that doesn’t seem like a sound solution.

    wordpress? help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal Error’ is closed to new replies.