Hello,
When trying to get a product image URL using getImageURL(), I get the following error:
Code:
Notice: Use of undefined constant LC_USE_CLEAN_URLS - assumed 'LC_USE_CLEAN_URLS' in /<SNIP>/var/run/classes/XLite/Core/ConverterAbstract.php on line 263
Here's the bit of code generating the issue:
Code:
$testproduct = \XLite\Core\Database::getRepo('XLite\Model\Product')->findOneBy(array('sku' => 'TESTSKU'));
$imageurl = $testproduct->getImageURL();
$testproduct->getURL() produces the same error, but using getCleanURL() fixes it. Turning Clean URL's on or off doesn't seem to matter...
Any ideas on how to correct the getImageURL() error?
Thank you!