Warning (2) : foreach() argument must be of type array|object, null given [in /home/jd5466/domains/judosthyacinthe.com/public_html/src/Controller/AppController.php, line 479]
Warning (512) : Unable to emit headers. Headers sent in file=/home/jd5466/domains/judosthyacinthe.com/public_html/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /home/jd5466/domains/judosthyacinthe.com/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/jd5466/domains/judosthyacinthe.com/public_html/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /home/jd5466/domains/judosthyacinthe.com/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 159]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/jd5466/domains/judosthyacinthe.com/public_html/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /home/jd5466/domains/judosthyacinthe.com/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 192]
Error: Cake\View\Helper\HtmlHelper::link(): Argument #1 ($title) must be of type array|string, null given, called in /home/jd5466/domains/judosthyacinthe.com/public_html/templates/element/public/nav.php on line 21

Cake\View\Helper\HtmlHelper::link(): Argument #1 ($title) must be of type array|string, null given, called in /home/jd5466/domains/judosthyacinthe.com/public_html/templates/element/public/nav.php on line 21 📋

TypeError
Error in: CORE/src/View/Helper/HtmlHelper.php, line 263
CORE/src/View/Helper/HtmlHelper.php at line 263 (edit)
     * @param array<string, mixed> $options Array of options and HTML attributes.
     * @return string An `<a>` element.
     * @link https://book.cakephp.org/5/en/views/helpers/html.html#creating-links
     */
    public function link(array|string $title, array|string|null $url = null, array $options = []): string
    {
        $escapeTitle = true;
        if ($url !== null) {
            $url = $this->Url->build($url, $options);

If you want to customize this error message, create templates/Error/error500.php