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

Use of minimal template produces parse error #187

Closed
@esszett

Description

@esszett

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions