フォーラムへの返信
-
投稿者投稿
-
どちらでやっても基本的には多分同じだと思いますが(もしかしたら管理画面からのアップデート処理のタイミングでフックして何か処理しているプラグインがあったりするかもしれません)、FTP でアップデートする場合は、古いファイルを全部消してから新しいファイルをアップロードするほうが安全だと思います。
確かに、これはありそうですね。
状況に応じてやっていきます。
トピック閉じます。
いつもありがとうございます!
♥ 0いいねをした人: 居ませんメールありがとうございました。
無事インストール完了し、おそらく動作も問題ないかと思います。
本当にありがとうございます。ちなみに、zipファイルを解凍して、FTPでアップロードしたところエラーが出たのですが、
基本的にはアドオンは管理画面からインストールした方が良いのでしょうか?今までFTPツールの方が処理が早いので、そうしていましたが、
もし何か知っていると教えていただけますと幸いです。♥ 0いいねをした人: 居ませんご返信ありがとうございます。
ご指摘のファイルが入っているものをインストールしました(以前北島さんからいただいたファイルそのまま)が、以下のようなエラーが出てしまいます。
Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /home/xsgalewest/galewest.site/public_html/futatuki/wp-content/plugins/snow-monkey-member-post/vendor/inc2734/wp-github-plugin-updater/src/App/Model/GitHubReleases.php:69 Stack trace: #0 /home/xsgalewest/galewest.site/public_html/futatuki/wp-content/plugins/snow-monkey-member-post/vendor/inc2734/wp-github-plugin-updater/src/Bootstrap.php(127): Inc2734\WP_GitHub_Plugin_Updater\App\Model\GitHubReleases->get() #1 /home/xsgalewest/galewest.site/public_html/futatuki/wp-includes/class-wp-hook.php(326): Inc2734\WP_GitHub_Plugin_Updater\Bootstrap->_pre_set_site_transient_update_plugins(Object(stdClass)) #2 /home/xsgalewest/galewest.site/public_html/futatuki/wp-includes/plugin.php(205): WP_Hook->apply_filters(Object(stdClass), Array) #3 /home/xsgalewest/galewest.site/public_html/futatuki/wp-includes/option.php(2610): apply_filters(‘pre_set_site_tr…’, Object(stdClass), ‘update_plugins’) #4 /home/xsgalewest/galewest.site/public_html/futatuki/wp-includes/update.php(393): set_site_transient(‘update_plugins’, Object(stdClass)) #5 /home/xsgalewest/galewest.site/public_html/futatuki/wp-includes/class-wp-hook.php(324): wp_update_plugins(”) #6 /home/xsgalewest/galewest.site/public_html/futatuki/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #7 /home/xsgalewest/galewest.site/public_html/futatuki/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /home/xsgalewest/galewest.site/public_html/futatuki/wp-admin/admin.php(385): do_action(‘load-plugins.ph…’) #9 /home/xsgalewest/galewest.site/public_html/futatuki/wp-admin/plugins.php(10): require_once(‘/home/xsgalewes…’) #10 {main} thrown in /home/xsgalewest/galewest.site/public_html/futatuki/wp-content/plugins/snow-monkey-member-post/vendor/inc2734/wp-github-plugin-updater/src/App/Model/GitHubReleases.php on line 69
♥ 0いいねをした人: 居ませんありがとうございます。
ただ、スクショをみると先に共有いただいたコードと同じものを貼り付けて、それで再現しているのだと思うので(ですよね?)、
はい、そういうことになります。
<!– wp:table –>〜<!– /wp:table –> は「この HTML はテーブルブロックである」ということを表す情報になるので、それは含めないほうが良いのではないかと思いました。
おっしゃる通りですね。こちら一度試してみたいと思います。
– クリーンインストールした環境に Snow Monkey テーマのみをインストールし再現するか確認
– 現状の環境でテーマを TwentyTwentyOne に切り替えて再現するか確認こちらご提示いただいた件も試してみますが、まずはページを完成させたいので、
コードは再度入れ直して運用させていただきます。また何かわかったことがあれば共有させていただきますが、一旦トピック閉じさせていただきます。
いつもご丁寧に本当にありがとうございます。
♥ 0いいねをした人: 居ませんありがとうございます。
一度こちら確認してみます。
もしかすると、私がインストールしたsnow monkeyさんのテーマのファイルの一部がどこかおかしいのかもしれないですね…。
♥ 0いいねをした人: 居ません説明不足ですみません。
認識自体は当方でもされているのですが、
その後、編集ページを開けると、HTMLの部分が白紙になってしまっているということです。このように入力して、更新するとサイトには正式に認識はされますが、
しばらく経って編集画面を開けると、こんな感じで入力していたコードがごっそり消えてしまうということです。
なので、サイトの見え方的には問題はありません。
しかし、修正の度にコードが消えてしまい、消えてしまったコードを書き足すのに
時間がかかるので、これをなんとかしてもらいたいということです。お手数おかけしますが、何卒よろしくお願いいたします。
♥ 0いいねをした人: 居ませんありがとうございます。
<!– wp:table {“hasFixedLayout”:false,”style”:{“border”:{“width”:”2px”}},”borderColor”:”sm-gray”} –>
<figure class=”wp-block-table”><table class=”has-border-color has-sm-gray-border-color” style=”border-width:2px”><tbody><tr><td>強力ミノファーゲン注射(ネオファーゲン+グルタチオン400mg)<p class=”silver-background”>シルバー背景のリッチな文字</p></td><td>2,750 円</td></tr><tr><td>強力ミノファーゲン点滴(ネオファーゲン+グルタチオン800mg)<p class=”gold-background”>ゴールド背景のリッチな文字</p> </td><td>3,850 円 </td></tr></tbody></table></figure>
<!– /wp:table –>すでに編集画面からコードが消えてしまっているので、上記はサンプルですが構造は同じです。
これの類をhtmlコードのブロックに貼っても、ことごとく編集ページから消えてしまいます…。
(更新後すぐなのか、キャッシュが消えてからそうなるのかまでは追えていませんん)ご確認よろしくお願いいたします。
♥ 0いいねをした人: 居ませんエラーコードなくなりました!
迅速に対応していただき本当にありがとうございます!
♥ 0いいねをした人: 居ません承知しました!
お手数おかけしますがお願いいたします。
♥ 0いいねをした人: 居ません度々すみません。問題のスマホのグローバルメニューについてのコードの記載を忘れておりました。
以下になります。
Warning: Attempt to read property "walker" on array in /xxxxx/wp-content/themes/snow-monkey/vendor/inc2734/wp-basis/src/App/Walker/Drawer.php on line 50 array(29) { ["depth"]=> int(0) ["show_date"]=> string(0) "" ["date_format"]=> string(12) "Y年n月j日" ["child_of"]=> int(0) ["exclude"]=> string(0) "" ["title_li"]=> string(0) "" ["echo"]=> bool(false) ["authors"]=> string(0) "" ["sort_column"]=> string(22) "menu_order, post_title" ["link_before"]=> string(0) "" ["link_after"]=> string(0) "" ["item_spacing"]=> string(8) "preserve" ["walker"]=> object(Inc2734\WP_Basis\App\Walker\Drawer)#7735 (4) { ["tree_type"]=> array(3) { [0]=> string(9) "post_type" [1]=> string(8) "taxonomy" [2]=> string(6) "custom" } ["db_fields"]=> array(2) { ["parent"]=> string(16) "menu_item_parent" ["id"]=> string(5) "db_id" } ["max_pages"]=> int(1) ["has_children"]=> bool(false) } ["menu_id"]=> string(0) "" ["menu_class"]=> string(14) "c-drawer__menu" ["container"]=> bool(false) ["before"]=> string(0) "" ["after"]=> string(0) "" ["menu"]=> bool(false) ["container_class"]=> string(0) "" ["container_id"]=> string(0) "" ["container_aria_label"]=> string(0) "" ["fallback_cb"]=> string(12) "wp_page_menu" ["items_wrap"]=> string(36) "%3$s " ["theme_location"]=> string(10) "drawer-nav" ["can_partial_refresh"]=> bool(false) ["customize_preview_nav_menus_args"]=> array(20) { ["after"]=> string(0) "" ["before"]=> string(0) "" ["can_partial_refresh"]=> bool(false) ["container"]=> bool(false) ["container_aria_label"]=> string(0) "" ["container_class"]=> string(0) "" ["container_id"]=> string(0) "" ["depth"]=> int(0) ["echo"]=> bool(true) ["fallback_cb"]=> string(0) "" ["item_spacing"]=> string(8) "preserve" ["items_wrap"]=> string(36) "%3$s " ["link_after"]=> string(0) "" ["link_before"]=> string(0) "" ["menu"]=> string(0) "" ["menu_class"]=> string(14) "c-drawer__menu" ["menu_id"]=> string(0) "" ["theme_location"]=> string(10) "drawer-nav" ["walker"]=> string(0) "" ["args_hmac"]=> string(32) "54c8ab4f77ba3e81f32f771847977bf2" } ["hierarchical"]=> int(0) ["has_children"]=> bool(false) } Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/nav-menus.php on line 94 Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/nav-menus.php on line 95 Warning: Attempt to read property "before" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 273 Warning: Attempt to read property "link_before" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 275 Warning: Attempt to read property "link_after" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 275 Warning: Attempt to read property "after" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 277 Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/social-nav.php on line 14 Warning: Attempt to read property "walker" on array in /xxxxx/wp-content/themes/snow-monkey/vendor/inc2734/wp-basis/src/App/Walker/Drawer.php on line 50 array(29) { ["depth"]=> int(0) ["show_date"]=> string(0) "" ["date_format"]=> string(12) "Y年n月j日" ["child_of"]=> int(0) ["exclude"]=> string(0) "" ["title_li"]=> string(0) "" ["echo"]=> bool(false) ["authors"]=> string(0) "" ["sort_column"]=> string(22) "menu_order, post_title" ["link_before"]=> string(0) "" ["link_after"]=> string(0) "" ["item_spacing"]=> string(8) "preserve" ["walker"]=> object(Inc2734\WP_Basis\App\Walker\Drawer)#7735 (4) { ["tree_type"]=> array(3) { [0]=> string(9) "post_type" [1]=> string(8) "taxonomy" [2]=> string(6) "custom" } ["db_fields"]=> array(2) { ["parent"]=> string(16) "menu_item_parent" ["id"]=> string(5) "db_id" } ["max_pages"]=> int(1) ["has_children"]=> bool(false) } ["menu_id"]=> string(0) "" ["menu_class"]=> string(14) "c-drawer__menu" ["container"]=> bool(false) ["before"]=> string(0) "" ["after"]=> string(0) "" ["menu"]=> bool(false) ["container_class"]=> string(0) "" ["container_id"]=> string(0) "" ["container_aria_label"]=> string(0) "" ["fallback_cb"]=> string(12) "wp_page_menu" ["items_wrap"]=> string(36) "%3$s " ["theme_location"]=> string(10) "drawer-nav" ["can_partial_refresh"]=> bool(false) ["customize_preview_nav_menus_args"]=> array(20) { ["after"]=> string(0) "" ["before"]=> string(0) "" ["can_partial_refresh"]=> bool(false) ["container"]=> bool(false) ["container_aria_label"]=> string(0) "" ["container_class"]=> string(0) "" ["container_id"]=> string(0) "" ["depth"]=> int(0) ["echo"]=> bool(true) ["fallback_cb"]=> string(0) "" ["item_spacing"]=> string(8) "preserve" ["items_wrap"]=> string(36) "%3$s " ["link_after"]=> string(0) "" ["link_before"]=> string(0) "" ["menu"]=> string(0) "" ["menu_class"]=> string(14) "c-drawer__menu" ["menu_id"]=> string(0) "" ["theme_location"]=> string(10) "drawer-nav" ["walker"]=> string(0) "" ["args_hmac"]=> string(32) "54c8ab4f77ba3e81f32f771847977bf2" } ["hierarchical"]=> int(0) ["has_children"]=> bool(false) } Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/nav-menus.php on line 94 Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/nav-menus.php on line 95 Warning: Attempt to read property "before" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 273 Warning: Attempt to read property "link_before" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 275 Warning: Attempt to read property "link_after" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 275 Warning: Attempt to read property "after" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 277 Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/social-nav.php on line 14 Warning: Attempt to read property "walker" on array in /xxxxx/wp-content/themes/snow-monkey/vendor/inc2734/wp-basis/src/App/Walker/Drawer.php on line 50 array(29) { ["depth"]=> int(0) ["show_date"]=> string(0) "" ["date_format"]=> string(12) "Y年n月j日" ["child_of"]=> int(0) ["exclude"]=> string(0) "" ["title_li"]=> string(0) "" ["echo"]=> bool(false) ["authors"]=> string(0) "" ["sort_column"]=> string(22) "menu_order, post_title" ["link_before"]=> string(0) "" ["link_after"]=> string(0) "" ["item_spacing"]=> string(8) "preserve" ["walker"]=> object(Inc2734\WP_Basis\App\Walker\Drawer)#7735 (4) { ["tree_type"]=> array(3) { [0]=> string(9) "post_type" [1]=> string(8) "taxonomy" [2]=> string(6) "custom" } ["db_fields"]=> array(2) { ["parent"]=> string(16) "menu_item_parent" ["id"]=> string(5) "db_id" } ["max_pages"]=> int(1) ["has_children"]=> bool(false) } ["menu_id"]=> string(0) "" ["menu_class"]=> string(14) "c-drawer__menu" ["container"]=> bool(false) ["before"]=> string(0) "" ["after"]=> string(0) "" ["menu"]=> bool(false) ["container_class"]=> string(0) "" ["container_id"]=> string(0) "" ["container_aria_label"]=> string(0) "" ["fallback_cb"]=> string(12) "wp_page_menu" ["items_wrap"]=> string(36) "%3$s " ["theme_location"]=> string(10) "drawer-nav" ["can_partial_refresh"]=> bool(false) ["customize_preview_nav_menus_args"]=> array(20) { ["after"]=> string(0) "" ["before"]=> string(0) "" ["can_partial_refresh"]=> bool(false) ["container"]=> bool(false) ["container_aria_label"]=> string(0) "" ["container_class"]=> string(0) "" ["container_id"]=> string(0) "" ["depth"]=> int(0) ["echo"]=> bool(true) ["fallback_cb"]=> string(0) "" ["item_spacing"]=> string(8) "preserve" ["items_wrap"]=> string(36) "%3$s " ["link_after"]=> string(0) "" ["link_before"]=> string(0) "" ["menu"]=> string(0) "" ["menu_class"]=> string(14) "c-drawer__menu" ["menu_id"]=> string(0) "" ["theme_location"]=> string(10) "drawer-nav" ["walker"]=> string(0) "" ["args_hmac"]=> string(32) "54c8ab4f77ba3e81f32f771847977bf2" } ["hierarchical"]=> int(0) ["has_children"]=> bool(false) } Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/nav-menus.php on line 94 Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/nav-menus.php on line 95 Warning: Attempt to read property "before" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 273 Warning: Attempt to read property "link_before" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 275 Warning: Attempt to read property "link_after" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 275 Warning: Attempt to read property "after" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 277 Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/social-nav.php on line 14 Warning: Attempt to read property "walker" on array in /xxxxx/wp-content/themes/snow-monkey/vendor/inc2734/wp-basis/src/App/Walker/Drawer.php on line 50 array(29) { ["depth"]=> int(0) ["show_date"]=> string(0) "" ["date_format"]=> string(12) "Y年n月j日" ["child_of"]=> int(0) ["exclude"]=> string(0) "" ["title_li"]=> string(0) "" ["echo"]=> bool(false) ["authors"]=> string(0) "" ["sort_column"]=> string(22) "menu_order, post_title" ["link_before"]=> string(0) "" ["link_after"]=> string(0) "" ["item_spacing"]=> string(8) "preserve" ["walker"]=> object(Inc2734\WP_Basis\App\Walker\Drawer)#7735 (4) { ["tree_type"]=> array(3) { [0]=> string(9) "post_type" [1]=> string(8) "taxonomy" [2]=> string(6) "custom" } ["db_fields"]=> array(2) { ["parent"]=> string(16) "menu_item_parent" ["id"]=> string(5) "db_id" } ["max_pages"]=> int(1) ["has_children"]=> bool(false) } ["menu_id"]=> string(0) "" ["menu_class"]=> string(14) "c-drawer__menu" ["container"]=> bool(false) ["before"]=> string(0) "" ["after"]=> string(0) "" ["menu"]=> bool(false) ["container_class"]=> string(0) "" ["container_id"]=> string(0) "" ["container_aria_label"]=> string(0) "" ["fallback_cb"]=> string(12) "wp_page_menu" ["items_wrap"]=> string(36) "%3$s " ["theme_location"]=> string(10) "drawer-nav" ["can_partial_refresh"]=> bool(false) ["customize_preview_nav_menus_args"]=> array(20) { ["after"]=> string(0) "" ["before"]=> string(0) "" ["can_partial_refresh"]=> bool(false) ["container"]=> bool(false) ["container_aria_label"]=> string(0) "" ["container_class"]=> string(0) "" ["container_id"]=> string(0) "" ["depth"]=> int(0) ["echo"]=> bool(true) ["fallback_cb"]=> string(0) "" ["item_spacing"]=> string(8) "preserve" ["items_wrap"]=> string(36) "%3$s " ["link_after"]=> string(0) "" ["link_before"]=> string(0) "" ["menu"]=> string(0) "" ["menu_class"]=> string(14) "c-drawer__menu" ["menu_id"]=> string(0) "" ["theme_location"]=> string(10) "drawer-nav" ["walker"]=> string(0) "" ["args_hmac"]=> string(32) "54c8ab4f77ba3e81f32f771847977bf2" } ["hierarchical"]=> int(0) ["has_children"]=> bool(false) } Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/nav-menus.php on line 94 Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/nav-menus.php on line 95 Warning: Attempt to read property "before" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 273 Warning: Attempt to read property "link_before" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 275 Warning: Attempt to read property "link_after" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 275 Warning: Attempt to read property "after" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 277 Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/social-nav.php on line 14 Warning: Attempt to read property "walker" on array in /xxxxx/wp-content/themes/snow-monkey/vendor/inc2734/wp-basis/src/App/Walker/Drawer.php on line 50 array(29) { ["depth"]=> int(0) ["show_date"]=> string(0) "" ["date_format"]=> string(12) "Y年n月j日" ["child_of"]=> int(0) ["exclude"]=> string(0) "" ["title_li"]=> string(0) "" ["echo"]=> bool(false) ["authors"]=> string(0) "" ["sort_column"]=> string(22) "menu_order, post_title" ["link_before"]=> string(0) "" ["link_after"]=> string(0) "" ["item_spacing"]=> string(8) "preserve" ["walker"]=> object(Inc2734\WP_Basis\App\Walker\Drawer)#7735 (4) { ["tree_type"]=> array(3) { [0]=> string(9) "post_type" [1]=> string(8) "taxonomy" [2]=> string(6) "custom" } ["db_fields"]=> array(2) { ["parent"]=> string(16) "menu_item_parent" ["id"]=> string(5) "db_id" } ["max_pages"]=> int(1) ["has_children"]=> bool(false) } ["menu_id"]=> string(0) "" ["menu_class"]=> string(14) "c-drawer__menu" ["container"]=> bool(false) ["before"]=> string(0) "" ["after"]=> string(0) "" ["menu"]=> bool(false) ["container_class"]=> string(0) "" ["container_id"]=> string(0) "" ["container_aria_label"]=> string(0) "" ["fallback_cb"]=> string(12) "wp_page_menu" ["items_wrap"]=> string(36) "%3$s " ["theme_location"]=> string(10) "drawer-nav" ["can_partial_refresh"]=> bool(false) ["customize_preview_nav_menus_args"]=> array(20) { ["after"]=> string(0) "" ["before"]=> string(0) "" ["can_partial_refresh"]=> bool(false) ["container"]=> bool(false) ["container_aria_label"]=> string(0) "" ["container_class"]=> string(0) "" ["container_id"]=> string(0) "" ["depth"]=> int(0) ["echo"]=> bool(true) ["fallback_cb"]=> string(0) "" ["item_spacing"]=> string(8) "preserve" ["items_wrap"]=> string(36) "%3$s " ["link_after"]=> string(0) "" ["link_before"]=> string(0) "" ["menu"]=> string(0) "" ["menu_class"]=> string(14) "c-drawer__menu" ["menu_id"]=> string(0) "" ["theme_location"]=> string(10) "drawer-nav" ["walker"]=> string(0) "" ["args_hmac"]=> string(32) "54c8ab4f77ba3e81f32f771847977bf2" } ["hierarchical"]=> int(0) ["has_children"]=> bool(false) } Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/nav-menus.php on line 94 Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/nav-menus.php on line 95 Warning: Attempt to read property "before" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 273 Warning: Attempt to read property "link_before" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 275 Warning: Attempt to read property "link_after" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 275 Warning: Attempt to read property "after" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 277 Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/social-nav.php on line 14 Warning: Attempt to read property "walker" on array in /xxxxx/wp-content/themes/snow-monkey/vendor/inc2734/wp-basis/src/App/Walker/Drawer.php on line 50 array(29) { ["depth"]=> int(0) ["show_date"]=> string(0) "" ["date_format"]=> string(12) "Y年n月j日" ["child_of"]=> int(0) ["exclude"]=> string(0) "" ["title_li"]=> string(0) "" ["echo"]=> bool(false) ["authors"]=> string(0) "" ["sort_column"]=> string(22) "menu_order, post_title" ["link_before"]=> string(0) "" ["link_after"]=> string(0) "" ["item_spacing"]=> string(8) "preserve" ["walker"]=> object(Inc2734\WP_Basis\App\Walker\Drawer)#7735 (4) { ["tree_type"]=> array(3) { [0]=> string(9) "post_type" [1]=> string(8) "taxonomy" [2]=> string(6) "custom" } ["db_fields"]=> array(2) { ["parent"]=> string(16) "menu_item_parent" ["id"]=> string(5) "db_id" } ["max_pages"]=> int(1) ["has_children"]=> bool(false) } ["menu_id"]=> string(0) "" ["menu_class"]=> string(14) "c-drawer__menu" ["container"]=> bool(false) ["before"]=> string(0) "" ["after"]=> string(0) "" ["menu"]=> bool(false) ["container_class"]=> string(0) "" ["container_id"]=> string(0) "" ["container_aria_label"]=> string(0) "" ["fallback_cb"]=> string(12) "wp_page_menu" ["items_wrap"]=> string(36) "%3$s " ["theme_location"]=> string(10) "drawer-nav" ["can_partial_refresh"]=> bool(false) ["customize_preview_nav_menus_args"]=> array(20) { ["after"]=> string(0) "" ["before"]=> string(0) "" ["can_partial_refresh"]=> bool(false) ["container"]=> bool(false) ["container_aria_label"]=> string(0) "" ["container_class"]=> string(0) "" ["container_id"]=> string(0) "" ["depth"]=> int(0) ["echo"]=> bool(true) ["fallback_cb"]=> string(0) "" ["item_spacing"]=> string(8) "preserve" ["items_wrap"]=> string(36) "%3$s " ["link_after"]=> string(0) "" ["link_before"]=> string(0) "" ["menu"]=> string(0) "" ["menu_class"]=> string(14) "c-drawer__menu" ["menu_id"]=> string(0) "" ["theme_location"]=> string(10) "drawer-nav" ["walker"]=> string(0) "" ["args_hmac"]=> string(32) "54c8ab4f77ba3e81f32f771847977bf2" } ["hierarchical"]=> int(0) ["has_children"]=> bool(false) } Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/nav-menus.php on line 94 Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/nav-menus.php on line 95 Warning: Attempt to read property "before" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 273 Warning: Attempt to read property "link_before" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 275 Warning: Attempt to read property "link_after" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 275 Warning: Attempt to read property "after" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 277 Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/social-nav.php on line 14 Warning: Attempt to read property "walker" on array in /xxxxx/wp-content/themes/snow-monkey/vendor/inc2734/wp-basis/src/App/Walker/Drawer.php on line 50 array(29) { ["depth"]=> int(0) ["show_date"]=> string(0) "" ["date_format"]=> string(12) "Y年n月j日" ["child_of"]=> int(0) ["exclude"]=> string(0) "" ["title_li"]=> string(0) "" ["echo"]=> bool(false) ["authors"]=> string(0) "" ["sort_column"]=> string(22) "menu_order, post_title" ["link_before"]=> string(0) "" ["link_after"]=> string(0) "" ["item_spacing"]=> string(8) "preserve" ["walker"]=> object(Inc2734\WP_Basis\App\Walker\Drawer)#7735 (4) { ["tree_type"]=> array(3) { [0]=> string(9) "post_type" [1]=> string(8) "taxonomy" [2]=> string(6) "custom" } ["db_fields"]=> array(2) { ["parent"]=> string(16) "menu_item_parent" ["id"]=> string(5) "db_id" } ["max_pages"]=> int(1) ["has_children"]=> bool(false) } ["menu_id"]=> string(0) "" ["menu_class"]=> string(14) "c-drawer__menu" ["container"]=> bool(false) ["before"]=> string(0) "" ["after"]=> string(0) "" ["menu"]=> bool(false) ["container_class"]=> string(0) "" ["container_id"]=> string(0) "" ["container_aria_label"]=> string(0) "" ["fallback_cb"]=> string(12) "wp_page_menu" ["items_wrap"]=> string(36) "%3$s " ["theme_location"]=> string(10) "drawer-nav" ["can_partial_refresh"]=> bool(false) ["customize_preview_nav_menus_args"]=> array(20) { ["after"]=> string(0) "" ["before"]=> string(0) "" ["can_partial_refresh"]=> bool(false) ["container"]=> bool(false) ["container_aria_label"]=> string(0) "" ["container_class"]=> string(0) "" ["container_id"]=> string(0) "" ["depth"]=> int(0) ["echo"]=> bool(true) ["fallback_cb"]=> string(0) "" ["item_spacing"]=> string(8) "preserve" ["items_wrap"]=> string(36) "%3$s " ["link_after"]=> string(0) "" ["link_before"]=> string(0) "" ["menu"]=> string(0) "" ["menu_class"]=> string(14) "c-drawer__menu" ["menu_id"]=> string(0) "" ["theme_location"]=> string(10) "drawer-nav" ["walker"]=> string(0) "" ["args_hmac"]=> string(32) "54c8ab4f77ba3e81f32f771847977bf2" } ["hierarchical"]=> int(0) ["has_children"]=> bool(false) } Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/nav-menus.php on line 94 Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/nav-menus.php on line 95 Warning: Attempt to read property "before" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 273 Warning: Attempt to read property "link_before" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 275 Warning: Attempt to read property "link_after" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 275 Warning: Attempt to read property "after" on array in /xxxxx/wp-includes/class-walker-nav-menu.php on line 277 Warning: Attempt to read property "theme_location" on array in /xxxxx/wp-content/themes/snow-monkey/app/setup/social-nav.php on line 14
よろしくお願いします。
♥ 0いいねをした人: 居ません・グローバルメニュー
object(stdClass)#5944 (18) { ["menu"]=> object(WP_Term)#5937 (11) { ["term_id"]=> int(23) ["name"]=> string(27) "グローバルメニュー" ["slug"]=> string(81) "%e3%82%b0%e3%83%ad%e3%83%bc%e3%83%90%e3%83%ab%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(23) ["taxonomy"]=> string(8) "nav_menu" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(4) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } ["container"]=> bool(false) ["container_class"]=> string(0) "" ["container_id"]=> string(0) "" ["container_aria_label"]=> string(0) "" ["menu_class"]=> string(8) "c-navbar" ["menu_id"]=> string(0) "" ["echo"]=> bool(true) ["fallback_cb"]=> string(12) "wp_page_menu" ["before"]=> string(0) "" ["after"]=> string(0) "" ["link_before"]=> string(0) "" ["link_after"]=> string(0) "" ["items_wrap"]=> string(36) "%3$s " ["item_spacing"]=> string(8) "preserve" ["depth"]=> int(0) ["walker"]=> object(Inc2734\WP_Basis\App\Walker\Navbar)#5960 (5) { ["tree_type"]=> array(3) { [0]=> string(9) "post_type" [1]=> string(8) "taxonomy" [2]=> string(6) "custom" } ["db_fields"]=> array(2) { ["parent"]=> string(16) "menu_item_parent" ["id"]=> string(5) "db_id" } ["max_pages"]=> int(1) ["has_children"]=> bool(false) ["args"]=> array(1) { ["popup-mode"]=> string(5) "hover" } } ["theme_location"]=> string(10) "global-nav" } object(stdClass)#5944 (18) { ["menu"]=> object(WP_Term)#5937 (11) { ["term_id"]=> int(23) ["name"]=> string(27) "グローバルメニュー" ["slug"]=> string(81) "%e3%82%b0%e3%83%ad%e3%83%bc%e3%83%90%e3%83%ab%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(23) ["taxonomy"]=> string(8) "nav_menu" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(4) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } ["container"]=> bool(false) ["container_class"]=> string(0) "" ["container_id"]=> string(0) "" ["container_aria_label"]=> string(0) "" ["menu_class"]=> string(8) "c-navbar" ["menu_id"]=> string(0) "" ["echo"]=> bool(true) ["fallback_cb"]=> string(12) "wp_page_menu" ["before"]=> string(0) "" ["after"]=> string(0) "" ["link_before"]=> string(0) "" ["link_after"]=> string(0) "" ["items_wrap"]=> string(36) "%3$s " ["item_spacing"]=> string(8) "preserve" ["depth"]=> int(0) ["walker"]=> object(Inc2734\WP_Basis\App\Walker\Navbar)#5960 (5) { ["tree_type"]=> array(3) { [0]=> string(9) "post_type" [1]=> string(8) "taxonomy" [2]=> string(6) "custom" } ["db_fields"]=> array(2) { ["parent"]=> string(16) "menu_item_parent" ["id"]=> string(5) "db_id" } ["max_pages"]=> int(1) ["has_children"]=> bool(false) ["args"]=> array(1) { ["popup-mode"]=> string(5) "hover" } } ["theme_location"]=> string(10) "global-nav" } object(stdClass)#5944 (18) { ["menu"]=> object(WP_Term)#5937 (11) { ["term_id"]=> int(23) ["name"]=> string(27) "グローバルメニュー" ["slug"]=> string(81) "%e3%82%b0%e3%83%ad%e3%83%bc%e3%83%90%e3%83%ab%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(23) ["taxonomy"]=> string(8) "nav_menu" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(4) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } ["container"]=> bool(false) ["container_class"]=> string(0) "" ["container_id"]=> string(0) "" ["container_aria_label"]=> string(0) "" ["menu_class"]=> string(8) "c-navbar" ["menu_id"]=> string(0) "" ["echo"]=> bool(true) ["fallback_cb"]=> string(12) "wp_page_menu" ["before"]=> string(0) "" ["after"]=> string(0) "" ["link_before"]=> string(0) "" ["link_after"]=> string(0) "" ["items_wrap"]=> string(36) "%3$s " ["item_spacing"]=> string(8) "preserve" ["depth"]=> int(0) ["walker"]=> object(Inc2734\WP_Basis\App\Walker\Navbar)#5960 (5) { ["tree_type"]=> array(3) { [0]=> string(9) "post_type" [1]=> string(8) "taxonomy" [2]=> string(6) "custom" } ["db_fields"]=> array(2) { ["parent"]=> string(16) "menu_item_parent" ["id"]=> string(5) "db_id" } ["max_pages"]=> int(1) ["has_children"]=> bool(false) ["args"]=> array(1) { ["popup-mode"]=> string(5) "hover" } } ["theme_location"]=> string(10) "global-nav" } object(stdClass)#5944 (18) { ["menu"]=> object(WP_Term)#5937 (11) { ["term_id"]=> int(23) ["name"]=> string(27) "グローバルメニュー" ["slug"]=> string(81) "%e3%82%b0%e3%83%ad%e3%83%bc%e3%83%90%e3%83%ab%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(23) ["taxonomy"]=> string(8) "nav_menu" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(4) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } ["container"]=> bool(false) ["container_class"]=> string(0) "" ["container_id"]=> string(0) "" ["container_aria_label"]=> string(0) "" ["menu_class"]=> string(8) "c-navbar" ["menu_id"]=> string(0) "" ["echo"]=> bool(true) ["fallback_cb"]=> string(12) "wp_page_menu" ["before"]=> string(0) "" ["after"]=> string(0) "" ["link_before"]=> string(0) "" ["link_after"]=> string(0) "" ["items_wrap"]=> string(36) "%3$s " ["item_spacing"]=> string(8) "preserve" ["depth"]=> int(0) ["walker"]=> object(Inc2734\WP_Basis\App\Walker\Navbar)#5960 (5) { ["tree_type"]=> array(3) { [0]=> string(9) "post_type" [1]=> string(8) "taxonomy" [2]=> string(6) "custom" } ["db_fields"]=> array(2) { ["parent"]=> string(16) "menu_item_parent" ["id"]=> string(5) "db_id" } ["max_pages"]=> int(1) ["has_children"]=> bool(false) ["args"]=> array(1) { ["popup-mode"]=> string(5) "hover" } } ["theme_location"]=> string(10) "global-nav" }
・フッターメニュー
object(stdClass)#5941 (18) { ["menu"]=> object(WP_Term)#5992 (11) { ["term_id"]=> int(25) ["name"]=> string(12) "フッター" ["slug"]=> string(36) "%e3%83%95%e3%83%83%e3%82%bf%e3%83%bc" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(25) ["taxonomy"]=> string(8) "nav_menu" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(1) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } ["container"]=> string(3) "div" ["container_class"]=> string(11) "c-container" ["container_id"]=> string(0) "" ["container_aria_label"]=> string(0) "" ["menu_class"]=> string(8) "c-navbar" ["menu_id"]=> string(0) "" ["echo"]=> bool(true) ["fallback_cb"]=> string(12) "wp_page_menu" ["before"]=> string(0) "" ["after"]=> string(0) "" ["link_before"]=> string(0) "" ["link_after"]=> string(0) "" ["items_wrap"]=> string(36) "%3$s " ["item_spacing"]=> string(8) "preserve" ["depth"]=> int(1) ["walker"]=> object(Inc2734\WP_Basis\App\Walker\Navbar)#6035 (5) { ["tree_type"]=> array(3) { [0]=> string(9) "post_type" [1]=> string(8) "taxonomy" [2]=> string(6) "custom" } ["db_fields"]=> array(2) { ["parent"]=> string(16) "menu_item_parent" ["id"]=> string(5) "db_id" } ["max_pages"]=> int(1) ["has_children"]=> bool(false) ["args"]=> array(1) { ["popup-mode"]=> string(5) "hover" } } ["theme_location"]=> string(14) "footer-sub-nav" }
♥ 0いいねをした人: 居ません追記cssやmy-snow-monkeyのfunction.phpで色々追記していますが、
それぞれ消去しても変わらないので直接関係はしていないと思います。
またsnow-monkey/app/setup/nav-menus.php のご指摘の部分を変更しましたところ、ログイン下においてのみ、グローバルメニューやフッターメニューの部分に以下のようなコードが出てきました。
当方の勘違いなどあれば申し訳ございません。
よろしくお願いいたします。
♥ 0いいねをした人: 居ませんすみません、今見たところまた直っているようです。
とりあえず何かの原因でエラーになったりならなかったりするみたいです。
またご返答いただけますと幸いです。
♥ 0いいねをした人: 居ません -
投稿者投稿