質問編集履歴

2

エラーコードの貼り付けなどをしました

2019/04/02 06:19

投稿

MasakiYoshida
MasakiYoshida

スコア10

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- google adsを導入しようとplug inでhead footer and post injectionsを導入しadsコードを貼り付けました。またホームページでテーマ編集を行い、headの下に同様にadsコードを貼り付けました。
5
+ google adsを導入しようとplug inでhead footer and post injectionsを導入しadsコードを貼り付けました。またホームページでテーマ編集を行い、listingproのheader.phpで<head>の下に同様にadsコードを貼り付けました。
6
6
 
7
7
 
8
8
 
@@ -274,6 +274,12 @@
274
274
 
275
275
  ### 補足情報(FW/ツールのバージョンなど)
276
276
 
277
+ エラーコードです(この2つがfatal eroorだと)
278
+
279
+ [02-Apr-2019 05:55:11 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 27588472 bytes) in /home3/livetho2/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify/HTML.php on line 123
280
+
281
+ [02-Apr-2019 05:55:11 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
282
+
277
283
 
278
284
 
279
285
  ここにより詳細な情報を記載してください。

1

ソースを全文貼りました

2019/04/02 06:19

投稿

MasakiYoshida
MasakiYoshida

スコア10

test CHANGED
File without changes
test CHANGED
@@ -84,7 +84,183 @@
84
84
 
85
85
  <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE" />
86
86
 
87
+
88
+
89
+ <?php listingpro_favicon();
90
+
91
+ $listing_detail_slider_style = lp_theme_option('lp_detail_slider_styles');
92
+
87
- ```
93
+ ?>
94
+
95
+ <?php wp_head(); ?>
96
+
97
+ </head>
98
+
99
+ <body <?php body_class(); lp_header_data_atts('body'); ?>>
100
+
101
+
102
+
103
+ <?php
104
+
105
+
106
+
107
+ $listing_styledata = '';
108
+
109
+ $topBannerView = lp_theme_option('top_banner_styles');
110
+
111
+ $lp_detail_page_styles = lp_theme_option('lp_detail_page_styles');
112
+
113
+ $search_alignment = lp_theme_option('search_alignment');
114
+
115
+
116
+
117
+ // New
118
+
119
+ $addclass_banner_upper_cat = '';
120
+
121
+ $differentcats_views = lp_theme_option('categories_different_styles');
122
+
123
+ $bannercat_category_inside = lp_theme_option('categories_different_styles_category_inside');
124
+
125
+
126
+
127
+ $alignClass = '';
128
+
129
+ switch($topBannerView){
130
+
131
+ case 'map_view':
132
+
133
+ switch($search_alignment){
134
+
135
+ case 'align_top':
136
+
137
+ $alignClass = 'lp-align-top';
138
+
139
+ break;
140
+
141
+ case 'align_middle':
142
+
143
+ $alignClass = 'lp-align-underBanner';
144
+
145
+ break;
146
+
147
+ case 'align_bottom':
148
+
149
+ $alignClass = 'lp-align-bottom';
150
+
151
+ break;
152
+
153
+ }
154
+
155
+ break;
156
+
157
+ }
158
+
159
+
160
+
161
+ //-------------Start New view style banner add class------------------//
162
+
163
+ $class_cat_banner_view = '';
164
+
165
+ if($topBannerView=="banner_view_search_bottom" && $differentcats_views == 'category_view2'){
166
+
167
+ $class_cat_banner_view = 'banner-category-mix-view2';
168
+
169
+ }
170
+
171
+
172
+
173
+ if($topBannerView == 'banner_view_category_upper'){
174
+
175
+ // banner_view_category_upper
176
+
177
+ $addclass_banner_upper_cat = '';
178
+
179
+ if($topBannerView =='banner_view_category_upper' && $bannercat_category_inside == 'category_view'){
180
+
181
+ $addclass_banner_upper_cat = 'banner-view-cat-tranparent-category';
182
+
183
+ }elseif($topBannerView =='banner_view_category_upper' && $bannercat_category_inside == 'category_view1'){
184
+
185
+ $addclass_banner_upper_cat = 'banner-view-cat-tranparent-category';
186
+
187
+ }elseif($topBannerView =='banner_view_category_upper' && $bannercat_category_inside == 'category_view2'){
188
+
189
+ $addclass_banner_upper_cat = 'banner-view-cat-tranparent-category';
190
+
191
+ }elseif($topBannerView =='banner_view_category_upper' && $bannercat_category_inside == 'category_view3'){
192
+
193
+ $addclass_banner_upper_cat = 'banner-view-cat-tranparent-category';
194
+
195
+ }
196
+
197
+ }
198
+
199
+
200
+
201
+ $newbannerstyleClass = '';
202
+
203
+ if($topBannerView == 'banner_view_search_bottom'){
204
+
205
+ $newbannerstyleClass = 'new-banner-view-category';
206
+
207
+ }elseif($topBannerView == 'banner_view_search_inside'){
208
+
209
+ $newbannerstyleClass = 'new-banner-view-category';
210
+
211
+ }
212
+
213
+ $maintxtstyleClass = '';
214
+
215
+ if(empty($main_txt)){
216
+
217
+ $maintxtstyleClass = 'new-banner-view-category-st';
218
+
219
+ }
220
+
221
+ //-------------End New view style banner add class------------------//
222
+
223
+ ?>
224
+
225
+
226
+
227
+ <div id="page" class="clearfix <?php echo $lp_detail_page_styles; ?>" <?php echo esc_attr($listing_styledata); lp_header_data_atts('page'); ?>">
228
+
229
+
230
+
231
+ <!--===========================header-views========================-->
232
+
233
+ <?php get_template_part( 'templates/headers/header-views' ); ?>
234
+
235
+ <?php
236
+
237
+ if (is_front_page() && $topBannerView != 'banner_view2' ) { ?>
238
+
239
+ <div class="home-categories-area <?php echo esc_attr($alignClass); ?>
240
+
241
+ <?php echo esc_attr($newbannerstyleClass); ?>
242
+
243
+ <?php echo esc_attr($maintxtstyleClass); ?>
244
+
245
+ <?php echo esc_attr($class_cat_banner_view); ?>
246
+
247
+ <?php echo esc_attr($addclass_banner_upper_cat);?>">
248
+
249
+ <?php echo listingpro_banner_categories(); ?>
250
+
251
+ </div>
252
+
253
+ <?php
254
+
255
+ }
256
+
257
+ ?>
258
+
259
+ <?php
260
+
261
+ }
262
+
263
+ ?>
88
264
 
89
265
 
90
266