Notice: Undefined index: dataArray in /html/website/yn-content/templateEngine.php on line 13

Notice: Undefined index: templates in /html/website/yn-content/templateEngine.php on line 14

Fatal error: Uncaught TypeError: Argument 1 passed to Twig\Loader\ArrayLoader::__construct() must be of the type array, null given, called in /html/website/yn-content/templateEngine.php on line 19 and defined in /html/website/vendor/twig/twig/src/Loader/ArrayLoader.php:36 Stack trace: #0 /html/website/yn-content/templateEngine.php(19): Twig\Loader\ArrayLoader->__construct(NULL) #1 /html/website/yn-content/data.php(116): yn\templateEngine->renderTemplate() #2 /html/website/index.php(135): yn\data->getData() #3 {main} thrown in /html/website/vendor/twig/twig/src/Loader/ArrayLoader.php on line 36