2017-12-05 22 views
0

に私のサイトはすべてのプラグインは、私が再活性化し、アンインストールして以来、私は私が(WP)をカスタマイズするために取得しようとすると、エラー500毎回で迎えられているカスタマイズするために取得しようとしたとき。エラー未定義の関数thrive_get_theme_optionsに500コール()WP

私はのerror_logをチェックアウトし、funtions.phpライン659(下3行目を開始します)を指しています:これはおそらく、単純なものである

function thrive_exclude_category($query) 
{ 
    $hide_cat_option = thrive_get_theme_options('hide_cats_from_blog'); 

    if (!is_string($hide_cat_option)) { 
     $hide_cat_option = ""; 
    } 

    $hide_categories = is_array(json_decode($hide_cat_option)) ? json_decode($hide_cat_option) : array(); 
    $temp_query_string_part = ""; 
    foreach ($hide_categories as $temp_cat_id) { 
     $temp_query_string_part .= "-" . $temp_cat_id . " "; 
    } 

、しかし、私は吸います。私はサイトを維持することに悩まされていて、本当に問題に言及していない。事前に感謝

+0

をerror_logには何を言うのですか?詳細が必要です。それは ")(未定義関数thrive_get_theme_options ..." となっていますか? –

+0

[05日 - 2017年10時46分23秒UTC] PHP致命的なエラーは:/home/fgcpanel/public_html/futures-for-children.org/wp-content/themes/rise/functionsに未定義関数thrive_get_theme_options()の呼び出しライン上の.php 659 [05日 - 2017年10時46分58秒UTC] PHP致命的なエラー:/home/fgcpanel/public_html/futures-for-children.org/wp-content/における未定義の関数thrive_get_theme_options()の呼び出しライン659 – TurbineAl

+0

のテーマ/上昇/のfunctions.php繁栄のテーマで必要とされるすべてのプラグインを再活性化してみます。 –

答えて

0

が原因で致命的なテーマを繁栄に必要なすべてのプラグイン再活性化してみてください(未定義の関数thrive_get_theme_optionsに呼び出し)

関連する問題