Hello, I upgraded from PHP 5.3 to PHP 7.2, and doing so caused FileLister to stop working. In fact, it seems that any upgrade past PHP 5.3 will break the add-on. For example, this code:
[[FileLister? &path=`assets/images/`]]
...gives me an HTTP 500 error. In the PHP error log, I see this:
PHP Fatal error: Uncaught Error: Call to undefined function mcrypt_module_open() in /home/****/****/core/components/filelister/model/filelister/filelister.class.php:183
Stack trace:
#0 /home/****/****/core/components/filelister/model/filelister/filelister.class.php(155): FileLister->_encrypt('****.png')
#1 /home/****/****/core/cache/includes/elements/modsnippet/4.include.cache.php(158): FileLister->makeKey('****.png')
#2 /home/****/****/core/model/modx/modscript.class.php(70): include('/home/****/...')
#3 /home/****/****/core/model/modx/modparser.class.php(536): modScript->process(NULL)
#4 /home/****/****/core/model/modx/modparser.class.php(250): modParser->processTag(Array, false)
#5 /home/****/****/core/model/modx/modparser.class.php(1158): modParser->processElementTags('[[*content]]', '[[FileLister? &...', false, false, '[[', ']]', Array, 9)
#6 /home/****/****/core/model/modx/modparser.class.php(512): m in /home/****/****/core/components/filelister/model/filelister/filelister.class.php on line 183
I notice the add-on has not been updated in quite some time. Is there an alternative or way to fix this?
Thanks!