Closed lenvanessen closed 3 years ago
On some occasions, the extension throws a 500-error when trying to apply a transform using the retconTransform twig filter.
retconTransform
Twig\Error\RuntimeError An exception has been thrown during the rendering of a template ("Undefined index: extension"). /home/onlyfans/domains/onlyfans.com/releases/20210426123318/templates/pages/_publication.twig:11 Twig\Template::displayBlock /home/onlyfans/domains/onlyfans.com/releases/20210426123318/storage/runtime/compiled_templates/15/1549d8ef4fd675ca871248c84df69cd4cb37618e2a2af1189c9f640885c90f60.php:122 TwigTemplate_2d426c91d41ccf93641eb95ff0724f08b329fa6bd9af88c096d181963d96e20c::doDisplay /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:405 Twig\Template::displayWithErrorHandling /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:378 Twig\Template::display /home/onlyfans/domains/onlyfans.com/releases/20210426123318/storage/runtime/compiled_templates/7f/7f3779a2ac56b5769b5f2f57f7e459e0528791d618f71d73e97672e67f982c29.php:43 TwigTemplate_746f055b673006021017205863d7380994d3a0526836f1431977a29aebd79090::doDisplay /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:405 Twig\Template::displayWithErrorHandling /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:378 Twig\Template::display /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:390 Twig\Template::render /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/TemplateWrapper.php:45 Twig\TemplateWrapper::render /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Environment.php:318 Twig\Environment::render /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/View.php:390 craft\web\View::renderTemplate /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/View.php:451 craft\web\View::renderPageTemplate /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/Controller.php:257 craft\web\Controller::renderTemplate /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/controllers/TemplatesController.php:100 craft\controllers\TemplatesController::actionRender [internal] call_user_func_array /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/base/InlineAction.php:57 yii\base\InlineAction::runWithParams /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/base/Controller.php:181 yii\base\Controller::runAction /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/Controller.php:190 craft\web\Controller::runAction /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/base/Module.php:534 yii\base\Module::runAction /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/Application.php:274 craft\web\Application::runAction /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/web/Application.php:104 yii\web\Application::handleRequest /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/Application.php:259 craft\web\Application::handleRequest /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/base/Application.php:392 yii\base\Application::run /home/onlyfans/domains/onlyfans.com/releases/20210426123318/web/index.php:30 [main]
Caused by: yii\base\ErrorException Undefined index: extension /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/mmikkel/retcon/src/library/RetconHelper.php:185 yii\base\ErrorHandler::handleError /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/ErrorHandler.php:77 craft\web\ErrorHandler::handleError /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/mmikkel/retcon/src/library/RetconHelper.php:185 mmikkel\retcon\library\RetconHelper::getTransformedImage /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/mmikkel/retcon/src/services/RetconService.php:121 mmikkel\retcon\services\RetconService::transform /home/onlyfans/domains/onlyfans.com/releases/20210426123318/storage/runtime/compiled_templates/7f/7f3779a2ac56b5769b5f2f57f7e459e0528791d618f71d73e97672e67f982c29.php:65 __TwigTemplate_746f055b673006021017205863d7380994d3a0526836f1431977a29aebd79090::block_content /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:182 Twig\Template::displayBlock /home/onlyfans/domains/onlyfans.com/releases/20210426123318/storage/runtime/compiled_templates/15/1549d8ef4fd675ca871248c84df69cd4cb37618e2a2af1189c9f640885c90f60.php:122 TwigTemplate_2d426c91d41ccf93641eb95ff0724f08b329fa6bd9af88c096d181963d96e20c::doDisplay /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:405 Twig\Template::displayWithErrorHandling /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:378 Twig\Template::display /home/onlyfans/domains/onlyfans.com/releases/20210426123318/storage/runtime/compiled_templates/7f/7f3779a2ac56b5769b5f2f57f7e459e0528791d618f71d73e97672e67f982c29.php:43 TwigTemplate_746f055b673006021017205863d7380994d3a0526836f1431977a29aebd79090::doDisplay /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:405 Twig\Template::displayWithErrorHandling /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:378 Twig\Template::display /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:390 Twig\Template::render /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/TemplateWrapper.php:45 Twig\TemplateWrapper::render /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Environment.php:318 Twig\Environment::render /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/View.php:390 craft\web\View::renderTemplate /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/View.php:451 craft\web\View::renderPageTemplate /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/Controller.php:257 craft\web\Controller::renderTemplate /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/controllers/TemplatesController.php:100 craft\controllers\TemplatesController::actionRender [internal] call_user_func_array /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/base/InlineAction.php:57 yii\base\InlineAction::runWithParams /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/base/Controller.php:181 yii\base\Controller::runAction /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/Controller.php:190 craft\web\Controller::runAction /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/base/Module.php:534 yii\base\Module::runAction /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/Application.php:274 craft\web\Application::runAction /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/web/Application.php:104 yii\web\Application::handleRequest /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/Application.php:259 craft\web\Application::handleRequest /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/base/Application.php:392 yii\base\Application::run /home/onlyfans/domains/onlyfans.com/releases/20210426123318/web/index.php:30 [main]
On some occasions, the extension throws a 500-error when trying to apply a transform using the
retconTransform
twig filter.Twig\Error\RuntimeError An exception has been thrown during the rendering of a template ("Undefined index: extension"). /home/onlyfans/domains/onlyfans.com/releases/20210426123318/templates/pages/_publication.twig:11 Twig\Template::displayBlock /home/onlyfans/domains/onlyfans.com/releases/20210426123318/storage/runtime/compiled_templates/15/1549d8ef4fd675ca871248c84df69cd4cb37618e2a2af1189c9f640885c90f60.php:122 TwigTemplate_2d426c91d41ccf93641eb95ff0724f08b329fa6bd9af88c096d181963d96e20c::doDisplay /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:405 Twig\Template::displayWithErrorHandling /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:378 Twig\Template::display /home/onlyfans/domains/onlyfans.com/releases/20210426123318/storage/runtime/compiled_templates/7f/7f3779a2ac56b5769b5f2f57f7e459e0528791d618f71d73e97672e67f982c29.php:43 TwigTemplate_746f055b673006021017205863d7380994d3a0526836f1431977a29aebd79090::doDisplay /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:405 Twig\Template::displayWithErrorHandling /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:378 Twig\Template::display /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:390 Twig\Template::render /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/TemplateWrapper.php:45 Twig\TemplateWrapper::render /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Environment.php:318 Twig\Environment::render /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/View.php:390 craft\web\View::renderTemplate /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/View.php:451 craft\web\View::renderPageTemplate /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/Controller.php:257 craft\web\Controller::renderTemplate /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/controllers/TemplatesController.php:100 craft\controllers\TemplatesController::actionRender [internal] call_user_func_array /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/base/InlineAction.php:57 yii\base\InlineAction::runWithParams /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/base/Controller.php:181 yii\base\Controller::runAction /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/Controller.php:190 craft\web\Controller::runAction /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/base/Module.php:534 yii\base\Module::runAction /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/Application.php:274 craft\web\Application::runAction /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/web/Application.php:104 yii\web\Application::handleRequest /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/Application.php:259 craft\web\Application::handleRequest /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/base/Application.php:392 yii\base\Application::run /home/onlyfans/domains/onlyfans.com/releases/20210426123318/web/index.php:30 [main]
Caused by: yii\base\ErrorException Undefined index: extension /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/mmikkel/retcon/src/library/RetconHelper.php:185 yii\base\ErrorHandler::handleError /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/ErrorHandler.php:77 craft\web\ErrorHandler::handleError /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/mmikkel/retcon/src/library/RetconHelper.php:185 mmikkel\retcon\library\RetconHelper::getTransformedImage /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/mmikkel/retcon/src/services/RetconService.php:121 mmikkel\retcon\services\RetconService::transform /home/onlyfans/domains/onlyfans.com/releases/20210426123318/storage/runtime/compiled_templates/7f/7f3779a2ac56b5769b5f2f57f7e459e0528791d618f71d73e97672e67f982c29.php:65 __TwigTemplate_746f055b673006021017205863d7380994d3a0526836f1431977a29aebd79090::block_content /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:182 Twig\Template::displayBlock /home/onlyfans/domains/onlyfans.com/releases/20210426123318/storage/runtime/compiled_templates/15/1549d8ef4fd675ca871248c84df69cd4cb37618e2a2af1189c9f640885c90f60.php:122 TwigTemplate_2d426c91d41ccf93641eb95ff0724f08b329fa6bd9af88c096d181963d96e20c::doDisplay /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:405 Twig\Template::displayWithErrorHandling /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:378 Twig\Template::display /home/onlyfans/domains/onlyfans.com/releases/20210426123318/storage/runtime/compiled_templates/7f/7f3779a2ac56b5769b5f2f57f7e459e0528791d618f71d73e97672e67f982c29.php:43 TwigTemplate_746f055b673006021017205863d7380994d3a0526836f1431977a29aebd79090::doDisplay /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:405 Twig\Template::displayWithErrorHandling /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:378 Twig\Template::display /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Template.php:390 Twig\Template::render /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/TemplateWrapper.php:45 Twig\TemplateWrapper::render /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/twig/twig/src/Environment.php:318 Twig\Environment::render /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/View.php:390 craft\web\View::renderTemplate /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/View.php:451 craft\web\View::renderPageTemplate /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/Controller.php:257 craft\web\Controller::renderTemplate /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/controllers/TemplatesController.php:100 craft\controllers\TemplatesController::actionRender [internal] call_user_func_array /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/base/InlineAction.php:57 yii\base\InlineAction::runWithParams /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/base/Controller.php:181 yii\base\Controller::runAction /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/Controller.php:190 craft\web\Controller::runAction /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/base/Module.php:534 yii\base\Module::runAction /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/Application.php:274 craft\web\Application::runAction /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/web/Application.php:104 yii\web\Application::handleRequest /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/craftcms/cms/src/web/Application.php:259 craft\web\Application::handleRequest /home/onlyfans/domains/onlyfans.com/releases/20210426123318/vendor/yiisoft/yii2/base/Application.php:392 yii\base\Application::run /home/onlyfans/domains/onlyfans.com/releases/20210426123318/web/index.php:30 [main]