Skip to content

array_merge() warning coming from OnDocFormSave case #34

@hugopeek

Description

@hugopeek

I gave it a quick spin in MODX 3, but I can't get it to work. Tried it with all the system events and just OnSiteRefresh + OnSiteRefresh. The statcache folder is present in root.

No files are generated and no errors are logged, except for 1:

[2022-03-16 05:21:43] (ERROR @ /home/hugo/Localhost/pagbagsak/core/src/Revolution/modContext.php : 162) PHP warning: array_merge(): Expected parameter 1 to be an array, null given

This error disappears when disabling the StatCache plugin.

MODX 3.0.0-rc2
PHP 7.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions