ErrorException

HTTP 500 Whoops, looks like something went wrong.

file_put_contents(): Only -1 of 38106 bytes written, possibly out of free disk space

Exception

ErrorException

  1.      * @param bool $lock
  2.      * @return int
  3.      */
  4.     public function put(string $path$contents$lock false)
  5.     {
  6.         return file_put_contents($path$contents$lock LOCK_EX 0);
  7.     }
  8.     /**
  9.      * Write the contents of a file, replacing it atomically if it already exists.
  10.      * @param string $path
  1.         //ini_set('error_log' , '/home/solomono/web/solomono.net/sites/dev/php.log');
  2.         error_reporting(E_ALL);
  3.         set_error_handler(function ($level$message$file ''$line 0) {
  4.             $this->handleError($level$message$file$line);
  5.         });
  6.         set_exception_handler(function ($e) {
  7.             $this->handleException($e);
  8.         });
HandleExceptions->Bootstrap\{closure}()
  1.      * @param bool $lock
  2.      * @return int
  3.      */
  4.     public function put(string $path$contents$lock false)
  5.     {
  6.         return file_put_contents($path$contents$lock LOCK_EX 0);
  7.     }
  8.     /**
  9.      * Write the contents of a file, replacing it atomically if it already exists.
  10.      * @param string $path
  1.         $this->ensureCacheDirectoryExists($path $this->path($key));
  2.         $result $this->files->put(
  3.             $path,
  4.             $this->expiration($seconds) . serialize($value),
  5.             true
  6.         );
  7.         if ($result !== false && $result 0) {
  8.             $this->ensureFileHasCorrectPermissions($path);
  1.         if ($seconds <= 0) {
  2.             return $this->forget($key);
  3.         }
  4.         $result $this->store->put($this->itemKey($key), $value$seconds);
  5.         if ($result) {
  6.             event(new CacheWritten($key$value$seconds));
  7.         }
  1.         // given number of seconds so it's available for all subsequent requests.
  2.         if (!is_null($value)) {
  3.             return $value;
  4.         }
  5.         $this->put($key$value $callback(), $ttl);
  6.         return $value;
  7.     }
  8.     /**
  1.         try {
  2.             if ($isCacheEnabled) {
  3.                 return self::getRepository()
  4.                     ->remember(
  5.                         $key,
  6.                         $ttl,
  7.                         $closure
  8.                     );
  9.             } else {
  10.                 return $closure();
  1.         md5($cleared_listing_sql) . '_' __METHOD__,
  2.         fn() => array_column(
  3.             tep_db_query($cleared_listing_sql)->fetch_all(MYSQLI_ASSOC),
  4.             'products_id'
  5.         )
  6.     );
  7. }
  8. /**
  9.  * get count of comments
  10.  */
tep_get_all_pids_price_exclude() in /mnt/test_sites/sites_new/motofix.com.ua/index.php (line 398)
  1.                 $listing_sql .= " order by p.products_quantity > 0 desc, s.products_id desc";
  2.                 break;
  3.         }
  4.         $listing_sql_raw $listing_sql;
  5.         // split query to 2 small queries: 1) find all products ids, 2) get info for each product
  6.         $pids_price_filter_excluded tep_get_all_pids_price_exclude($listing_sql$price_filter_statement);
  7.         $pids_filter_excluded tep_get_all_pids_price_exclude($listing_sqlstr_replace($price_filter_statement''$where_filters));
  8.         $pids_filter_excluded $pids_filter_excluded ?: [0];
  9.         $where_attr = !empty($manFilter) ? str_replace($manFilter''$where_filters) : $where_filters;
  10.         $pids_filter_attr_axcluded tep_get_all_pids_price_exclude($listing_sqlstr_replace($price_filter_statement''$where_attr));

Stack Trace

ErrorException
ErrorException:
file_put_contents(): Only -1 of 38106 bytes written, possibly out of free disk space

  at /mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Filesystem/Filesystem.php:140
  at Bootstrap\HandleExceptions->handleError()
     (/mnt/test_sites/sites_new/motofix.com.ua/bootstrap/HandleExceptions.php:32)
  at Bootstrap\HandleExceptions->Bootstrap\{closure}()
  at file_put_contents()
     (/mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Filesystem/Filesystem.php:140)
  at App\Classes\Filesystem\Filesystem->put()
     (/mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Cache/Store/FileStore.php:64)
  at App\Classes\Cache\Store\FileStore->put()
     (/mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Cache/Repository.php:169)
  at App\Classes\Cache\Repository->put()
     (/mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Cache/Repository.php:328)
  at App\Classes\Cache\Repository->remember()
     (/mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Cache/Helpers/FileCacheHelper.php:185)
  at App\Classes\Cache\Helpers\FileCacheHelper::remember()
     (/mnt/test_sites/sites_new/motofix.com.ua/includes/functions/general.php:102)
  at tep_get_all_pids_price_exclude()
     (/mnt/test_sites/sites_new/motofix.com.ua/index.php:398)