I have never seen this error before.
Have you recently upgraded to MODx 1.0.2 or is this a clean install?
Try replacing all QM+ files from default MODx package in case there is a corrupted file.
it’s new install/ reinstalled twice then
qm files replaced many times
no + effect
What is your PHP and MySQL versions?
If you dont mind look for anything you need
marinca.ru
------------------------
test
111111111
i have exactly the same code already in qm plugin
have a look
<code>
$show = TRUE;
if ($disabled != ’’) {
$arr = explode(",", $disabled );
if (in_array($modx->documentIdentifier, $arr)) {
$show = FALSE;
}
}
if ($show) {
include_once($modx->config[’base_path’].’assets/plugins/qm/qm.inc.php’);
$qm = new Qm($modx, $jqpath, $loadmanagerjq, $loadfrontendjq, $noconflictjq, $loadtb, $tbwidth, $tbheight, $hidefields, $hidetabs, $hidesections, $addbutton, $tpltype, $tplid, $custombutton, $managerbutton, $logout, $disabled);
}
<code>
Actually, there is a difference in your code and the code above: look at the end of $qm = newQM() and yours has $disabled added, which is likely causing the error you originally posted. Remove that and see what happens.
yea you are right
but again no result
I’ve just changed the code.
still have
--------------Quick Manager+ - Plugin - System Events
Error
Event Id: 1 Source: Quick Manager+ - Plugin
Date: 09-12-2009 03:07:15 User: daniel
Undefined variable: custombutton
nt document $sql= "SELECT id FROM {$table} WHERE document = {$docID} AND document_group IN ({$docGroup})"; $result= $this->modx->db->query($sql); $rowCount = $this->modx->recordCount($result); if ($rowCount >= 1) $access = TRUE; } else $access = FALSE; } else $access = TRUE; } return $access; } } } ?>
Your PHP configuration seems to be very picky about empty values.
To narrow down the problem try adding something (for example -) to custom button parameter (again from Elements > Plugins > QuickManager+).