Notice (1024) : Undefined property: ErrorController::$logined in /var/www/html/raja/site/src/Controller/AppController.php on line 337 [in /var/www/html/raja/site/vendor/cakephp/cakephp/src/Controller/Controller.php, line 329]
Notice (1024) : Undefined property: ErrorController::$Carts in /var/www/html/raja/site/src/Controller/AppController.php on line 344 [in /var/www/html/raja/site/vendor/cakephp/cakephp/src/Controller/Controller.php, line 329]
Warning (512) : Unable to emit headers. Headers sent in file=/var/www/html/raja/site/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=36 [in /var/www/html/raja/site/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71]
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/raja/site/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in /var/www/html/raja/site/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 164]
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/raja/site/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in /var/www/html/raja/site/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/raja/site/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in /var/www/html/raja/site/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Error: Record not found in table "products"

Record not found in table "products" 📋

Cake\Datasource\Exception\RecordNotFoundException
Toggle Vendor Stack Frames
            $this->set(compact('all','best','check','product','delivery_date','related','reviews','totalReviews','avgReview','recently_viewed'));
        }
        
        public function productReview($slug null) {
            $product $this->Products->find()->where(['slug' => $slug])->disableHydration()->firstOrFail();
            if($this->review_enable == 1){
                if($this->review_type ==1){
                    //site wide
                    $reviews $this->Reviews->find()->where(['status' => 1])->order(['id' => 'desc']);

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