• お世話になっております。
    この度、カテゴリー及び、カスタムタクソノミー設定画面にカスタムフィールドを設置しました。
    フィールド自体は機能していて実害はないのですが、カテゴリ編集画面を開いた際、以下のようなWarningが出てしまいます。(カテゴリ、カスタムタクソノミー両方)

    Declaration of Smart_Custom_Fields_Controller_Taxonomy::admin_enqueue_scripts($hook) should be compatible with Smart_Custom_Fields_Controller_Base::admin_enqueue_scripts() in 【wpのパス】\wp-content\plugins\smart-custom-fields\classes\controller\class.taxonomy.php on line 29

    phpバージョンは7.4
    WordPressは5.8.1
    SmartCustomFieldsのバージョンは現時点で最新の4.2.0

    できるだけWarning非表示での対応は避けたく思っています。
    何とぞよろしくお願いいたします。

    • This topic was modified 3 years, 4 months ago by florena3.
Viewing 1 replies (of 1 total)
  • 当方profileページのカスタマイズにSmart Custom Fieldsを使用していますが、Wordpressを5.7.4から5.8.2へアップデートしたところ、florena3さんとほぼ同じwarningが出るようになりました。
    動作はしていますがやはり気になりますね。サーバーによるのでしょうか。

    Declaration of Smart_Custom_Fields_Controller_Taxonomy::admin_enqueue_scripts($hook) should be compatible with Smart_Custom_Fields_Controller_Base::admin_enqueue_scripts() in 【wpのパス】\wp-content\plugins\smart-custom-fields\classes\controller\class.profile.php on line 29

    PHPは同じく7.4、Wordpressは5.8.2、Smart Custom Fieldsプラグインのバージョンは4.2.0の環境です。

Viewing 1 replies (of 1 total)
  • The topic ‘カテゴリーで使用するとWarningが出る’ is closed to new replies.