( ! ) Fatal error: Uncaught TypeError: Argument 1 passed to Image::resize() must be of the type int, null given, called in /home/s536094/domains/zapasnye-chasti.ru/storage/modification/catalog/model/tool/image.php on line 35 and defined in /home/s536094/domains/zapasnye-chasti.ru/storage/modification/system/library/image.php on line 161 |
( ! ) TypeError: Argument 1 passed to Image::resize() must be of the type int, null given, called in /home/s536094/domains/zapasnye-chasti.ru/storage/modification/catalog/model/tool/image.php on line 35 in /home/s536094/domains/zapasnye-chasti.ru/storage/modification/system/library/image.php on line 161 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0002 | 361216 | {main}( ) | .../index.php:0 |
2 | 0.0015 | 369656 | start( $application_config = 'catalog' ) | .../index.php:23 |
3 | 0.0015 | 371160 | require_once( '/home/s536094/domains/zapasnye-chasti.ru/public_html/system/framework.php ) | .../startup.php:104 |
4 | 0.0073 | 452504 | Router->dispatch( $action = class Action { private $id = 'startup/router'; private $route = 'startup/router'; private $method = 'index' }, $error = class Action { private $id = 'error/not_found'; private $route = 'error/not_found'; private $method = 'index' } ) | .../framework.php:169 |
5 | 0.0287 | 747816 | Router->execute( $action = class Action { private $id = 'startup/router'; private $route = 'startup/router'; private $method = 'index' } ) | .../router.php:56 |
6 | 0.0287 | 747816 | Action->execute( $registry = class Registry { private $data = ['config' => class Config { ... }, 'log' => class Log { ... }, 'event' => class Event { ... }, 'load' => class Loader { ... }, 'request' => class Request { ... }, 'response' => class Response { ... }, 'db' => class DB { ... }, 'session' => class Session { ... }, 'cache' => class Cache { ... }, 'language' => class Language { ... }, 'document' => class Document { ... }, 'model_design_translation' => class Proxy { ... }, 'url' => class Url { ... }, 'model_localisation_language' => class Proxy { ... }, 'customer' => class Cart\Customer { ... }, 'model_localisation_currency' => class Proxy { ... }, 'currency' => class Cart\Currency { ... }, 'tax' => class Cart\Tax { ... }, 'weight' => class Cart\Weight { ... }, 'length' => class Cart\Length { ... }, 'cart' => class Cart\Cart { ... }, 'encryption' => class Encryption { ... }, 'model_setting_event' => class Proxy { ... }, 'model_catalog_product' => class Proxy { ... }, 'model_tool_image' => class Proxy { ... }] }, $args = ??? ) | .../router.php:67 |
7 | 0.0288 | 748824 | ControllerStartupRouter->index( ) | .../action.php:79 |
8 | 0.0290 | 752352 | Action->execute( $registry = class Registry { private $data = ['config' => class Config { ... }, 'log' => class Log { ... }, 'event' => class Event { ... }, 'load' => class Loader { ... }, 'request' => class Request { ... }, 'response' => class Response { ... }, 'db' => class DB { ... }, 'session' => class Session { ... }, 'cache' => class Cache { ... }, 'language' => class Language { ... }, 'document' => class Document { ... }, 'model_design_translation' => class Proxy { ... }, 'url' => class Url { ... }, 'model_localisation_language' => class Proxy { ... }, 'customer' => class Cart\Customer { ... }, 'model_localisation_currency' => class Proxy { ... }, 'currency' => class Cart\Currency { ... }, 'tax' => class Cart\Tax { ... }, 'weight' => class Cart\Weight { ... }, 'length' => class Cart\Length { ... }, 'cart' => class Cart\Cart { ... }, 'encryption' => class Encryption { ... }, 'model_setting_event' => class Proxy { ... }, 'model_catalog_product' => class Proxy { ... }, 'model_tool_image' => class Proxy { ... }] }, $args = ??? ) | .../router.php:25 |
9 | 0.0302 | 754608 | ControllerExtensionFeedGoogleSitemap->index( ) | .../action.php:79 |
10 | 5.5373 | 16201312 | Proxy->resize( 'catalog/nicescrapper/7/19791.jpg', NULL, NULL ) | .../google_sitemap.php:21 |
11 | 5.5373 | 16201688 | Proxy->__call( $key = 'resize', $args = [0 => 'catalog/nicescrapper/7/19791.jpg', 1 => NULL, 2 => NULL] ) | .../google_sitemap.php:21 |
12 | 5.5373 | 16202472 | Loader->{closure:/home/s536094/domains/zapasnye-chasti.ru/storage/modification/system/engine/loader.php:220-262}( $args = [0 => 'catalog/nicescrapper/7/19791.jpg', 1 => NULL, 2 => NULL], [0 => 'catalog/nicescrapper/7/19791.jpg', 1 => NULL, 2 => NULL] ) | .../proxy.php:47 |
13 | 5.5375 | 16203512 | ModelToolImage->resize( $filename = 'catalog/nicescrapper/7/19791.jpg', $width = NULL, $height = NULL ) | .../loader.php:248 |
14 | 5.5910 | 16206032 | Image->resize( $width = NULL, $height = NULL, $default = ??? ) | .../image.php:35 |