Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes issue #8 by providing a default 'where' value
There's been an issue with PHP7 (or MODX 2.5.7 - not totally sure which) where the user must add a &where=`[]` to the getArchives call to avoid a server 500 error. This update provides that default if no setting has been passed from the snippet call.
- Loading branch information
a3103a4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit has been mentioned on Community. There might be relevant details there:
https://community.modx.com/t/archivist-landing-page-blank/1420/1