Fatal error: Call to undefined function hasDiscount() in /var/www/html/plugins/system/sourcerer/helper.php(645) : runtime-created function on line 7