-
AuthorPosts
-
October 29, 2012 at 5:50 pm #181798
Hi! i have an issue with my template when i enter the tag section. The page display some code lines, this is keeping me very worried.
Please help!
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
October 30, 2012 at 8:02 am #471444October 30, 2012 at 5:54 pm #471477I doesnt work, y put
if ($extra_fields){
above_code;
}right under the code, put error still is showing..
what can i do?
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
October 31, 2012 at 4:59 am #471528Not under, but change these lines
foreach ($extra_fields as $key=>$extraField) {
if ($extraField->name == $xclass_key) {
$xclass = $extraField->value;
break;
}
}into
if ($extra_fields){
foreach ($extra_fields as $key=>$extraField) {
if ($extraField->name == $xclass_key) {
$xclass = $extraField->value;
break;
}
}
}Or else, another way, setting not to show error in front end by go to back-end >> Site >> Global Configuration >> Tab Server >> Set Error Reporting to None.
1 user says Thank You to Luna Garden for this useful post
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 2 voices, and was last updated by Luna Garden 12 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Error with tag page
Viewing 4 posts - 1 through 4 (of 4 total)