-
- 49 Posts
The problem has two parts:
1. XPDO seems to generate an error on every page load - "Redefining already defined constructor for class xPDOCriteria"
2. The description stored in the log record is enormous. One record has 10,000+ chars - it seems to store the HTML output of the page that tripped the error. You can imagine how quickly this adds up.
So, any way to either turn off error reporting, filter the types of errors loggged, or have the log table max out at 50 or so records?
XPDO 1.0 from SVN as of 8 Nov, Modx 1.0.2, PHP 5, MySQL 5.1, Apache 2.2
Do not run xPDO with E_STRICT error_reporting, unless you want to use the new branches/2.0 version which is E_STRICT compliant (and PHP 5 only).
Can you tell me the source, type and event id for these logged messages? If E_STRICT is not enabled, I’m not sure why they would be getting logged.
Use xPDO 2.0 branch or someone will need to fix error reporting in Evo; it seems to be logging E_STRICT regardless of the setting.
-
- 49 Posts
Jason, is XPDO 2.0 recommended for use in a production scenario? If not, do you have a rough timeframe? I shall log the bug with Evo regardless.
-
- 2,877 Posts
To turn of System events tracking
document.parser.class.inc.php
Line 29
@ ini_set("track_errors", "0");