Fatal error: Uncaught Twig\Error\RuntimeError: The sort filter only works with arrays or "Traversable", got "NULL". in C:\xampp\htdocs\web\templates\diputadostv.html.twig:49 Stack trace: #0 C:\xampp\htdocs\web\cache\b1\b17e0be691ec2c0fec1663d25683c5134310eaf048eab5e73295454ec4eecfc4.php(123): twig_sort_filter(NULL, Object(Closure)) #1 C:\xampp\htdocs\web\vendor\twig\twig\src\Template.php(173): __TwigTemplate_f73c223a49c51c8046f2a70e07c438457a5f6c73afe0dc9055fbe9419ecacc88->block_contenido(Array, Array) #2 C:\xampp\htdocs\web\cache\fa\fa91d812a57b275e1262fb6ed653e21d283a062a67d087555aebbb60b23112a8.php(264): Twig\Template->displayBlock('contenido', Array, Array) #3 C:\xampp\htdocs\web\vendor\twig\twig\src\Template.php(396): __TwigTemplate_9015a6ee4458e0c4079d7bffb91aaa79d7c6e7f7b8f2ea59f1865069ce2850e5->doDisplay(Array, Array) #4 C:\xampp\htdocs\web\vendor\twig\twig\src\Template.php(369): Twig\Template->displayWithErrorHandling(Array, Array) #5 C:\xampp\htdocs\web\cache\b1\b17e0be691ec2c0fec1663d25683c5134310eaf048eab5e732 in C:\xampp\htdocs\web\templates\diputadostv.html.twig on line 49