Fatal error: Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /home/rms/rms.msk.ru/core/model/phpthumb/phpthumb.class.php:1993
Stack trace:
#0 /home/rms/rms.msk.ru/core/model/phpthumb/phpthumb.class.php(1993): round('300,zc')
#1 /home/rms/rms.msk.ru/core/model/phpthumb/phpthumb.class.php(3532): phpthumb->ImageMagickThumbnailToGD()
#2 /home/rms/rms.msk.ru/core/model/phpthumb/phpthumb.class.php(419): phpthumb->ExtractEXIFgetImageSize()
#3 /home/rms/rms.msk.ru/core/components/phpthumbof/model/phpthumbof/phpthumbof.class.php(368): phpthumb->GenerateThumbnail()
#4 /home/rms/rms.msk.ru/core/cache/includes/elements/modsnippet/21.include.cache.php(55): ptThumbnail->render()
#5 /home/rms/rms.msk.ru/core/model/modx/modscript.class.php(76): include('/home/rms/rms.m...')
#6 /home/rms/rms.msk.ru/core/model/modx/modparser.class.php(537): modScript->process(NULL)
#7 /home/rms/rms.msk.ru/core/components/pdotools/model/pdotools/pdoparser.class.php(273): modParser->processTag(Array, false)
#8 /home/rms/rms.msk.ru/core/model/modx/modparser.class.php(251): pdoParser->processTag(Array, false)
#9 /home/rms/rms.msk.ru/core/components/pdotools/model/pdotools/pdoparser.class.php(64): modParser->processElementTags('[[]]', '<!doctype html>...', false, false, '[[', ']]', Array, 8)
#10 /home/rms/rms.msk.ru/core/model/modx/modparser.class.php(263): pdoParser->processElementTags('[[]]', '<!doctype html>...', false, false, '[[', ']]', Array, 9)
#11 /home/rms/rms.msk.ru/core/components/pdotools/model/pdotools/pdoparser.class.php(64): modParser->processElementTags('[[]]', '<!doctype html>...', false, false, '[[', ']]', Array, 9)
#12 /home/rms/rms.msk.ru/core/model/modx/modtemplate.class.php(126): pdoParser->processElementTags('[[]]', '<!doctype html>...', false, false, '[[', ']]', Array, 10)
#13 /home/rms/rms.msk.ru/core/model/modx/modresource.class.php(513): modTemplate->process()
#14 /home/rms/rms.msk.ru/core/model/modx/modresource.class.php(494): modResource->process()
#15 /home/rms/rms.msk.ru/core/model/modx/modresponse.class.php(62): modResource->prepare()
#16 /home/rms/rms.msk.ru/core/model/modx/modrequest.class.php(138): modResponse->outputContent(Array)
#17 /home/rms/rms.msk.ru/core/model/modx/modrequest.class.php(122): modRequest->prepareResponse()
#18 /home/rms/rms.msk.ru/core/model/modx/modx.class.php(1461): modRequest->handleRequest()
#19 /home/rms/rms.msk.ru/docs/index.php(56): modX->handleRequest()
#20 {main}
thrown in /home/rms/rms.msk.ru/core/model/phpthumb/phpthumb.class.php on line 1993