Warning (2) : Undefined array key 0 [in /home/xs713684/wellx.net/cakephp-5-1-5/src/Model/Table/ArticleCategoriesTable.php, line 118]
Warning (2) : Attempt to read property "id" on null [in /home/xs713684/wellx.net/cakephp-5-1-5/src/Model/Table/ArticleCategoriesTable.php, line 118]
Warning (512) : Unable to emit headers. Headers sent in file=/home/xs713684/wellx.net/cakephp-5-1-5/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /home/xs713684/wellx.net/cakephp-5-1-5/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/xs713684/wellx.net/cakephp-5-1-5/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /home/xs713684/wellx.net/cakephp-5-1-5/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 159]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/xs713684/wellx.net/cakephp-5-1-5/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /home/xs713684/wellx.net/cakephp-5-1-5/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 192]
Error: 記事が見つかりません

記事が見つかりません 📋

Cake\Http\Exception\NotFoundException
APP/Controller/ArticlesController.php at line 133 (edit)
            if (empty($arrArticles)) {
                throw new NotFoundException(__('記事が見つかりません'));
            }
            if ($article_category_id != $arrArticles['article_category_id']) {
                throw new NotFoundException(__('記事が見つかりません'));
            }
            $arrDatas['Articles'] = $arrArticles;
            $this->set('arrDatas'$arrDatas);
            $this->set('arrArticleCategories'$arrArticleCategories);

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