-
Notifications
You must be signed in to change notification settings - Fork 94
Bug with getDocumentChildren() and getAllChildren() in version 3.1.10 #2089
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The Backtrace:
|
Replacing the function getDocumentChildren() with the version from v2.0.4 removes the bug! Function can can be found in file The previous function works without problems:
The new function from 3.1.10 does not work. |
The same problem and fix with getAllChildren(). Version from EVO2:
The previous version works. |
Will there be a fix? So that those normal queries will work with EVO CMS 3.10+ again?
|
I used the updater and got version 3.1.10. How to tell the updater it should use the community edition? When will it be fixed? With 3.1.11? |
When I use this query:
$children = $modx->getDocumentChildren($docid, 1, 0, 'id, pagetitle, description, alias, parent', '', 'pagetitle', 'ASC');
I get the error:
But the column
pagetitle
is in the database!It seems that there is a whitespace before the '_pagetitle'.
What I did before: I copied one EvoCMS instance to a new server. The old server processes the query fine, the new server crashes with the error message.
Same error with:
$childrendocs = $modx->getDocumentChildren($parentid, 1, 0, 'id, pagetitle, description, alias, parent, content', '', 'alias + 0', 'ASC');
I also updated to EVO CMS 3.1.10. Could this be the problem?
The text was updated successfully, but these errors were encountered: