This error:
Invalid EE Conditional Variable
Filename: libraries/Functions.php
Line Number: 2761
occurs when I have this code in a BrilliantRetail template:
{items}
<tr>
<td class="product_info">
{!--
Only show the product image for publications or JM fund
--}
{if "{sku}" != "CE_FEE" AND
(preg_match('/^NOTE/', "{sku}") OR
preg_match('/^PUB/', "{sku}") OR
preg_match('/^EPUB/', "{sku}") OR
preg_match('/^JMMRF/', "{sku}")
)
}
<img src="/media/{image_thumb}" title="{title}" alt="{title}" width="100">
{/if}
<h5><a href="{exp:brilliant_retail:path src='product/{url_title}'}">{title}</a></h5>
{options}
</td>
<td class="align_center">{price_html}</td>
<td class="align_center"><input name="qty[{hash}]" class="input_tiny" type="text" value="{quantity}" /></td>
<td class="align_center">{subtotal}</td>
<td><a href="{remove_link}">
<img src="/images/icons/trash.png" alt="Remove" title="Remove Item" /></a>
</td>
</tr>
{/items}
This only began happening when I upgraded to 2.7.2. Worked perfectly with 2.5.2.
What should I check?