Ребят, как быть с подобным? При нажатии на кнопку в модальном окне выдает такую вещь
Warning: imagecreatetruecolor(): Invalid image dimensions in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\image.php on line 105Warning: imagecolorallocate() expects parameter 1 to be resource, boolean given in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\image.php on line 113Warning: imagefilledrectangle() expects parameter 1 to be resource, boolean given in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\image.php on line 116Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\image.php on line 118Warning: Missing argument 2 for Cart\Currency::format(), called in D:\WebServer\OSPanel\domains\mamanana.ru\catalog\controller\common\buyoneclick.php on line 167 and defined in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\cart\currency.php on line 24Notice: Undefined variable: currency in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\cart\currency.php on line 25Notice: Undefined index: in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\cart\currency.php on line 25Notice: Undefined variable: currency in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\cart\currency.php on line 26Notice: Undefined index: in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\cart\currency.php on line 26Notice: Undefined variable: currency in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\cart\currency.php on line 27Notice: Undefined index: in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\cart\currency.php on line 27Notice: Undefined variable: currency in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\cart\currency.php on line 30Notice: Undefined index: in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\cart\currency.php on line 30Warning: Missing argument 2 for Cart\Currency::format(), called in D:\WebServer\OSPanel\domains\mamanana.ru\catalog\controller\common\buyoneclick.php on line 182 and defined in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\cart\currency.php on line 24Notice: Undefined variable: currency in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\cart\currency.php on line 25Notice: Undefined index: in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\cart\currency.php on line 25Notice: Undefined variable: currency in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\cart\currency.php on line 26Notice: Undefined index: in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\cart\currency.php on line 26Notice: Undefined variable: currency in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\cart\currency.php on line 27Notice: Undefined index: in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\cart\currency.php on line 27Notice: Undefined variable: currency in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\cart\currency.php on line 30Notice: Undefined index: in D:\WebServer\OSPanel\domains\mamanana.ru\system\library\cart\currency.php on line 30