• Hi,

    Im not a web developer, im trying to solve this at my end,
    the site originally 4.9.x version, after the update, there are some other error
    and also saying about the old qtranslate x i have is no longer workable,

    so i follow some side guide to do the update and changes, now i have come to this

    Fatal error: Call to undefined function qtrans_getLanguage() in /home/w22qjcd488ig/new.celergenchina.com/wp-content/themes/celergen/functions.php on line 249

    from line 249
    /**
    * Convert float number to format based on the locale.
    *
    * @since 2.3.0
    *
    * @global WP_Locale $wp_locale
    *
    * @param float $number The number to convert based on locale.
    * @param int $decimals Optional. Precision of the number of decimal places. Default 0.
    * @return string Converted number in string format.
    */
    function number_format_i18n( $number, $decimals = 0 ) {
    global $wp_locale;

    if ( isset( $wp_locale ) ) {
    $formatted = number_format( $number, absint( $decimals ), $wp_locale->number_format[‘decimal_point’], $wp_locale->number_format[‘thousands_sep’] );
    } else {
    $formatted = number_format( $number, absint( $decimals ) );
    }

    /**
    * Filters the number formatted based on the locale.
    *
    * @since 2.8.0
    * @since 4.9.0 The $number and $decimals parameters were added.
    *
    * @param string $formatted Converted number in string format.
    * @param float $number The number to convert based on locale.
    * @param int $decimals Precision of the number of decimal places.
    */
    return apply_filters( ‘number_format_i18n’, $formatted, $number, $decimals );
    }

    to line 281

    The page I need help with: [log in to see the link]

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

    (@james5089)

    sorry, i miss out some info, i have upgrade to wordpress 5.2.4, the theme is custom by the previous web developer

    it does not support php 7 above, currently is running 5.6,
    if i run 7 or 7.3 is say, mysql extension is missing

    i have also tried, re-install wp, disable plugin, re-save permalinks, it didnt work

    change to default theme, yes, but im not sure where it went wrong.

    • This reply was modified 5 years, 4 months ago by james5089.
    • This reply was modified 5 years, 4 months ago by james5089.
Viewing 1 replies (of 1 total)
  • The topic ‘qtranslate x after update/migrate crash site’ is closed to new replies.