News:

Support the VirtueMart project and become a member

Main Menu

Missing constant LOGFILEEXT in vmpsplugin.php

Started by ssc3, February 27, 2023, 12:04:31 PM

Previous topic - Next topic

ssc3

Missing constant LOGFILEEXT in vmpsplugin.php

Effects logging of errors in the function sendEmailToVendorAndAdmins

if ($message == NULL)
{
$message = vmText::sprintf('COM_VIRTUEMART_ERROR_BODY', $subject, $this->getLogFilename().VmConfig::LOGFILEEXT);
}


previously defined in VmConfig as

const LOGFILEEXT = '.log.php';
Virtuemart Payment Plugins
https://plugins.online-store.co.uk

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/