• Resolved HalHal

    (@halhal)


    便利なプラグインをありがとうございます。

    先日から確認メール時などで以下エラーがでるようになりました。

    Warning: Undefined property: WC_Gateway_AtStore_JP::$instructions in /home/@@@@/public_html/@@@@/wp-content/plugins/woocommerce-for-japan/includes/gateways/atstore/class-wc-gateway-atstore-jp.php on line 98

    色々試してみたのですが、WoocommerceのPaypay決済が有効になっているとエラーが出る感じです。

    何かお分かりでしたら教えていただきたいです。

    環境

    Woocommerce 8.5.2
    Japanized for WooCommerce 2.6.10

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter HalHal

    (@halhal)

    環境が変わってもNGです
    Woocommerce バージョン 8.6.1
    Japanized for WooCommerce 2.6.10

    Paypayは使用できております。

    お客様へのメールに記述されてしまう為、回避策を探しています。

    Warning: Undefined property: WC_Gateway_AtStore_JP::$instructions in /home/@@@@/@@@@/public_html/@@@@/wp-content/plugins/woocommerce-for-japan/includes/gateways/atstore/class-wc-gateway-atstore-jp.php on line 98

    よろしくお願いいたします

    Thread Starter HalHal

    (@halhal)

    プラグインを無効化すると消え、有効化するとエラーが出ます。
    回避策を教えてください

    mamekichi

    (@mamekichi)

    こんにちは

    私のところでは、そのような表示は出ていないのですが、

    class-wc-gateway-atstore-jp.php の34行目付近に、

    $this->instructions = $this->get_option( ‘instructions’ );

    を加えたら消えませんか?

    あるいは、wp-config.php ファイルに ini_set(‘display_errors’,’Off’);を記述してWarningを表示させないという手もあると思います。

    • This reply was modified 4 months ago by mamekichi.
    mamekichi

    (@mamekichi)

    こんにちは

    $instructionsも定義してください

    /**
    * Constructor for the gateway.
    */
    public string $instructions;

    LinepayとかPaidyとかも未定義の変数があるようです。

    Plugin Author shohei.tanaka

    (@shoheitanaka)

    @halhal @mamekichi すみません。チェック等が遅くなってしまいまして。

    先ほど、こちらの対応をしたバージョンをアップいたしました。ご確認のほど、よろしくお願いいたします。

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.