vegandthecity / magento

vegandthecity.ch/shop (Magento 2) source code and issues tracking
https://upwork.com/fl/mage2pro
1 stars 2 forks source link

«preg_match(): No ending delimiter '/' found in vendor/mirasvit/module-cache-warmer/Model/Config.php on line 176» #20

Closed dmitrii-fediuk closed 4 years ago

dmitrii-fediuk commented 4 years ago
#1 preg_match() called at [vendor/mirasvit/module-cache-warmer/Model/Config.php:176]
#2 Mirasvit\CacheWarmer\Model\Config->isIgnoredUri() called at [vendor/mirasvit/module-cache-warmer/Model/Config.php:157]
#3 Mirasvit\CacheWarmer\Model\Config->isIgnoredPage() called at [vendor/mirasvit/module-cache-warmer/Service/PageService.php:363]
#4 Mirasvit\CacheWarmer\Service\PageService->collect() called at [vendor/mirasvit/module-cache-warmer/Plugin/Frontend/Framework/Controller/Result/CollectPagePlugin.php:84]
#5 Mirasvit\CacheWarmer\Plugin\Frontend\Framework\Controller\Result\CollectPagePlugin->afterRenderResult() called at [vendor/magento/framework/Interception/Interceptor.php:146]
#6 Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() called at [app/code/Magezon/Builder/Plugin/View/Result/Layout.php:24]
#7 Magezon\Builder\Plugin\View\Result\Layout->aroundRenderResult() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#8 Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() called at [app/code/Magezon/Core/Plugin/View/Result/Layout.php:24]
#9 Magezon\Core\Plugin\View\Result\Layout->aroundRenderResult() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#10 Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#11 Magento\Framework\View\Result\Page\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Result/Page/Interceptor.php:26]
#12 Magento\Framework\View\Result\Page\Interceptor->renderResult() called at [vendor/magento/framework/App/View.php:221]
#13 Magento\Framework\App\View->renderLayout() called at [app/code/Mageplaza/AjaxLayer/Controller/Search/Result/Index.php:148]
#14 Mageplaza\AjaxLayer\Controller\Search\Result\Index->execute() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#15 Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#16 Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#17 Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->___callPlugins() called at [generated/code/Mageplaza/AjaxLayer/Controller/Search/Result/Index/Interceptor.php:26]
#18 Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->execute() called at [vendor/magento/framework/App/Action/Action.php:108]
#19 Magento\Framework\App\Action\Action->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#20 Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#21 Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#22 Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->___callPlugins() called at [generated/code/Mageplaza/AjaxLayer/Controller/Search/Result/Index/Interceptor.php:39]
#23 Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->dispatch() called at [vendor/magento/framework/App/FrontController.php:159]
#24 Magento\Framework\App\FrontController->processRequest() called at [vendor/magento/framework/App/FrontController.php:99]
#25 Magento\Framework\App\FrontController->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#26 Magento\Framework\App\FrontController\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#27 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:99]
#28 Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#29 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/mirasvit/module-cache-warmer/Plugin/Debug/OnHitPlugin.php:109]
#30 Mirasvit\CacheWarmer\Plugin\Debug\OnHitPlugin->aroundAroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#31 Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#32 Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->___callPlugins() called at [generated/code/Magento/PageCache/Model/App/FrontController/BuiltinPlugin/Interceptor.php:26]
#33 Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#34 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#35 Magento\Framework\App\FrontController\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26]
#36 Magento\Framework\App\FrontController\Interceptor->dispatch() called at [vendor/magento/framework/App/Http.php:116]
#37 Magento\Framework\App\Http->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]
#38 Magento\Framework\App\Bootstrap->run() called at [pub/shop/index.php:40]
dmitrii-fediuk commented 4 years ago

The https://www.vegandthecity.ch/shop/catalogsearch/result/?q=eco issue was caused by a bug in the Mirasvit CacheWarmer module. Someone added the /\/checkout\/ expression to the module's configuration, but the expression is invalid as a regular expression because it misses the extra / at the end. And the Mirasvit CacheWarmer module does not allow to add the extra / at the end (it is the module's bug). I have fixed the https://www.vegandthecity.ch/shop/catalogsearch/result/?q=eco page by replacing the /\/checkout\/ expression with /\/checkout. cache-warmer