Cronjob error
After starting the cronjob i get warnings every minute:
PHP Notice: Undefined variable: mixedArg in /domain.tld/httpdocs/inc/classes/BxDolDb.php on line 1054
PHP Notice: Undefined variable: mixedArg in /domain.tld/httpdocs/inc/classes/BxDolDb.php on line 1054
PHP Notice: Undefined variable: mixedArg in /domain.tld/httpdocs/inc/classes/BxDolDb.php on line 1054
PHP Notice: Undefined variable: mixedArg in /domain.tld/httpdocs/inc/classes/BxDolDb.php on line 1054
PHP Notice: Undefined variable: mixedArg in /domain.tld/httpdocs/inc/classes/BxDolDb.php on line 1054
There are also E-Mails with no content every minute.
What can be the problem?
regards
-
-
·
LeonidS
- ·
Hello Holger Schrag !
Please specify - did you modify your files? The BxDolDb.php in the v.9.0 package and in Github doesn't have something like this on the mentioned line. May you please shows us this code fragment here (from 1040 till 1070)?
-
·
LeonidS
-
- · hollosch
-
·
In reply to LeonidS
- ·
Hi here are the lines:
self::$_rLink->setAttribute(PDO::ATTR_ERRMODE, $this->_iPdoErrorMode);
return empty($aResult) ? true : $aResult;
}
protected function executeStatement($oStatement, $aBindings = array(), $bVerbose = null)
{
$bResult = false;
if (!isset($aBindings[0])) {
foreach($aBindings as $sKey => $mixedValue) {
if(is_null($mixedValue))
$oStatement->bindValue(":{$sKey}", $mixedValue, PDO::PARAM_NULL);
else if(is_numeric($mixedArg) && is_int($mixedArg))
$oStatement->bindValue(":{$sKey}", $mixedValue, PDO::PARAM_INT);
else
$oStatement->bindValue(":{$sKey}", $mixedValue, PDO::PARAM_STR);
}
$aBindings = array();
}
switch (self::$_rLink->getAttribute(PDO::ATTR_ERRMODE)) {
case PDO::ERRMODE_SILENT:
$bResult = $this->executeStatementSilent($oStatement, $aBindings, $bVerbose);
break;
case PDO::ERRMODE_EXCEPTION:
$bResult = $this->executeStatementException($oStatement, $aBindings, $bVerbose);
break;
}
-
- · hollosch
-
·
In reply to LeonidS
- ·
I don't modify the files.
-
-
-
·
LeonidS
-
·
In reply to hollosch
- ·
Hello hollosch !
It looks like you have an old inc/classes/BxDolDb.php file. You need to replace it with from the actual UNA v9.0 or from our GitHub https://github.com/unaio/una/blob/master/inc/classes/BxDolDb.php
-
·
LeonidS
-
-
-
·
LeonidS
-
·
In reply to hollosch
- ·
What shows your Studio->Dashboard->Server audit mailtest link? For now, it looks like the email template was changed incorrectly.
-
·
LeonidS
-
-
-
·
LeonidS
-
·
In reply to hollosch
- ·
Please provide me your UNA's operator and Control Panel accesses via Messenger here.
-
·
LeonidS