Notice: file_put_contents() [function.file-put-contents]: Write of 1823 bytes failed with errno=28 No space left on device in /var/www/projects/KPC/hotel-lechowitz/public_html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Notice (8) : file_put_contents() [<a href='https://secure.php.net/function.file-put-contents'>function.file-put-contents</a>]: Write of 6534 bytes failed with errno=28 No space left on device [in /var/www/projects/KPC/hotel-lechowitz/public_html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line 140]

Notice: file_put_contents() [function.file-put-contents]: Write of 1823 bytes failed with errno=28 No space left on device in /var/www/projects/KPC/hotel-lechowitz/public_html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140

Notice: file_put_contents() [function.file-put-contents]: Write of 589 bytes failed with errno=28 No space left on device in /var/www/projects/KPC/hotel-lechowitz/public_html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Warning (512) : Unable to emit headers. Headers sent in file=/var/www/projects/KPC/hotel-lechowitz/public_html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php line=140 [in /var/www/projects/KPC/hotel-lechowitz/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71]

Notice: file_put_contents() [function.file-put-contents]: Write of 801 bytes failed with errno=28 No space left on device in /var/www/projects/KPC/hotel-lechowitz/public_html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/projects/KPC/hotel-lechowitz/public_html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:140) [in /var/www/projects/KPC/hotel-lechowitz/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 168]

Notice: file_put_contents() [function.file-put-contents]: Write of 798 bytes failed with errno=28 No space left on device in /var/www/projects/KPC/hotel-lechowitz/public_html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 140
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/projects/KPC/hotel-lechowitz/public_html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:140) [in /var/www/projects/KPC/hotel-lechowitz/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Error: SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-2ca-d3d32e-424.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")

SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-2ca-d3d32e-424.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") 📋

Cake\Database\Exception\DatabaseException
Toggle Vendor Stack Frames
        }
        try {
            $statement $this->_connection->execute($sql$params);
        } catch (PDOException $e) {
            throw new DatabaseException($e->getMessage(), 500$e);
        }
        /** @psalm-suppress PossiblyFalseIterator */
        foreach ($statement->fetchAll('assoc') as $row) {
            $this->_dialect->{$convertMethod}($schema$row);

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:

  • I18n
  • Pages_name_translation
  • Pages_slug_translation

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