ErrorException

HTTP 500 Whoops, looks like something went wrong.

file_put_contents(/mnt/test_sites/sites_new/wellcraft.com.ua/storage/cache/all_sql_products_ids/all_sql_products_ids$_70569dc7f5da988d5ef480e6ac426349): failed to open stream: No such file or directory

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.      * @param mixed $value
  2.      * @return bool
  3.      */
  4.     public function forever($key$value): bool
  5.     {
  6.         return $this->put($key$value0);
  7.     }
  8.     /**
  9.      * Remove an item from the cache.
  10.      * @param string $key
  1.      * @param mixed $value
  2.      * @return bool
  3.      */
  4.     public function forever($key$value)
  5.     {
  6.         $result $this->store->forever($this->itemKey($key), $value);
  7.         if ($result) {
  8.             event(new CacheWritten($key$value));
  9.         }
  1.         if (is_array($key)) {
  2.             return $this->putMany($key$value);
  3.         }
  4.         if ($ttl === null) {
  5.             return $this->forever($key$value);
  6.         }
  7.         $seconds $this->getSeconds($ttl);
  8.         if ($seconds <= 0) {
  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.         FileCacheHelper::ALL_SQL_PRODUCTS_IDS_KEY '_' md5($listing_sql),
  2.         fn() => array_column(
  3.             tep_db_query($listing_sql)->fetch_all(MYSQLI_ASSOC),
  4.             'products_id'
  5.         ),
  6.         null
  7.     );
  8. }
  9. function tep_get_all_pids_price_exclude($listing_sql$excluded_statement)
  10. {
  1. function tep_get_all_pids_price_exclude($listing_sql$excluded_statement)
  2. {
  3.     $cleared_listing_sql str_replace($excluded_statement''$listing_sql);
  4.     return tep_get_all_sql_products_ids($cleared_listing_sql);
  5. }
  6. function tep_get_query_products_info($listing_sql$limit 10)
  7. {
  8.     global $languages_id$customer_price$listing_add_fields$spec_array$all_pids;
tep_get_all_pids_price_exclude() in /mnt/test_sites/sites_new/wellcraft.com.ua/index.php (line 335)
  1.         //products ids for filters
  2. // Ensure $where_filters is defined
  3.         $where_filters $where_filters ?? ''// Provide a default value if undefined
  4. // Safely use str_replace
  5.         $pids_filter_excluded tep_get_all_pids_price_exclude($listing_sqlstr_replace($price_filter_statement''$where_filters)) ?: [0];
  6.         //products ids for attributes
  7.         $where_attr = !empty($manFilter) ? str_replace($manFilter''$where_filters) : $where_filters;
  8.         $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(/mnt/test_sites/sites_new/wellcraft.com.ua/storage/cache/all_sql_products_ids/all_sql_products_ids$_70569dc7f5da988d5ef480e6ac426349): failed to open stream: No such file or directory

  at /home/solomono/web/solomono.net/sites/demo/app/Classes/Filesystem/Filesystem.php:140
  at Bootstrap\HandleExceptions->handleError()
     (/home/solomono/web/solomono.net/sites/demo/bootstrap/HandleExceptions.php:32)
  at Bootstrap\HandleExceptions->Bootstrap\{closure}()
  at file_put_contents()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Filesystem/Filesystem.php:140)
  at App\Classes\Filesystem\Filesystem->put()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Store/FileStore.php:64)
  at App\Classes\Cache\Store\FileStore->put()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Store/FileStore.php:131)
  at App\Classes\Cache\Store\FileStore->forever()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Repository.php:301)
  at App\Classes\Cache\Repository->forever()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Repository.php:160)
  at App\Classes\Cache\Repository->put()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Repository.php:328)
  at App\Classes\Cache\Repository->remember()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Helpers/FileCacheHelper.php:186)
  at App\Classes\Cache\Helpers\FileCacheHelper::remember()
     (/home/solomono/web/solomono.net/sites/demo/includes/functions/general.php:70)
  at tep_get_all_sql_products_ids()
     (/home/solomono/web/solomono.net/sites/demo/includes/functions/general.php:78)
  at tep_get_all_pids_price_exclude()
     (/mnt/test_sites/sites_new/wellcraft.com.ua/index.php:335)                
Solomono Template demo - Страница 4

Страница 4

На страницу:
Сортировка:
В наличии

2.642 грн

:
:
:
В наличии

2.707 грн

:
:
:
:
В наличии

2.709 грн

:
:
:
:
В наличии

2.761 грн

:
:
:
В наличии

2.953 грн

:
:
В наличии

3.068 грн

:
:
:
:
В наличии

3.083 грн

:
:
,
:
В наличии

3.290 грн

:
:
В наличии

4.193 грн

:
:
:
:
В наличии

5.215 грн

:
:
:
:
В наличии

6.758 грн

:
:
В наличии

8.164 грн

:
:
:
В наличии

8.833 грн

:
В наличии

11.577 грн

:
:
Нет в наличии
Нет в наличии

127 грн

:
,
Нет в наличии
Нет в наличии

224 грн

:
:
:
Нет в наличии
Нет в наличии

269 грн

Нет в наличии
Нет в наличии

311 грн

:
:
:
:
Нет в наличии
Нет в наличии

389 грн

:
:
:
:
Нет в наличии
Нет в наличии

431 грн

:
:
:
: