Having updated to PHP 7.2, Archivist now loads a blank page from the [[+url]] in the navigation link Tpl chunk called by [[!Archivist?]] , so for example, the archive link to URL.com - MediaOptions shows a blank page, with a ‘HTTP ERROR 500’
The error log shows
/home/p/public_html/core/cache/includes/elements/modsnippet/1.include.cache.php : 142) PHP warning: count(): Parameter must be an array or an object that implements Countable
We see this stack trace:
mod_fcgid: stderr: #0 /home/p/public_html/core/model/modx/modscript.class.php(70): include()
mod_fcgid: stderr: #1 /home/p/public_html/core/cache/includes/elements/modsnippet/4.include.cache.php(61): modScript->process(NULL)
mod_fcgid: stderr: #2 /home/p/public_html/core/model/modx/modscript.class.php(70): include(‘/home/p/publi…’),
mod_fcgid: stderr: #3 /home/p/public_html/core/model/modx/modparser.class.php(536): modScript->process(Array)
mod_fcgid: stderr: #4 /home/p/public_html/core/model/modx/modparser.class.php(250): modParser->processTag(Array, true),
mod_fcgid: stderr: #5 /home/p/public_html/core/model/modx/modresponse.class.php(69): modParser->processElementTags(‘’, ‘…’, true, false, ‘[[’, ‘]]’, Array, 9)
mod_fcgid: stderr: #6 /home/p/public_html/core/model/modx/modrequest.class.php(137): modResponse->outputContent(Array),
mod_fcgid: stderr: #7 /home/p/public_html/core/model/modx/modx.class.php(1144): modRequest->prepareResponse(),
mod_fcgid: stderr: #8 /home/p/public_html/core/cac in /home/p/public_html/core/cache/includes/elements/modsnippet/2.include.cache.php on line 60
Tried this fix, but no joy:
Apache - PHP 7.2 Modx 2.7.1