Hi, I get this message in the error log:
ERROR @ .../modx/core/cache/includes/elements/modx/revolution/modsnippet/10.include.cache.php : 209) PHP warning: Undefined variable $showLog
My quick & dirty fix in Snippets -> pdoTools -> pdoPage (set the var $showLog):
/** @var bool $showLog */
$showLog ='';
if ($modx->user->isAuthenticated('mgr') && (bool)$showLog) {
$modx->setPlaceholder('pdoPageLog', print_r($paginator->pdoTools->getTime(), true));
}
Maybe you can fix that in the next update?
- MODX 3.0.1-pl installation on Linux Server
- PHP: 8.1.11
- mySQL: 8.0.30
- pdoTools 3.0.1-pl
Tks Jo
Hi, I get this message in the error log:
ERROR @ .../modx/core/cache/includes/elements/modx/revolution/modsnippet/10.include.cache.php : 209) PHP warning: Undefined variable $showLogMy quick & dirty fix in
Snippets -> pdoTools -> pdoPage(set the var $showLog):Maybe you can fix that in the next update?
Tks Jo