質問編集履歴
1
エラー発生場所と試したこと、参考サイトを追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
```
|
18
18
|
|
19
|
-
Trying to get property of non-object in /var/www/vhosts/i-0458469920e7982e9/wp-content/themes/dazzling/header.php
|
19
|
+
Trying to get property of non-object in /var/www/vhosts/i-0458469920e7982e9/wp-content/themes/dazzling/header.php 75
|
20
20
|
|
21
21
|
```
|
22
22
|
|
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
<div id="content" class="site-content container">
|
30
30
|
|
31
|
-
|
31
|
+
Error発生場所 -> <div class="container main-content-area"><?php
|
32
32
|
|
33
33
|
global $post;
|
34
34
|
|
@@ -62,9 +62,21 @@
|
|
62
62
|
|
63
63
|
###試したこと
|
64
64
|
|
65
|
-
一般的に2ページが表示されないときに試すような解決策は一通り全て試しました。
|
65
|
+
一般的に2ページが表示されないときに試すような解決策(pageをpagedにする、Adminで最大表示記事数を1にしてソースで表示数をコントロールする、function.phpにコードを加えるなど)は一通り全て試しました。
|
66
66
|
|
67
|
+
|
68
|
+
|
67
|
-
|
69
|
+
こちらが参考サイトにしたサイトです。
|
70
|
+
|
71
|
+
http://blog.yukarien.com/tech/how-to-fix-no-category-pagination/#1URLhttppaged
|
72
|
+
|
73
|
+
http://www.wp-tech.net/wordpress_tips/3177/
|
74
|
+
|
75
|
+
http://miraikogeisya.com/archives/373/
|
76
|
+
|
77
|
+
https://wp-types.com/forums/topic/help-to-get-wp-pagenavi-working-for-page-2-onwards/
|
78
|
+
|
79
|
+
https://teamtreehouse.com/community/wordpress-pagination-gives-404-unless-i-set-blog-pages-show-at-most-to-1-in-reading
|
68
80
|
|
69
81
|
|
70
82
|
|