Notice: file_put_contents() [function.file-put-contents]: Write of 3898 bytes failed with errno=28 No space left on device in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Notice (8) : SplFileObject::fwrite(): Write of 3153 bytes failed with errno=28 No space left on device [in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 140]

Notice: file_put_contents() [function.file-put-contents]: Write of 4343 bytes failed with errno=28 No space left on device in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Notice (8) : SplFileObject::fwrite() [<a href='https://secure.php.net/splfileobject.fwrite'>splfileobject.fwrite</a>]: Write of 2876 bytes failed with errno=28 No space left on device [in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 140]

Notice: file_put_contents() [function.file-put-contents]: Write of 4253 bytes failed with errno=28 No space left on device in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Notice (8) : SplFileObject::fwrite() [<a href='https://secure.php.net/splfileobject.fwrite'>splfileobject.fwrite</a>]: Write of 2802 bytes failed with errno=28 No space left on device [in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 140]

Notice: file_put_contents() [function.file-put-contents]: Write of 4216 bytes failed with errno=28 No space left on device in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Notice (8) : SplFileObject::fwrite() [<a href='https://secure.php.net/splfileobject.fwrite'>splfileobject.fwrite</a>]: Write of 7862 bytes failed with errno=28 No space left on device [in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 140]

Notice: file_put_contents() [function.file-put-contents]: Write of 4216 bytes failed with errno=28 No space left on device in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Notice (8) : SplFileObject::fwrite() [<a href='https://secure.php.net/splfileobject.fwrite'>splfileobject.fwrite</a>]: Write of 1386 bytes failed with errno=28 No space left on device [in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 140]

Notice: file_put_contents() [function.file-put-contents]: Write of 4359 bytes failed with errno=28 No space left on device in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Notice (8) : SplFileObject::fwrite() [<a href='https://secure.php.net/splfileobject.fwrite'>splfileobject.fwrite</a>]: Write of 3919 bytes failed with errno=28 No space left on device [in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 140]

Notice: file_put_contents() [function.file-put-contents]: Write of 1970 bytes failed with errno=28 No space left on device in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Warning (2) : Constant PAGE_URL already defined [in /home/nhgeelvk/main_default/src/Controller/AppController.php, line 160]

Notice: file_put_contents() [function.file-put-contents]: Write of 1976 bytes failed with errno=28 No space left on device in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Warning (2) : Constant PAGE_RECORD_ID already defined [in /home/nhgeelvk/main_default/src/Controller/AppController.php, line 161]

Notice: file_put_contents() [function.file-put-contents]: Write of 1973 bytes failed with errno=28 No space left on device in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Warning (2) : Constant PAGE_TAG_ID already defined [in /home/nhgeelvk/main_default/src/Controller/AppController.php, line 162]

Notice: file_put_contents() [function.file-put-contents]: Write of 1978 bytes failed with errno=28 No space left on device in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Warning (2) : Constant PAGE_CATEGORY_ID already defined [in /home/nhgeelvk/main_default/src/Controller/AppController.php, line 163]

Notice: file_put_contents() [function.file-put-contents]: Write of 1975 bytes failed with errno=28 No space left on device in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Warning (2) : Constant PAGE_BRAND_ID already defined [in /home/nhgeelvk/main_default/src/Controller/AppController.php, line 164]

Notice: file_put_contents() [function.file-put-contents]: Write of 1980 bytes failed with errno=28 No space left on device in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Warning (2) : Constant PAGE_CATEGORIES_ID already defined [in /home/nhgeelvk/main_default/src/Controller/AppController.php, line 165]

Notice: file_put_contents() [function.file-put-contents]: Write of 1971 bytes failed with errno=28 No space left on device in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Warning (2) : Constant PAGE_TYPE already defined [in /home/nhgeelvk/main_default/src/Controller/AppController.php, line 166]

Notice: file_put_contents() [function.file-put-contents]: Write of 1971 bytes failed with errno=28 No space left on device in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Warning (2) : Constant PAGE_CODE already defined [in /home/nhgeelvk/main_default/src/Controller/AppController.php, line 167]

Notice: file_put_contents() [function.file-put-contents]: Write of 1974 bytes failed with errno=28 No space left on device in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Warning (2) : Constant PAGE_VERSION already defined [in /home/nhgeelvk/main_default/src/Controller/AppController.php, line 168]

Notice: file_put_contents() [function.file-put-contents]: Write of 555 bytes failed with errno=28 No space left on device in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Warning (512) : Unable to emit headers. Headers sent in file=/home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=36 [in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71]

Notice: file_put_contents() [function.file-put-contents]: Write of 745 bytes failed with errno=28 No space left on device in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 168]

Notice: file_put_contents() [function.file-put-contents]: Write of 742 bytes failed with errno=28 No space left on device in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Error: Could not start the session, headers already sent in file `CORE/src/Error/Renderer/HtmlErrorRenderer.php` on line `36`

Could not start the session, headers already sent in file CORE/src/Error/Renderer/HtmlErrorRenderer.php on line 36 📋

Cake\Core\Exception\CakeException
Toggle Vendor Stack Frames
            $products_viewed $session->read('PRODUCTS_VIEWED');
            if (empty($products_viewed)) $products_viewed = [];            
            if (in_array($page_record_id$products_viewed)) return;
            array_push($products_viewed$page_record_id);
            $session->write('PRODUCTS_VIEWED'$products_viewed);
            $table TableRegistry::get('Products');
            $get_view $table->find()->where(['id' => $page_record_id])->select(['view'])->first();
            $view = !empty($get_view['view']) ? intval($get_view['view']) : 0;

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:

  • The class for the specified table does not exist.
  • The Table was created with a typo: $this->getTableLocator()->get('Articles');
  • The class file has a typo in the name or incorrect namespace: class Articles extends Table
  • The file containing the class has a typo or incorrect casing: Articles.php
  • The Table was used using associations but the association has a typo: $this->belongsTo('Articles')
  • The table class resides in a Plugin but no plugin notation was used in the association definition.

Please try correcting the issue for the following table aliases:

  • Publishing.TemplatesPageContent

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