解決済み
Question

ボタンをいれるとエラーになる

  • M MOE
  • 記事内にボタンをいれると、下記のようなエラーコードが表示されます。
    自己解決が難しく相談をさせてください。

    Warning: Trying to access array offset on value of type int in /home/r8197182/public_html/moetrip.jp/wp-content/themes/jinr/include/customizer/ui/button-design-setting.php on line 662

    ※キャッシュクリア、プラグインの削除は対応済みです
    ※macOS Ventura 13.0.1

    • WP 6.2
    • PHP 8.1
    • JIN:R 1.1.1
    • お名前.com
    • GoogleChrome
    • その他(トピック内容に記載してください。)
    2023/06/27 10:52
  • tsu_

    こんにちは!
    JIN:R運営チームのtsu_です。

    画像とURLありがとうございます!

    URLの記事が無いみたいなのですが、他のエラーが出ている記事のURLをご共有いただけますか??

    お手数おかけしますが、よろしくお願いいたします!

    2023/06/27 22:14
  • M
    MOE

    失礼しました。こちらでご確認お願いします!
    https://moetrip.jp/marriott-bonvoy-amex-card-guide/

    2023/06/28 10:50
  • tsu_

    URLありがとうございます!

    記事の最初に入れたボタンは、目次の少し下に表示されているボタンと同じ種類でしょうか?
    (種類→デフォルトで言うところのCVボタン1やCVボタン2のことです)

    どのボタンを入れてもエラーになるかどうかも、併せてご確認いただけますと大変助かります!

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

    2023/06/29 12:09
  • M
    MOE

    >記事の最初に入れたボタンは、目次の少し下に表示されているボタンと同じ種類でしょうか?
    はい、そうです。

    >どのボタンを入れてもエラーになるかどうかも、併せてご確認いただけますと大変助かります!
    どのボタンをいれても、エラーになってしまいました。
    (長いのですが、エラーコード貼付します。ページ内は既に削除しています)

    お手数をおかけしますが、よろしくお願いします。

    ▼エラーコード▼
    Warning: Trying to access array offset on value of type int in /home/r8197182/public_html/moetrip.jp/wp-content/themes/jinr/include/customizer/ui/button-design-setting.php on line 577

    Warning: Trying to access array offset on value of type int in /home/r8197182/public_html/moetrip.jp/wp-content/themes/jinr/include/customizer/ui/button-design-setting.php on line 577

    Warning: Trying to access array offset on value of type int in /home/r8197182/public_html/moetrip.jp/wp-content/themes/jinr/include/customizer/ui/button-design-setting.php on line 747

    Warning: Trying to access array offset on value of type int in /home/r8197182/public_html/moetrip.jp/wp-content/themes/jinr/include/customizer/ui/button-design-setting.php on line 747

    Warning: Trying to access array offset on value of type int in /home/r8197182/public_html/moetrip.jp/wp-content/themes/jinr/include/customizer/ui/button-design-setting.php on line 832

    Warning: Trying to access array offset on value of type int in /home/r8197182/public_html/moetrip.jp/wp-content/themes/jinr/include/customizer/ui/button-design-setting.php on line 832

    Warning: Trying to access array offset on value of type int in /home/r8197182/public_html/moetrip.jp/wp-content/themes/jinr/include/customizer/ui/button-design-setting.php on line 917

    Warning: Trying to access array offset on value of type int in /home/r8197182/public_html/moetrip.jp/wp-content/themes/jinr/include/customizer/ui/button-design-setting.php on line 917

    Warning: Trying to access array offset on value of type int in /home/r8197182/public_html/moetrip.jp/wp-content/themes/jinr/include/customizer/ui/button-design-setting.php on line 1002

    Warning: Trying to access array offset on value of type int in /home/r8197182/public_html/moetrip.jp/wp-content/themes/jinr/include/customizer/ui/button-design-setting.php on line 1002

    Warning: Trying to access array offset on value of type int in /home/r8197182/public_html/moetrip.jp/wp-content/themes/jinr/include/customizer/ui/button-design-setting.php on line 662

    Warning: Trying to access array offset on value of type int in /home/r8197182/public_html/moetrip.jp/wp-content/themes/jinr/include/customizer/ui/button-design-setting.php on line 662

    Warning: Trying to access array offset on value of type int in /home/r8197182/public_html/moetrip.jp/wp-content/themes/jinr/include/customizer/ui/button-design-setting.php on line 662

    Warning: Trying to access array offset on value of type int in /home/r8197182/public_html/moetrip.jp/wp-content/themes/jinr/include/customizer/ui/button-design-setting.php on line 662

    2023/06/29 19:01
  • tsu_

    検証ありがとうございます!

    もう1点お聞きしたいのですが、↓画像の設定部分は変更していますか...??

    度々スミマセン、ご確認よろしくお願いいたします!

    2023/06/30 12:57
  • M
    MOE

    変更しない段階でもエラーは出ていました…
    色々自分でも調べて、横幅がだめなのかな?と思い、後々ちょっと変更もしています!

    2023/06/30 16:49
  • Ryota0101

    こんにちは!
    JIN:R開発チームのRyotaです。

    エラーの件、お手数おかけして申し訳ございません。
    最後まで対応させていただきますので、何卒ご協力の程よろしくお願いいたします。

    こちらですが、現状のままでは解決が難しそうなのでもしよろしければ管理画面にログインさせていただき、実際に中身を見させていただけると嬉しいです。

    TwitterのDMもしくはBlog CampのSlackどちらでも構いませんので、僕宛にご連絡いただけると嬉しいです!

    // Twitter
    @tech_ryota

    // Blog Campのはじめ方
    https://jinr.jp/manual/how-to-join/

    Blog Campに関してはSlackにログイン後検索窓で「@Ryota」と検索していただいたら、僕のアカウントが出てくるのでそちらまでメッセージを飛ばしてもらえたら対応させていただきます!
    MOEさんのやりやすい方で構いませんので、お手数おかけ致しますが宜しく願いします!

    2023/07/02 18:02
CLOSE