On some pages of my website I get this:
[2012-01-23 16:21:37] (ERROR @ [COREDIRECTORY]/cache/includes/elements/modsnippet/31.include.cache.php : 94)
PHP warning: array_merge() [function.array-merge]: Argument #2 is not an array
Any idea what this might be?
Thanks.
-
☆ A M B ☆
- 24,524 Posts
Which version of MODx is this?
-
MODX Staff
- 10,725 Posts
And what Snippet has id 31 in your site?
Version: 2.2.0-pl2(traditional)
Snippet: getPage
From line 87:
else {
$pageNav = getpage_buildControls($modx, $properties);
$properties[$properties['pageNavVar']] = $modx->newObject('modChunk')->process(array_merge($properties, $pageNav), $properties['pageNavOuterTpl']);
if ($properties['page'] > 1) {
$qs[$properties['pageVarKey']] = $properties['page'];
}
}
- Argument #2 is not an array: $pageNav?
[ed. note: kariocecus last edited this post 14 years, 9 months ago.]
Hello,
Could anyone help me with this please.
Thank you.