#0 /var/www/user/data/www/domen.com/library/XenGallery/Helper/Image.php(336): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/var/www/user/...', 336, Array)
#1 /var/www/user/data/www/domen.com/library/XenGallery/Model/File.php(81): XenGallery_Helper_Image->resize('300', '300', 'crop')
#2 /var/www/user/data/www/domen.com/library/XenGallery/ControllerPublic/File.php(201): XenGallery_Model_File->insertUploadedAttachmentData(Object(XenForo_Upload), 1, Array)
#3 /var/www/user/data/www/domen.com/library/XenForo/FrontController.php(351): XenGallery_ControllerPublic_File->actionDoUpload()
#4 /var/www/user/data/www/domen.com/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#5 /var/www/user/data/www/domen.com/index.php(13): XenForo_FrontController->run()
#6 {main}