Extension

Archived
Forum
(read-only)

BW Category Count

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Wouter Vervloet

     

Error when using the tag twice in the same template

Bug Report

Mikey P
Mikey P

Howdy!

I love this plugin, but I just ran into a nasty error and was hoping you could help me out. The below code returns a parse error “Parse error: syntax error, unexpected T_STRING in /webroot/system/expressionengine/libraries/Functions.php(659) : eval()‘d code on line 33”

{if {category_count show_group='2'0}
          
<strong>Type:</strong
          
{categories backspace="2" show_group="2"}<a href="{path='recipes'}" title="{category_name}">{category_name}</a>, {/categories}
          
<br/>
          
{/if}

          {if {category_count show_group
='3'0}
          
<strong>Occasions:</strong
          
{categories backspace="2" show_group="3"}<a href="{path='recipes'}" title="{category_name}">{category_name}</a>, {/categories}
          
<br /> 
Davor
# 1
Davor

+1 Hope it will be fixed soon