Hi,
Please edit the file "components/com_hikamarket/controllers/vendor.php" and replace
if($vendor != null && !hikamarket::acl('vendor_edit'))
By
if(!empty($vendor) && !hikamarket::acl('vendor_edit'))
f you will have the problem, please use the code
if(!empty($vendor) && !hikamarket::acl('vendor_edit')) {
var_dump($vendor);
exit;
return hikamarket::deny('vendor', JText::sprintf('HIKAM_ACTION_DENY', JText::_('HIKAM_ACT_VENDOR_EDIT')));
}
It will display the debug of the vendor instead of redirect you.
Regarding the code, you can get the message only when the user have a vendor assigned so we have to know what data is return by the function loadVendor in your case.
Regards,