Fatal error: Uncaught TypeError: ksort(): Argument #1 ($array) must be of type array, int given in /home/afworld/public_html/core/components/wayfinder/wayfinder.class.php:121
Stack trace:
#0 /home/afworld/public_html/core/components/wayfinder/wayfinder.class.php(121): ksort(1)
#1 /home/afworld/public_html/core/cache/includes/elements/modx/revolution/modsnippet/9.include.cache.php(77): Wayfinder->run()
#2 /home/afworld/public_html/core/src/Revolution/modScript.php(88): include('/home/afworld/p...')
#3 /home/afworld/public_html/core/src/Revolution/modParser.php(508): MODX\Revolution\modScript->process(NULL)
#4 /home/afworld/public_html/core/src/Revolution/modParser.php(221): MODX\Revolution\modParser->processTag(Array, true)
#5 /home/afworld/public_html/core/src/Revolution/modResource.php(520): MODX\Revolution\modParser->processElementTags('', '<!DOCTYPE HTML ...', true, false, '[[', ']]', Array, 9)
#6 /home/afworld/public_html/core/src/Revolution/modResource.php(468): MODX\Revolution\modResource->parseContent()
#7 /home/afworld/public_html/core/src/Revolution/modResponse.php(72): MODX\Revolution\modResource->prepare()
#8 /home/afworld/public_html/core/src/Revolution/modRequest.php(154): MODX\Revolution\modResponse->outputContent(Array)
#9 /home/afworld/public_html/core/src/Revolution/modRequest.php(138): MODX\Revolution\modRequest->prepareResponse()
#10 /home/afworld/public_html/core/src/Revolution/modX.php(1509): MODX\Revolution\modRequest->handleRequest()
#11 /home/afworld/public_html/index.php(63): MODX\Revolution\modX->handleRequest()
#12 {main}
thrown in /home/afworld/public_html/core/components/wayfinder/wayfinder.class.php on line 121