Warning (2) : Undefined array key "HTTP_ACCEPT_LANGUAGE" [in /var/www/vhosts/girasolepietre.it/httpdocs/src/Controller/AppController.php, line 159]
Warning (512) : Unable to emit headers. Headers sent in file=/var/www/vhosts/girasolepietre.it/httpdocs/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /var/www/vhosts/girasolepietre.it/httpdocs/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71]
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/vhosts/girasolepietre.it/httpdocs/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/vhosts/girasolepietre.it/httpdocs/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 164]
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/vhosts/girasolepietre.it/httpdocs/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/vhosts/girasolepietre.it/httpdocs/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Error: syntax error, unexpected token "=>", expecting ")"

syntax error, unexpected token "=>", expecting ")" 📋

ParseError
Error in: ROOT/templates/element/lot-view-slab-row.php, line 60

Could this be caused by using Auto-Tables?

Some of the Table objects in your application were created by instantiating "Cake\ORM\Table" instead of any other specific subclass.

This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:


Please try correcting the issue for the following table aliases:


ROOT/templates/element/lot-view-slab-row.php at line 60 (edit)
                'attribute' => 'data-add-quote'
            ]); 
        } else {
            
            $offers $offersTable->find()->where('client_id' => $loggedClient['id'])->all();
            dd($offers);
            echo $this->Form->control('offer_id', ['label' => 'Aggiungi a''type' => 'select''options' => ['Crea nuova offerta''Rocca Nicola - 15/05/2024']]);
            echo $this->element("button", [
                'link' => $this->Frontend->url('/offers/addSlab/' $slab->id),

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