VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: ssc3 on February 27, 2023, 12:04:31 PM

Title: Missing constant LOGFILEEXT in vmpsplugin.php
Post by: ssc3 on February 27, 2023, 12:04:31 PM
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';
Title: Re: Missing constant LOGFILEEXT in vmpsplugin.php
Post by: Milbo on March 01, 2023, 19:21:47 PM
Thank you, readded.