Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Use of minimal template produces parse error #187

Closed
esszett opened this issue Feb 24, 2014 · 0 comments
Closed

Use of minimal template produces parse error #187

esszett opened this issue Feb 24, 2014 · 0 comments
Labels

Comments

@esszett
Copy link
Contributor

esszett commented Feb 24, 2014

Viewing a ressource in frontend with use of minimal template gives parse error.
(No error with same ressource and use of MODxHost tpl).

Warning: array_merge(): Argument #2 is not an array in /Users/.../Sites/modx1013rc3/www/manager/includes/document.parser.class.inc.php on line 1433
« MODX Parse Error »
MODX encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error : array_merge(): Argument #2 is not an array
ErrorType[num] : WARNING[2]
File : /Users/.../Sites/modx1013rc3/www/manager/includes/document.parser.class.inc.php
Line : 1433
Source : $documentObject= array_merge($documentObject, $tmplvars);
Basic info
REQUEST_URI : http://local.modx1013rc3/minimal-base.html
Resource : [1]
Referer : http://local.modx1013rc3/manager/index.php
User Agent : Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0
IP : 127.0.0.1
Benchmarks
MySQL : 0,0022 s (4 Requests)
PHP : 0,0039 s
Total : 0,0061 s
Memory : 0,93710708618164 mb

Backtrace
1 DocumentParser->executeParser()
index.php on line 144
2 DocumentParser->prepareResponse()
manager/includes/document.parser.class.inc.php on line 1597
3 DocumentParser->getDocumentObject()
manager/includes/document.parser.class.inc.php on line 1618
4 array_merge()
manager/includes/document.parser.class.inc.php on line 1433

Jako added a commit that referenced this issue Feb 24, 2014
@Jako Jako added the bug label Feb 24, 2014
@Jako Jako closed this as completed Feb 24, 2014
Deesen pushed a commit to Deesen/evolution that referenced this issue Aug 30, 2017
Deesen pushed a commit to Deesen/evolution that referenced this issue Sep 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants