KMH1204
В наличии
1.999 грн
Особливості: фіксуючі розтяжки
Країна-виробник: Китай
Розміри: 43x14x86 см
Розмір профілю: 50x22 мм
Вага: 2.86 кг
Особливості
фіксуючі розтяжки
Країна-виробник
Китай
Розміри
43x14x86 см
Розмір профілю
50x22 мм
Вага
2.86 кг
Висота до платформи
78 см
Висота у складеному стані
0.78 м
Кількість секцій/сходинок
2*4
Загальна кількість сходинок
8
Країна торгової марки
Україна
Макс. навантаження
150 кг
Матеріал
Алюміній
Стан товару
Новий
Тип
Стрем'янка двостороння
Ширина
42.5 см
scandir(/mnt/test_sites/sites_new/wellcraft.com.ua/storage/cache/all_sql_products_ids): failed to open dir: No such file or directory (500 Whoops, looks like something went wrong.)

scandir(/mnt/test_sites/sites_new/wellcraft.com.ua/storage/cache/all_sql_products_ids): failed to open dir: No such file or directory

Exception

ErrorException

  1.     if (!is_dir($dir)) {
  2.         return unlink($dir);
  3.     }
  4.     foreach (scandir($dir) as $item) {
  5.         if ($item == '.' || $item == '..') {
  6.             continue;
  7.         }
  8.         if (!deleteDirectory($dir DIRECTORY_SEPARATOR $item)) {
  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.     if (!is_dir($dir)) {
  2.         return unlink($dir);
  3.     }
  4.     foreach (scandir($dir) as $item) {
  5.         if ($item == '.' || $item == '..') {
  6.             continue;
  7.         }
  8.         if (!deleteDirectory($dir DIRECTORY_SEPARATOR $item)) {
  1.     public static function forgetByPrefix(string $keyPrefix): bool
  2.     {
  3.         $result false;
  4.         $keyPrefix str_replace(self::PREFIX_END''$keyPrefix);
  5.         $path self::getDirectory();
  6.         if (!file_exists($path '/' $keyPrefix) || deleteDirectory($path '/' $keyPrefix)) {
  7.             $result true;
  8.         }
  9.         return $result;
  10.     }
  1.     public static function forgetByPrefixMultiple(array $keyPrefixes): bool
  2.     {
  3.         $result true;
  4.         foreach ($keyPrefixes as $keyPrefix) {
  5.             $result &= self::forgetByPrefix($keyPrefix);
  6.         }
  7.         return (bool)$result;
  8.     }
  9.     public static function forgetByTableName(string $tableName): bool
  1.     }
  2.     public static function forgetByTableNames(array $tablesNames): bool
  3.     {
  4.         $filesKeys self::collectKeysByTableNames($tablesNames);
  5.         return self::forgetByPrefixMultiple($filesKeys);
  6.     }
  7.     //collect keys of file caches
  8.     public static function collectKeysByTableName(string $tableName): array
  9.     {
FileCacheHelper::forgetByTableNames() in /home/solomono/web/solomono.net/sites/demo/includes/functions/database.php (line 127)
  1.     }
  2.     //forget cache by tables names
  3.     if ($cache_queries && !empty($tables) && $action && in_array($action, ['insert''update''insertodku''delete'])) {
  4.         $tables is_array($tables) ? $tables : [$tables];
  5.         FileCacheHelper::forgetByTableNames($tables);
  6.     }
  7.     $parseTime round((microtime(true) - $start), 2);
  8.     $alert_execution_time = (defined('ALERT_QUERY_EXECUTION_TIME_FRONT') && ALERT_QUERY_EXECUTION_TIME_FRONT 0
  1.     if (!empty($listing['products_url'])) {
  2.         $product_href $listing['products_url']; // if "products_url" is set, show link without DB query to get names
  3.     } else {
  4.         $products_url $seo_urls->strip($product_name);
  5.         $products_url str_replace('p-','p',$products_url); //fix bug with get product ID when url like /p-some-text/p-123.html
  6.         tep_db_query("update " TABLE_PRODUCTS_DESCRIPTION " set products_url = '" $products_url "' where language_id = '" $languages_id "' and products_id = '" tep_db_input($id) . "'",TABLE_PRODUCTS_DESCRIPTION,'update');
  7.         $product_href $products_url ?: '-'// if "products_url" empty, then get name from DB
  8.     }
  9.     $product_href getCPathUrlPart($id) . preg_replace('|' $catalog_path '|i'''$product_href);
  10.     if (!empty($listing['products_image'])) {
include('/home/solomono/web/solomono.net/sites/demo/includes/modules/product_listing_col.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/ext/last_viewed_products/last_viewed_products.php (line 44)
  1.         mysqli_data_seek($last_viewed0);
  2.         if ($last_viewed->num_rows) {
  3.             $tpl_settings['request'] = $last_viewed;
  4.             getArrayWithAllAttributes();
  5.             include(DIR_WS_MODULES FILENAME_PRODUCT_LISTING_COL);
  6.         }
  7.     }
  8. }
require_once('/mnt/test_sites/sites_new/wellcraft.com.ua/ext/last_viewed_products/last_viewed_products.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php (line 408)
  1.                 );
  2.                 if (is_file(DIR_WS_EXT "last_viewed_products/last_viewed_products.php")) {
  3.                     if (in_array('product_slider'$tpl_settings['classes'])) {
  4.                         $assets->jsProductInline[] = generateOwlCarousel($tpl_settings);
  5.                     }
  6.                     require_once DIR_WS_EXT "last_viewed_products/last_viewed_products.php";
  7.                 }
  8.                 break;
  9.             case 'P_DRUGIE':
  10.                 include(DIR_WS_MODULES 'drugie.php');
  11.                 break;
require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php (line 121)
  1.             <?php echo $breadcrumb->trail(' '); ?>
  2.             <!-- END BREADCRUMBS -->
  3.             <!-- CONTENT -->
  4.             <?php
  5.             if (file_exists(DIR_WS_TEMPLATES TEMPLATE_NAME '/content/' $content '.tpl.php')) {
  6.                 require(DIR_WS_TEMPLATES TEMPLATE_NAME '/content/' $content '.tpl.php'); // content from current template (if exists)
  7.             } else {
  8.                 require(DIR_WS_CONTENT $content '.tpl.php'); // content from default template
  9.             }
  10.             ?>
  11.             <!-- END CONTENT -->
require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/product_info.php (line 338)
  1.     }
  2. } else {
  3.     http_response_code(404);
  4.     $content CONTENT_ERROR_404;
  5. }
  6. require(DIR_WS_TEMPLATES TEMPLATE_NAME '/' TEMPLATENAME_MAIN_PAGE);
  7. require(DIR_WS_INCLUDES 'application_bottom.php');

Stack Trace

ErrorException
ErrorException:
scandir(/mnt/test_sites/sites_new/wellcraft.com.ua/storage/cache/all_sql_products_ids): failed to open dir: No such file or directory

  at /home/solomono/web/solomono.net/sites/demo/includes/functions/files_functions.php:157
  at Bootstrap\HandleExceptions->handleError()
     (/home/solomono/web/solomono.net/sites/demo/bootstrap/HandleExceptions.php:32)
  at Bootstrap\HandleExceptions->Bootstrap\{closure}()
  at scandir()
     (/home/solomono/web/solomono.net/sites/demo/includes/functions/files_functions.php:157)
  at deleteDirectory()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Helpers/FileCacheHelper.php:236)
  at App\Classes\Cache\Helpers\FileCacheHelper::forgetByPrefix()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Helpers/FileCacheHelper.php:247)
  at App\Classes\Cache\Helpers\FileCacheHelper::forgetByPrefixMultiple()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Helpers/FileCacheHelper.php:261)
  at App\Classes\Cache\Helpers\FileCacheHelper::forgetByTableNames()
     (/home/solomono/web/solomono.net/sites/demo/includes/functions/database.php:127)
  at tep_db_query()
     (/home/solomono/web/solomono.net/sites/demo/includes/modules/product_listing_col.php:292)
  at include('/home/solomono/web/solomono.net/sites/demo/includes/modules/product_listing_col.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/ext/last_viewed_products/last_viewed_products.php:44)
  at require_once('/mnt/test_sites/sites_new/wellcraft.com.ua/ext/last_viewed_products/last_viewed_products.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php:408)
  at require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php:121)
  at require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/product_info.php:338)                
scandir(): (errno 0): Success (500 Whoops, looks like something went wrong.)

scandir(): (errno 0): Success

Exception

ErrorException

  1.     if (!is_dir($dir)) {
  2.         return unlink($dir);
  3.     }
  4.     foreach (scandir($dir) as $item) {
  5.         if ($item == '.' || $item == '..') {
  6.             continue;
  7.         }
  8.         if (!deleteDirectory($dir DIRECTORY_SEPARATOR $item)) {
  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.     if (!is_dir($dir)) {
  2.         return unlink($dir);
  3.     }
  4.     foreach (scandir($dir) as $item) {
  5.         if ($item == '.' || $item == '..') {
  6.             continue;
  7.         }
  8.         if (!deleteDirectory($dir DIRECTORY_SEPARATOR $item)) {
  1.     public static function forgetByPrefix(string $keyPrefix): bool
  2.     {
  3.         $result false;
  4.         $keyPrefix str_replace(self::PREFIX_END''$keyPrefix);
  5.         $path self::getDirectory();
  6.         if (!file_exists($path '/' $keyPrefix) || deleteDirectory($path '/' $keyPrefix)) {
  7.             $result true;
  8.         }
  9.         return $result;
  10.     }
  1.     public static function forgetByPrefixMultiple(array $keyPrefixes): bool
  2.     {
  3.         $result true;
  4.         foreach ($keyPrefixes as $keyPrefix) {
  5.             $result &= self::forgetByPrefix($keyPrefix);
  6.         }
  7.         return (bool)$result;
  8.     }
  9.     public static function forgetByTableName(string $tableName): bool
  1.     }
  2.     public static function forgetByTableNames(array $tablesNames): bool
  3.     {
  4.         $filesKeys self::collectKeysByTableNames($tablesNames);
  5.         return self::forgetByPrefixMultiple($filesKeys);
  6.     }
  7.     //collect keys of file caches
  8.     public static function collectKeysByTableName(string $tableName): array
  9.     {
FileCacheHelper::forgetByTableNames() in /home/solomono/web/solomono.net/sites/demo/includes/functions/database.php (line 127)
  1.     }
  2.     //forget cache by tables names
  3.     if ($cache_queries && !empty($tables) && $action && in_array($action, ['insert''update''insertodku''delete'])) {
  4.         $tables is_array($tables) ? $tables : [$tables];
  5.         FileCacheHelper::forgetByTableNames($tables);
  6.     }
  7.     $parseTime round((microtime(true) - $start), 2);
  8.     $alert_execution_time = (defined('ALERT_QUERY_EXECUTION_TIME_FRONT') && ALERT_QUERY_EXECUTION_TIME_FRONT 0
  1.     if (!empty($listing['products_url'])) {
  2.         $product_href $listing['products_url']; // if "products_url" is set, show link without DB query to get names
  3.     } else {
  4.         $products_url $seo_urls->strip($product_name);
  5.         $products_url str_replace('p-','p',$products_url); //fix bug with get product ID when url like /p-some-text/p-123.html
  6.         tep_db_query("update " TABLE_PRODUCTS_DESCRIPTION " set products_url = '" $products_url "' where language_id = '" $languages_id "' and products_id = '" tep_db_input($id) . "'",TABLE_PRODUCTS_DESCRIPTION,'update');
  7.         $product_href $products_url ?: '-'// if "products_url" empty, then get name from DB
  8.     }
  9.     $product_href getCPathUrlPart($id) . preg_replace('|' $catalog_path '|i'''$product_href);
  10.     if (!empty($listing['products_image'])) {
include('/home/solomono/web/solomono.net/sites/demo/includes/modules/product_listing_col.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/ext/last_viewed_products/last_viewed_products.php (line 44)
  1.         mysqli_data_seek($last_viewed0);
  2.         if ($last_viewed->num_rows) {
  3.             $tpl_settings['request'] = $last_viewed;
  4.             getArrayWithAllAttributes();
  5.             include(DIR_WS_MODULES FILENAME_PRODUCT_LISTING_COL);
  6.         }
  7.     }
  8. }
require_once('/mnt/test_sites/sites_new/wellcraft.com.ua/ext/last_viewed_products/last_viewed_products.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php (line 408)
  1.                 );
  2.                 if (is_file(DIR_WS_EXT "last_viewed_products/last_viewed_products.php")) {
  3.                     if (in_array('product_slider'$tpl_settings['classes'])) {
  4.                         $assets->jsProductInline[] = generateOwlCarousel($tpl_settings);
  5.                     }
  6.                     require_once DIR_WS_EXT "last_viewed_products/last_viewed_products.php";
  7.                 }
  8.                 break;
  9.             case 'P_DRUGIE':
  10.                 include(DIR_WS_MODULES 'drugie.php');
  11.                 break;
require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php (line 121)
  1.             <?php echo $breadcrumb->trail(' '); ?>
  2.             <!-- END BREADCRUMBS -->
  3.             <!-- CONTENT -->
  4.             <?php
  5.             if (file_exists(DIR_WS_TEMPLATES TEMPLATE_NAME '/content/' $content '.tpl.php')) {
  6.                 require(DIR_WS_TEMPLATES TEMPLATE_NAME '/content/' $content '.tpl.php'); // content from current template (if exists)
  7.             } else {
  8.                 require(DIR_WS_CONTENT $content '.tpl.php'); // content from default template
  9.             }
  10.             ?>
  11.             <!-- END CONTENT -->
require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/product_info.php (line 338)
  1.     }
  2. } else {
  3.     http_response_code(404);
  4.     $content CONTENT_ERROR_404;
  5. }
  6. require(DIR_WS_TEMPLATES TEMPLATE_NAME '/' TEMPLATENAME_MAIN_PAGE);
  7. require(DIR_WS_INCLUDES 'application_bottom.php');

Stack Trace

ErrorException
ErrorException:
scandir(): (errno 0): Success

  at /home/solomono/web/solomono.net/sites/demo/includes/functions/files_functions.php:157
  at Bootstrap\HandleExceptions->handleError()
     (/home/solomono/web/solomono.net/sites/demo/bootstrap/HandleExceptions.php:32)
  at Bootstrap\HandleExceptions->Bootstrap\{closure}()
  at scandir()
     (/home/solomono/web/solomono.net/sites/demo/includes/functions/files_functions.php:157)
  at deleteDirectory()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Helpers/FileCacheHelper.php:236)
  at App\Classes\Cache\Helpers\FileCacheHelper::forgetByPrefix()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Helpers/FileCacheHelper.php:247)
  at App\Classes\Cache\Helpers\FileCacheHelper::forgetByPrefixMultiple()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Helpers/FileCacheHelper.php:261)
  at App\Classes\Cache\Helpers\FileCacheHelper::forgetByTableNames()
     (/home/solomono/web/solomono.net/sites/demo/includes/functions/database.php:127)
  at tep_db_query()
     (/home/solomono/web/solomono.net/sites/demo/includes/modules/product_listing_col.php:292)
  at include('/home/solomono/web/solomono.net/sites/demo/includes/modules/product_listing_col.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/ext/last_viewed_products/last_viewed_products.php:44)
  at require_once('/mnt/test_sites/sites_new/wellcraft.com.ua/ext/last_viewed_products/last_viewed_products.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php:408)
  at require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php:121)
  at require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/product_info.php:338)                
Invalid argument supplied for foreach() (500 Whoops, looks like something went wrong.)

Invalid argument supplied for foreach()

Exception

ErrorException

  1.     if (!is_dir($dir)) {
  2.         return unlink($dir);
  3.     }
  4.     foreach (scandir($dir) as $item) {
  5.         if ($item == '.' || $item == '..') {
  6.             continue;
  7.         }
  8.         if (!deleteDirectory($dir DIRECTORY_SEPARATOR $item)) {
  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.         });
  1.     if (!is_dir($dir)) {
  2.         return unlink($dir);
  3.     }
  4.     foreach (scandir($dir) as $item) {
  5.         if ($item == '.' || $item == '..') {
  6.             continue;
  7.         }
  8.         if (!deleteDirectory($dir DIRECTORY_SEPARATOR $item)) {
  1.     public static function forgetByPrefix(string $keyPrefix): bool
  2.     {
  3.         $result false;
  4.         $keyPrefix str_replace(self::PREFIX_END''$keyPrefix);
  5.         $path self::getDirectory();
  6.         if (!file_exists($path '/' $keyPrefix) || deleteDirectory($path '/' $keyPrefix)) {
  7.             $result true;
  8.         }
  9.         return $result;
  10.     }
  1.     public static function forgetByPrefixMultiple(array $keyPrefixes): bool
  2.     {
  3.         $result true;
  4.         foreach ($keyPrefixes as $keyPrefix) {
  5.             $result &= self::forgetByPrefix($keyPrefix);
  6.         }
  7.         return (bool)$result;
  8.     }
  9.     public static function forgetByTableName(string $tableName): bool
  1.     }
  2.     public static function forgetByTableNames(array $tablesNames): bool
  3.     {
  4.         $filesKeys self::collectKeysByTableNames($tablesNames);
  5.         return self::forgetByPrefixMultiple($filesKeys);
  6.     }
  7.     //collect keys of file caches
  8.     public static function collectKeysByTableName(string $tableName): array
  9.     {
FileCacheHelper::forgetByTableNames() in /home/solomono/web/solomono.net/sites/demo/includes/functions/database.php (line 127)
  1.     }
  2.     //forget cache by tables names
  3.     if ($cache_queries && !empty($tables) && $action && in_array($action, ['insert''update''insertodku''delete'])) {
  4.         $tables is_array($tables) ? $tables : [$tables];
  5.         FileCacheHelper::forgetByTableNames($tables);
  6.     }
  7.     $parseTime round((microtime(true) - $start), 2);
  8.     $alert_execution_time = (defined('ALERT_QUERY_EXECUTION_TIME_FRONT') && ALERT_QUERY_EXECUTION_TIME_FRONT 0
  1.     if (!empty($listing['products_url'])) {
  2.         $product_href $listing['products_url']; // if "products_url" is set, show link without DB query to get names
  3.     } else {
  4.         $products_url $seo_urls->strip($product_name);
  5.         $products_url str_replace('p-','p',$products_url); //fix bug with get product ID when url like /p-some-text/p-123.html
  6.         tep_db_query("update " TABLE_PRODUCTS_DESCRIPTION " set products_url = '" $products_url "' where language_id = '" $languages_id "' and products_id = '" tep_db_input($id) . "'",TABLE_PRODUCTS_DESCRIPTION,'update');
  7.         $product_href $products_url ?: '-'// if "products_url" empty, then get name from DB
  8.     }
  9.     $product_href getCPathUrlPart($id) . preg_replace('|' $catalog_path '|i'''$product_href);
  10.     if (!empty($listing['products_image'])) {
include('/home/solomono/web/solomono.net/sites/demo/includes/modules/product_listing_col.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/ext/last_viewed_products/last_viewed_products.php (line 44)
  1.         mysqli_data_seek($last_viewed0);
  2.         if ($last_viewed->num_rows) {
  3.             $tpl_settings['request'] = $last_viewed;
  4.             getArrayWithAllAttributes();
  5.             include(DIR_WS_MODULES FILENAME_PRODUCT_LISTING_COL);
  6.         }
  7.     }
  8. }
require_once('/mnt/test_sites/sites_new/wellcraft.com.ua/ext/last_viewed_products/last_viewed_products.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php (line 408)
  1.                 );
  2.                 if (is_file(DIR_WS_EXT "last_viewed_products/last_viewed_products.php")) {
  3.                     if (in_array('product_slider'$tpl_settings['classes'])) {
  4.                         $assets->jsProductInline[] = generateOwlCarousel($tpl_settings);
  5.                     }
  6.                     require_once DIR_WS_EXT "last_viewed_products/last_viewed_products.php";
  7.                 }
  8.                 break;
  9.             case 'P_DRUGIE':
  10.                 include(DIR_WS_MODULES 'drugie.php');
  11.                 break;
require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php (line 121)
  1.             <?php echo $breadcrumb->trail(' '); ?>
  2.             <!-- END BREADCRUMBS -->
  3.             <!-- CONTENT -->
  4.             <?php
  5.             if (file_exists(DIR_WS_TEMPLATES TEMPLATE_NAME '/content/' $content '.tpl.php')) {
  6.                 require(DIR_WS_TEMPLATES TEMPLATE_NAME '/content/' $content '.tpl.php'); // content from current template (if exists)
  7.             } else {
  8.                 require(DIR_WS_CONTENT $content '.tpl.php'); // content from default template
  9.             }
  10.             ?>
  11.             <!-- END CONTENT -->
require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/product_info.php (line 338)
  1.     }
  2. } else {
  3.     http_response_code(404);
  4.     $content CONTENT_ERROR_404;
  5. }
  6. require(DIR_WS_TEMPLATES TEMPLATE_NAME '/' TEMPLATENAME_MAIN_PAGE);
  7. require(DIR_WS_INCLUDES 'application_bottom.php');

Stack Trace

ErrorException
ErrorException:
Invalid argument supplied for foreach()

  at /home/solomono/web/solomono.net/sites/demo/includes/functions/files_functions.php:157
  at Bootstrap\HandleExceptions->handleError()
     (/home/solomono/web/solomono.net/sites/demo/bootstrap/HandleExceptions.php:32)
  at Bootstrap\HandleExceptions->Bootstrap\{closure}()
     (/home/solomono/web/solomono.net/sites/demo/includes/functions/files_functions.php:157)
  at deleteDirectory()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Helpers/FileCacheHelper.php:236)
  at App\Classes\Cache\Helpers\FileCacheHelper::forgetByPrefix()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Helpers/FileCacheHelper.php:247)
  at App\Classes\Cache\Helpers\FileCacheHelper::forgetByPrefixMultiple()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Helpers/FileCacheHelper.php:261)
  at App\Classes\Cache\Helpers\FileCacheHelper::forgetByTableNames()
     (/home/solomono/web/solomono.net/sites/demo/includes/functions/database.php:127)
  at tep_db_query()
     (/home/solomono/web/solomono.net/sites/demo/includes/modules/product_listing_col.php:292)
  at include('/home/solomono/web/solomono.net/sites/demo/includes/modules/product_listing_col.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/ext/last_viewed_products/last_viewed_products.php:44)
  at require_once('/mnt/test_sites/sites_new/wellcraft.com.ua/ext/last_viewed_products/last_viewed_products.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php:408)
  at require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php:121)
  at require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/product_info.php:338)                
rmdir(/mnt/test_sites/sites_new/wellcraft.com.ua/storage/cache/all_sql_products_ids): Directory not empty (500 Whoops, looks like something went wrong.)

rmdir(/mnt/test_sites/sites_new/wellcraft.com.ua/storage/cache/all_sql_products_ids): Directory not empty

Exception

ErrorException

  1.         if (!deleteDirectory($dir DIRECTORY_SEPARATOR $item)) {
  2.             return false;
  3.         }
  4.     }
  5.     return rmdir($dir);
  6. }
  7. function logToFile($path$data = [''])
  8. {
  9.     //check argument
  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.         if (!deleteDirectory($dir DIRECTORY_SEPARATOR $item)) {
  2.             return false;
  3.         }
  4.     }
  5.     return rmdir($dir);
  6. }
  7. function logToFile($path$data = [''])
  8. {
  9.     //check argument
  1.     public static function forgetByPrefix(string $keyPrefix): bool
  2.     {
  3.         $result false;
  4.         $keyPrefix str_replace(self::PREFIX_END''$keyPrefix);
  5.         $path self::getDirectory();
  6.         if (!file_exists($path '/' $keyPrefix) || deleteDirectory($path '/' $keyPrefix)) {
  7.             $result true;
  8.         }
  9.         return $result;
  10.     }
  1.     public static function forgetByPrefixMultiple(array $keyPrefixes): bool
  2.     {
  3.         $result true;
  4.         foreach ($keyPrefixes as $keyPrefix) {
  5.             $result &= self::forgetByPrefix($keyPrefix);
  6.         }
  7.         return (bool)$result;
  8.     }
  9.     public static function forgetByTableName(string $tableName): bool
  1.     }
  2.     public static function forgetByTableNames(array $tablesNames): bool
  3.     {
  4.         $filesKeys self::collectKeysByTableNames($tablesNames);
  5.         return self::forgetByPrefixMultiple($filesKeys);
  6.     }
  7.     //collect keys of file caches
  8.     public static function collectKeysByTableName(string $tableName): array
  9.     {
FileCacheHelper::forgetByTableNames() in /home/solomono/web/solomono.net/sites/demo/includes/functions/database.php (line 127)
  1.     }
  2.     //forget cache by tables names
  3.     if ($cache_queries && !empty($tables) && $action && in_array($action, ['insert''update''insertodku''delete'])) {
  4.         $tables is_array($tables) ? $tables : [$tables];
  5.         FileCacheHelper::forgetByTableNames($tables);
  6.     }
  7.     $parseTime round((microtime(true) - $start), 2);
  8.     $alert_execution_time = (defined('ALERT_QUERY_EXECUTION_TIME_FRONT') && ALERT_QUERY_EXECUTION_TIME_FRONT 0
  1.     if (!empty($listing['products_url'])) {
  2.         $product_href $listing['products_url']; // if "products_url" is set, show link without DB query to get names
  3.     } else {
  4.         $products_url $seo_urls->strip($product_name);
  5.         $products_url str_replace('p-','p',$products_url); //fix bug with get product ID when url like /p-some-text/p-123.html
  6.         tep_db_query("update " TABLE_PRODUCTS_DESCRIPTION " set products_url = '" $products_url "' where language_id = '" $languages_id "' and products_id = '" tep_db_input($id) . "'",TABLE_PRODUCTS_DESCRIPTION,'update');
  7.         $product_href $products_url ?: '-'// if "products_url" empty, then get name from DB
  8.     }
  9.     $product_href getCPathUrlPart($id) . preg_replace('|' $catalog_path '|i'''$product_href);
  10.     if (!empty($listing['products_image'])) {
include('/home/solomono/web/solomono.net/sites/demo/includes/modules/product_listing_col.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/ext/last_viewed_products/last_viewed_products.php (line 44)
  1.         mysqli_data_seek($last_viewed0);
  2.         if ($last_viewed->num_rows) {
  3.             $tpl_settings['request'] = $last_viewed;
  4.             getArrayWithAllAttributes();
  5.             include(DIR_WS_MODULES FILENAME_PRODUCT_LISTING_COL);
  6.         }
  7.     }
  8. }
require_once('/mnt/test_sites/sites_new/wellcraft.com.ua/ext/last_viewed_products/last_viewed_products.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php (line 408)
  1.                 );
  2.                 if (is_file(DIR_WS_EXT "last_viewed_products/last_viewed_products.php")) {
  3.                     if (in_array('product_slider'$tpl_settings['classes'])) {
  4.                         $assets->jsProductInline[] = generateOwlCarousel($tpl_settings);
  5.                     }
  6.                     require_once DIR_WS_EXT "last_viewed_products/last_viewed_products.php";
  7.                 }
  8.                 break;
  9.             case 'P_DRUGIE':
  10.                 include(DIR_WS_MODULES 'drugie.php');
  11.                 break;
require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php (line 121)
  1.             <?php echo $breadcrumb->trail(' '); ?>
  2.             <!-- END BREADCRUMBS -->
  3.             <!-- CONTENT -->
  4.             <?php
  5.             if (file_exists(DIR_WS_TEMPLATES TEMPLATE_NAME '/content/' $content '.tpl.php')) {
  6.                 require(DIR_WS_TEMPLATES TEMPLATE_NAME '/content/' $content '.tpl.php'); // content from current template (if exists)
  7.             } else {
  8.                 require(DIR_WS_CONTENT $content '.tpl.php'); // content from default template
  9.             }
  10.             ?>
  11.             <!-- END CONTENT -->
require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/product_info.php (line 338)
  1.     }
  2. } else {
  3.     http_response_code(404);
  4.     $content CONTENT_ERROR_404;
  5. }
  6. require(DIR_WS_TEMPLATES TEMPLATE_NAME '/' TEMPLATENAME_MAIN_PAGE);
  7. require(DIR_WS_INCLUDES 'application_bottom.php');

Stack Trace

ErrorException
ErrorException:
rmdir(/mnt/test_sites/sites_new/wellcraft.com.ua/storage/cache/all_sql_products_ids): Directory not empty

  at /home/solomono/web/solomono.net/sites/demo/includes/functions/files_functions.php:167
  at Bootstrap\HandleExceptions->handleError()
     (/home/solomono/web/solomono.net/sites/demo/bootstrap/HandleExceptions.php:32)
  at Bootstrap\HandleExceptions->Bootstrap\{closure}()
  at rmdir()
     (/home/solomono/web/solomono.net/sites/demo/includes/functions/files_functions.php:167)
  at deleteDirectory()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Helpers/FileCacheHelper.php:236)
  at App\Classes\Cache\Helpers\FileCacheHelper::forgetByPrefix()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Helpers/FileCacheHelper.php:247)
  at App\Classes\Cache\Helpers\FileCacheHelper::forgetByPrefixMultiple()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Helpers/FileCacheHelper.php:261)
  at App\Classes\Cache\Helpers\FileCacheHelper::forgetByTableNames()
     (/home/solomono/web/solomono.net/sites/demo/includes/functions/database.php:127)
  at tep_db_query()
     (/home/solomono/web/solomono.net/sites/demo/includes/modules/product_listing_col.php:292)
  at include('/home/solomono/web/solomono.net/sites/demo/includes/modules/product_listing_col.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/ext/last_viewed_products/last_viewed_products.php:44)
  at require_once('/mnt/test_sites/sites_new/wellcraft.com.ua/ext/last_viewed_products/last_viewed_products.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php:408)
  at require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php:121)
  at require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/product_info.php:338)                
В наличии

4.209 грн

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

7.633 грн

В наличии

3.583 грн

В наличии

23.786 грн

В наличии

4.439 грн

В наличии

2.971 грн

В наличии

6.032 грн

В наличии

2.678 грн

В наличии

6.006 грн

В наличии

7.999 грн

В наличии

6.699 грн