teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

エラーの詳細を記載しました。

2018/09/26 05:51

投稿

SAORI.A
SAORI.A

スコア10

title CHANGED
File without changes
body CHANGED
@@ -9,8 +9,10 @@
9
9
  ここからがよくわからないのですが、しばらくするとアクセスできなくなりエラーメッセージが下記の通り
10
10
  出るようになりました。
11
11
 
12
- など)/public_html/wp-content/themes/graphy/functions.php on line 399
12
+ Warning: require(/home/ユーザー名)/(ドメ名)/public_html/wp-content/themes//inc/template-tags.php): failed to open stream: No such file or directory in /home(ユーザー名)/(ドメイン名)/public_html/wp-content/themes/graphy/functions.php on line 399
13
13
 
14
+ Fatal error: require(): Failed opening required '/home/(ユーザー名)/(ドメイン名)/public_html/wp-content/themes//inc/template-tags.php' (include_path='/home(ユーザー名)/(ドメイン名)/public_html/wp-content/plugins/backwpup/vendor/pear/archive_tar:/home/(ユーザー名)/(ドメイン名)/public_html/wp-content/plugins/backwpup/vendor/pear/console_getopt:/home/(ユーザー名)/(ドメイン名)/public_html/wp-content/plugins/backwpup/vendor/pear/http_request2:/home/(ユーザー名)/(ドメイン名)/public_html/wp-content/plugins/backwpup/vendor/pear/mail_mime:/home/(ユーザー名)/(ドメイン名)/public_html/wp-content/plugins/backwpup/vendor/pear/mail_mime-decode:/home/(ユーザー名)/(ドメイン名)/public_html/wp-content/plugins/backwpup/vendor/pear/net_url2:/home/(ユーザー名)/(ドメイン名)/public_html/wp-content/plugins/backwpup/vendor/pear/pear-core-minimal/src:/home/(ユーザー名)/(ドメイン名)/public_html/wp-content/plugins/backwpup/vendor/pear/pear_exception:.:/opt/php-7.0.30/data/pear') in /home/(ユーザー名)/(ドメイン名)/public_html/wp-content/themes/graphy/functions.php on line 399
15
+
14
16
  functions.phpの399行目がエラーというのはわかるのですが、確認すると下記の通りの記述があります。
15
17
  require get_template_directory() . '/inc/template-tags.php';
16
18
 

1

微修正しました。

2018/09/26 05:51

投稿

SAORI.A
SAORI.A

スコア10

title CHANGED
File without changes
body CHANGED
@@ -16,5 +16,5 @@
16
16
 
17
17
  template-tags.php の読み込みができていないということになるのでしょうか。
18
18
 
19
- 上記2つのPHPをはじめ、基本は構築時からいじっていないのですが、何がいけないのか、
19
+ 上記2つのPHPをはじめ、基本はwordpressから投稿する以外は特にいじっていないのですが、
20
- どこを更に確認しないといけないのか助言頂きたく、よろしくお願いします。
20
+ 何がいけないのか、どこを更に確認しないといけないのか助言頂きたく、よろしくお願いします。