Open dmitrii-fediuk opened 4 years ago
It is related to https://github.com/royalwholesalecandy/core/issues/56, https://github.com/royalwholesalecandy/core/issues/86
File: vendor/magento/framework/Filesystem/Directory/Write.php Line: 103 Caller: Magento\Framework\Filesystem\Directory\Write::renameFile Callee: Magento\Framework\Filesystem\Directory\Write::assertIsFile Context: public function renameFile($path, $newPath, WriteInterface $targetDirectory = null) { $this->assertIsFile($path); $targetDirectory = $targetDirectory ?: $this; if (!$targetDirectory->isExist($this->driver->getParentDirectory($newPath))) { $targetDirectory->create($this->driver->getParentDirectory($newPath)); } $absolutePath = $this->driver->getAbsolutePath($this->path, $path); $absoluteNewPath = $targetDirectory->getAbsolutePath($newPath); return $this->driver->rename($absolutePath, $absoluteNewPath, $targetDirectory->driver); } *****************1****************** File: vendor/magento/module-catalog/Model/ImageUploader.php Line: 216 Caller: Magento\Catalog\Model\ImageUploader::moveFileFromTmp Callee: Magento\Framework\Filesystem\Directory\Write::renameFile Context: try { $this->coreFileStorageDatabase->copyFile( $baseTmpImagePath, $baseImagePath ); $this->mediaDirectory->renameFile( $baseTmpImagePath, $baseImagePath ); } catch (\Exception $e) { /** * 2019-12-24 Dmitry Fedyuk https://github.com/mage2pro * "«Something went wrong while saving the file(s)» * at vendor/magento/module-catalog/Model/ImageUploader.php:219" * https://github.com/royalwholesalecandy/core/issues/56 */ *****************2****************** File: app/code/Wanexo/Mdlnavi/Model/Category/Attribute/Backend/Image.php Line: 145 Caller: Wanexo\Mdlnavi\Model\Category\Attribute\Backend\Image::afterSave Callee: Magento\Catalog\Model\ImageUploader::moveFileFromTmp Context: //$image = $object->getData($this->getAttribute()->getName(), null); $value = $object->getData(self::ADDITIONAL_DATA_PREFIX . $this->getAttribute()->getName()); //if ($image !== null) { if ($imageName = $this->getUploadedImageName($value)) { try { //$this->getImageUploader()->moveFileFromTmp($image); $this->getImageUploader()->moveFileFromTmp($imageName); } catch (\Exception $e) { $this->_logger->critical($e); } } return $this; } *****************3****************** File: generated/code/Wanexo/Mdlnavi/Model/Category/Attribute/Backend/Image/Interceptor.php Line: 37 Caller: Wanexo\Mdlnavi\Model\Category\Attribute\Backend\Image::afterSave Callee: Wanexo\Mdlnavi\Model\Category\Attribute\Backend\Image::afterSave Context: public function afterSave($object) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'afterSave'); if (!$pluginInfo) { return parent::afterSave($object); } else { return $this->___callPlugins('afterSave', func_get_args(), $pluginInfo); } } *****************4****************** Caller: call_user_func_array Callee: Wanexo\Mdlnavi\Model\Category\Attribute\Backend\Image::afterSave *****************5****************** File: vendor/magento/module-eav/Model/Entity/AbstractEntity.php Line: 694 Caller: Magento\Eav\Model\Entity\AbstractEntity::walkAttributes Callee: call_user_func_array Context: } if (!$this->_isCallableAttributeInstance($instance, $method, $args)) { continue; } try { $results[$attrCode] = call_user_func_array([$instance, $method], $args); } catch (\Magento\Eav\Model\Entity\Attribute\Exception $e) { if ($collectExceptionMessages) { $results[$attrCode] = $e->getMessage(); } else { throw $e; } } catch (\Exception $e) { if ($collectExceptionMessages) { *****************6****************** File: generated/code/Magento/Catalog/Model/ResourceModel/Category/Interceptor.php Line: 609 Caller: Magento\Catalog\Model\ResourceModel\Category::walkAttributes Callee: Magento\Eav\Model\Entity\AbstractEntity::walkAttributes Context: public function walkAttributes($partMethod, array $args = array(), $collectExceptionMessages = null) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'walkAttributes'); if (!$pluginInfo) { return parent::walkAttributes($partMethod, $args, $collectExceptionMessages); } else { return $this->___callPlugins('walkAttributes', func_get_args(), $pluginInfo); } } *****************7****************** File: vendor/magento/module-eav/Model/Entity/AbstractEntity.php Line: 1847 Caller: Magento\Eav\Model\Entity\AbstractEntity::_afterSave Callee: Magento\Catalog\Model\ResourceModel\Category::walkAttributes Context: protected function _afterSave(DataObject $object) { $this->walkAttributes('backend/afterSave', [$object]); return $this; } *****************8****************** File: vendor/magento/module-catalog/Model/ResourceModel/Category.php Line: 295 Caller: Magento\Catalog\Model\ResourceModel\Category::_afterSave Callee: Magento\Eav\Model\Entity\AbstractEntity::_afterSave Context: */ if (substr($object->getPath(), -1) == '/') { $object->setPath($object->getPath() . $object->getId()); $this->_savePath($object); } $this->_saveCategoryProducts($object); return parent::_afterSave($object); } *****************9****************** File: vendor/magento/module-eav/Model/Entity/AbstractEntity.php Line: 1966 Caller: Magento\Eav\Model\Entity\AbstractEntity::afterSave Callee: Magento\Catalog\Model\ResourceModel\Category::_afterSave Context: public function afterSave(DataObject $object) { $this->_afterSave($object); } *****************10***************** File: generated/code/Magento/Catalog/Model/ResourceModel/Category/Interceptor.php Line: 843 Caller: Magento\Catalog\Model\ResourceModel\Category::afterSave Callee: Magento\Eav\Model\Entity\AbstractEntity::afterSave Context: public function afterSave(\Magento\Framework\DataObject $object) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'afterSave'); if (!$pluginInfo) { return parent::afterSave($object); } else { return $this->___callPlugins('afterSave', func_get_args(), $pluginInfo); } } *****************11***************** File: vendor/magento/framework/EntityManager/Observer/AfterEntitySave.php Line: 30 Caller: Magento\Framework\EntityManager\Observer\AfterEntitySave::execute Callee: Magento\Catalog\Model\ResourceModel\Category::afterSave Context: public function execute(Observer $observer) { $entity = $observer->getEvent()->getEntity(); if ($entity instanceof AbstractModel) { $entity->getResource()->afterSave($entity); $entity->afterSave(); $entity->getResource()->addCommitCallback([$entity, 'afterCommitCallback']); if ($entity->getResource() instanceof AbstractDb) { $entity->getResource()->unserializeFields($entity); } $entity->setHasDataChanges(false); } } *****************12***************** File: vendor/magento/framework/Event/Invoker/InvokerDefault.php Line: 72 Caller: Magento\Framework\Event\Invoker\InvokerDefault::_callObserverMethod Callee: Magento\Framework\EntityManager\Observer\AfterEntitySave::execute Context: protected function _callObserverMethod($object, $observer) { if ($object instanceof \Magento\Framework\Event\ObserverInterface) { $object->execute($observer); } elseif ($this->_appState->getMode() == \Magento\Framework\App\State::MODE_DEVELOPER) { throw new \LogicException( sprintf( 'Observer "%s" must implement interface "%s"', get_class($object), \Magento\Framework\Event\ObserverInterface::class ) ); *****************13***************** File: vendor/magento/framework/Event/Invoker/InvokerDefault.php Line: 60 Caller: Magento\Framework\Event\Invoker\InvokerDefault::dispatch Callee: Magento\Framework\Event\Invoker\InvokerDefault::_callObserverMethod Context: } if (isset($configuration['shared']) && false === $configuration['shared']) { $object = $this->_observerFactory->create($configuration['instance']); } else { $object = $this->_observerFactory->get($configuration['instance']); } $this->_callObserverMethod($object, $observer); } *****************14***************** File: vendor/magento/framework/Event/Manager.php Line: 66 Caller: Magento\Framework\Event\Manager::dispatch Callee: Magento\Framework\Event\Invoker\InvokerDefault::dispatch Context: $event = new \Magento\Framework\Event($data); $event->setName($eventName); $wrapper = new Observer(); $wrapper->setData(array_merge(['event' => $event], $data)); \Magento\Framework\Profiler::start('OBSERVER:' . $observerConfig['name']); $this->_invoker->dispatch($observerConfig, $wrapper); \Magento\Framework\Profiler::stop('OBSERVER:' . $observerConfig['name']); } \Magento\Framework\Profiler::stop('EVENT:' . $eventName); } *****************15***************** File: generated/code/Magento/Framework/Event/Manager/Proxy.php Line: 95 Caller: Magento\Framework\Event\Manager\Proxy::dispatch Callee: Magento\Framework\Event\Manager::dispatch Context: public function dispatch($eventName, array $data = array()) { return $this->_getSubject()->dispatch($eventName, $data); } *****************16***************** File: vendor/magento/framework/EntityManager/EventManager.php Line: 52 Caller: Magento\Framework\EntityManager\EventManager::dispatchEntityEvent Callee: Magento\Framework\Event\Manager\Proxy::dispatch Context: public function dispatchEntityEvent($entityType, $eventSuffix, array $data = []) { $this->eventManager->dispatch( $this->resolveEntityPrefix($entityType) . '_' . $eventSuffix, $data ); } *****************17***************** File: vendor/magento/framework/EntityManager/Operation/Update.php Line: 110 Caller: Magento\Framework\EntityManager\Operation\Update::execute Callee: Magento\Framework\EntityManager\EventManager::dispatchEntityEvent Context: 'entity' => $entity ] ); $this->eventManager->dispatchEntityEvent($entityType, 'save_before', ['entity' => $entity]); $entity = $this->updateMain->execute($entity, $arguments); $entity = $this->updateAttributes->execute($entity, $arguments); $entity = $this->updateExtensions->execute($entity, $arguments); $this->eventManager->dispatchEntityEvent($entityType, 'save_after', ['entity' => $entity]); $this->eventManager->dispatch( 'entity_manager_save_after', [ 'entity_type' => $entityType, 'entity' => $entity ] ); $connection->commit(); *****************18***************** File: vendor/magento/framework/EntityManager/EntityManager.php Line: 96 Caller: Magento\Framework\EntityManager\EntityManager::save Callee: Magento\Framework\EntityManager\Operation\Update::execute Context: } else { $operation = $this->operationPool->getOperation($entityType, 'create'); if (!($operation instanceof CreateInterface)) { throw new \LogicException(get_class($operation) . ' must implement ' . CreateInterface::class); } } try { $entity = $operation->execute($entity, $arguments); $this->callbackHandler->process($entityType); } catch (\Exception $e) { $this->callbackHandler->clear($entityType); throw $e; } return $entity; } *****************19***************** File: vendor/magento/module-catalog/Model/ResourceModel/Category.php Line: 1064 Caller: Magento\Catalog\Model\ResourceModel\Category::save Callee: Magento\Framework\EntityManager\EntityManager::save Context: public function save(\Magento\Framework\Model\AbstractModel $object) { $this->getEntityManager()->save($object); return $this; } *****************20***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 58 Caller: Magento\Catalog\Model\ResourceModel\Category::___callParent Callee: Magento\Catalog\Model\ResourceModel\Category::save Context: public function ___callParent($method, array $arguments) { return parent::$method(...array_values($arguments)); } *****************21***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 138 Caller: Magento\Catalog\Model\ResourceModel\Category::Magento\Framework\Interception\{closure} Callee: Magento\Catalog\Model\ResourceModel\Category::___callParent Context: $code = $currentPluginInfo[DefinitionInterface::LISTENER_AROUND]; $pluginInfo = $pluginList->getNext($type, $method, $code); $pluginInstance = $pluginList->getPlugin($type, $code); $pluginMethod = 'around' . $capMethod; $result = $pluginInstance->$pluginMethod($subject, $next, ...array_values($arguments)); } else { // Call original method $result = $subject->___callParent($method, $arguments); } if (isset($currentPluginInfo[DefinitionInterface::LISTENER_AFTER])) { // Call 'after' listeners foreach ($currentPluginInfo[DefinitionInterface::LISTENER_AFTER] as $code) { $pluginInstance = $pluginList->getPlugin($type, $code); $pluginMethod = 'after' . $capMethod; $result = $pluginInstance->$pluginMethod($subject, $result, ...array_values($arguments)); *****************22***************** File: vendor/magento/module-catalog-search/Model/Indexer/Fulltext/Plugin/Category.php Line: 43 Caller: Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Category::addCommitCallback Callee: Magento\Catalog\Model\ResourceModel\Category::Magento\Framework\Interception\{closure} Context: private function addCommitCallback(ResourceCategory $resourceCategory, \Closure $proceed, AbstractModel $category) { try { $resourceCategory->beginTransaction(); $result = $proceed($category); $resourceCategory->addCommitCallback(function () use ($category) { $affectedProducts = $category->getAffectedProductIds(); if (is_array($affectedProducts)) { $this->reindexList($affectedProducts); } }); $resourceCategory->commit(); } catch (\Exception $e) { *****************23***************** File: vendor/magento/module-catalog-search/Model/Indexer/Fulltext/Plugin/Category.php Line: 29 Caller: Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Category::aroundSave Callee: Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Category::addCommitCallback Context: public function aroundSave(ResourceCategory $resourceCategory, \Closure $proceed, AbstractModel $category) { return $this->addCommitCallback($resourceCategory, $proceed, $category); } *****************24***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 135 Caller: Magento\Catalog\Model\ResourceModel\Category::Magento\Framework\Interception\{closure} Callee: Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Category::aroundSave Context: if (isset($currentPluginInfo[DefinitionInterface::LISTENER_AROUND])) { // Call 'around' listener $code = $currentPluginInfo[DefinitionInterface::LISTENER_AROUND]; $pluginInfo = $pluginList->getNext($type, $method, $code); $pluginInstance = $pluginList->getPlugin($type, $code); $pluginMethod = 'around' . $capMethod; $result = $pluginInstance->$pluginMethod($subject, $next, ...array_values($arguments)); } else { // Call original method $result = $subject->___callParent($method, $arguments); } if (isset($currentPluginInfo[DefinitionInterface::LISTENER_AFTER])) { // Call 'after' listeners foreach ($currentPluginInfo[DefinitionInterface::LISTENER_AFTER] as $code) { *****************25***************** File: vendor/magento/framework/App/Cache/FlushCacheByTags.php Line: 68 Caller: Magento\Framework\App\Cache\FlushCacheByTags::aroundSave Callee: Magento\Catalog\Model\ResourceModel\Category::Magento\Framework\Interception\{closure} Context: public function aroundSave( \Magento\Framework\Model\ResourceModel\AbstractResource $subject, \Closure $proceed, \Magento\Framework\Model\AbstractModel $object ) { $result = $proceed($object); $tags = $this->tagResolver->getTags($object); $this->cleanCacheByTags($tags); return $result; } *****************26***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 135 Caller: Magento\Catalog\Model\ResourceModel\Category::Magento\Framework\Interception\{closure} Callee: Magento\Framework\App\Cache\FlushCacheByTags::aroundSave Context: if (isset($currentPluginInfo[DefinitionInterface::LISTENER_AROUND])) { // Call 'around' listener $code = $currentPluginInfo[DefinitionInterface::LISTENER_AROUND]; $pluginInfo = $pluginList->getNext($type, $method, $code); $pluginInstance = $pluginList->getPlugin($type, $code); $pluginMethod = 'around' . $capMethod; $result = $pluginInstance->$pluginMethod($subject, $next, ...array_values($arguments)); } else { // Call original method $result = $subject->___callParent($method, $arguments); } if (isset($currentPluginInfo[DefinitionInterface::LISTENER_AFTER])) { // Call 'after' listeners foreach ($currentPluginInfo[DefinitionInterface::LISTENER_AFTER] as $code) { *****************27***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 153 Caller: Magento\Catalog\Model\ResourceModel\Category::___callPlugins Callee: Magento\Catalog\Model\ResourceModel\Category::Magento\Framework\Interception\{closure} Context: $result = $pluginInstance->$pluginMethod($subject, $result, ...array_values($arguments)); } } return $result; }; $result = $next(...array_values($arguments)); $next = null; return $result; } *****************28***************** File: generated/code/Magento/Catalog/Model/ResourceModel/Category/Interceptor.php Line: 364 Caller: Magento\Catalog\Model\ResourceModel\Category::save Callee: Magento\Catalog\Model\ResourceModel\Category::___callPlugins Context: public function save(\Magento\Framework\Model\AbstractModel $object) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'save'); if (!$pluginInfo) { return parent::save($object); } else { return $this->___callPlugins('save', func_get_args(), $pluginInfo); } } *****************29***************** File: vendor/magento/framework/Model/AbstractModel.php Line: 647 Caller: Magento\Framework\Model\AbstractModel::save Callee: Magento\Catalog\Model\ResourceModel\Category::save Context: public function save() { $this->_getResource()->save($this); return $this; } *****************30***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 58 Caller: Wanexo\Mdlnavi\Model\Category::___callParent Callee: Magento\Framework\Model\AbstractModel::save Context: public function ___callParent($method, array $arguments) { return parent::$method(...array_values($arguments)); } *****************31***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 138 Caller: Wanexo\Mdlnavi\Model\Category::Magento\Framework\Interception\{closure} Callee: Wanexo\Mdlnavi\Model\Category::___callParent Context: $code = $currentPluginInfo[DefinitionInterface::LISTENER_AROUND]; $pluginInfo = $pluginList->getNext($type, $method, $code); $pluginInstance = $pluginList->getPlugin($type, $code); $pluginMethod = 'around' . $capMethod; $result = $pluginInstance->$pluginMethod($subject, $next, ...array_values($arguments)); } else { // Call original method $result = $subject->___callParent($method, $arguments); } if (isset($currentPluginInfo[DefinitionInterface::LISTENER_AFTER])) { // Call 'after' listeners foreach ($currentPluginInfo[DefinitionInterface::LISTENER_AFTER] as $code) { $pluginInstance = $pluginList->getPlugin($type, $code); $pluginMethod = 'after' . $capMethod; $result = $pluginInstance->$pluginMethod($subject, $result, ...array_values($arguments)); *****************32***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 153 Caller: Wanexo\Mdlnavi\Model\Category::___callPlugins Callee: Wanexo\Mdlnavi\Model\Category::Magento\Framework\Interception\{closure} Context: $result = $pluginInstance->$pluginMethod($subject, $result, ...array_values($arguments)); } } return $result; }; $result = $next(...array_values($arguments)); $next = null; return $result; } *****************33***************** File: generated/code/Wanexo/Mdlnavi/Model/Category/Interceptor.php Line: 1547 Caller: Wanexo\Mdlnavi\Model\Category::save Callee: Wanexo\Mdlnavi\Model\Category::___callPlugins Context: public function save() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'save'); if (!$pluginInfo) { return parent::save(); } else { return $this->___callPlugins('save', func_get_args(), $pluginInfo); } } *****************34***************** File: app/code/Wanexo/Mdlnavi/Controller/Adminhtml/Category/Save.php Line: 165 Caller: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::execute Callee: Wanexo\Mdlnavi\Model\Category::save Context: ); } else { throw new \Exception($error); } } } $category->unsetData('use_post_data_config'); $category->save(); $this->messageManager->addSuccess(__('You saved the category.')); } catch (\Magento\Framework\Exception\AlreadyExistsException $e) { $this->messageManager->addError($e->getMessage()); $this->_objectManager->get(\Psr\Log\LoggerInterface::class)->critical($e); $this->_getSession()->setCategoryData($categoryPostData); } catch (\Magento\Framework\Exception\LocalizedException $e) { $this->messageManager->addError($e->getMessage()); $this->_objectManager->get(\Psr\Log\LoggerInterface::class)->critical($e); *****************35***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 58 Caller: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::___callParent Callee: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::execute Context: public function ___callParent($method, array $arguments) { return parent::$method(...array_values($arguments)); } *****************36***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 138 Caller: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::Magento\Framework\Interception\{closure} Callee: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::___callParent Context: $code = $currentPluginInfo[DefinitionInterface::LISTENER_AROUND]; $pluginInfo = $pluginList->getNext($type, $method, $code); $pluginInstance = $pluginList->getPlugin($type, $code); $pluginMethod = 'around' . $capMethod; $result = $pluginInstance->$pluginMethod($subject, $next, ...array_values($arguments)); } else { // Call original method $result = $subject->___callParent($method, $arguments); } if (isset($currentPluginInfo[DefinitionInterface::LISTENER_AFTER])) { // Call 'after' listeners foreach ($currentPluginInfo[DefinitionInterface::LISTENER_AFTER] as $code) { $pluginInstance = $pluginList->getPlugin($type, $code); $pluginMethod = 'after' . $capMethod; $result = $pluginInstance->$pluginMethod($subject, $result, ...array_values($arguments)); *****************37***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 153 Caller: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::___callPlugins Callee: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::Magento\Framework\Interception\{closure} Context: $result = $pluginInstance->$pluginMethod($subject, $result, ...array_values($arguments)); } } return $result; }; $result = $next(...array_values($arguments)); $next = null; return $result; } *****************38***************** File: generated/code/Wanexo/Mdlnavi/Controller/Adminhtml/Category/Save/Interceptor.php Line: 26 Caller: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::execute Callee: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::___callPlugins Context: public function execute() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'execute'); if (!$pluginInfo) { return parent::execute(); } else { return $this->___callPlugins('execute', func_get_args(), $pluginInfo); } } *****************39***************** File: vendor/magento/framework/App/Action/Action.php Line: 107 Caller: Magento\Framework\App\Action\Action::dispatch Callee: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::execute Context: $eventParameters ); \Magento\Framework\Profiler::start($profilerKey); $result = null; if ($request->isDispatched() && !$this->_actionFlag->get('', self::FLAG_NO_DISPATCH)) { \Magento\Framework\Profiler::start('action_body'); $result = $this->execute(); \Magento\Framework\Profiler::start('postdispatch'); if (!$this->_actionFlag->get('', self::FLAG_NO_POST_DISPATCH)) { $this->_eventManager->dispatch( 'controller_action_postdispatch_' . $request->getFullActionName(), $eventParameters ); $this->_eventManager->dispatch( 'controller_action_postdispatch_' . $request->getRouteName(), *****************40***************** File: vendor/magento/module-backend/App/AbstractAction.php Line: 229 Caller: Magento\Backend\App\AbstractAction::dispatch Callee: Magento\Framework\App\Action\Action::dispatch Context: if ($this->_isUrlChecked()) { $this->_actionFlag->set('', self::FLAG_IS_URLS_CHECKED, true); } $this->_processLocaleSettings(); return parent::dispatch($request); } *****************41***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 58 Caller: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::___callParent Callee: Magento\Backend\App\AbstractAction::dispatch Context: public function ___callParent($method, array $arguments) { return parent::$method(...array_values($arguments)); } *****************42***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 138 Caller: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::Magento\Framework\Interception\{closure} Callee: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::___callParent Context: $code = $currentPluginInfo[DefinitionInterface::LISTENER_AROUND]; $pluginInfo = $pluginList->getNext($type, $method, $code); $pluginInstance = $pluginList->getPlugin($type, $code); $pluginMethod = 'around' . $capMethod; $result = $pluginInstance->$pluginMethod($subject, $next, ...array_values($arguments)); } else { // Call original method $result = $subject->___callParent($method, $arguments); } if (isset($currentPluginInfo[DefinitionInterface::LISTENER_AFTER])) { // Call 'after' listeners foreach ($currentPluginInfo[DefinitionInterface::LISTENER_AFTER] as $code) { $pluginInstance = $pluginList->getPlugin($type, $code); $pluginMethod = 'after' . $capMethod; $result = $pluginInstance->$pluginMethod($subject, $result, ...array_values($arguments)); *****************43***************** File: app/code/WeltPixel/Backend/Plugin/Utility.php Line: 76 Caller: WeltPixel\Backend\Plugin\Utility::aroundDispatch Callee: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::Magento\Framework\Interception\{closure} Context: $this->_response->setStatusHeader(403, '1.1', 'Forbidden'); $this->_view->loadLayout(['default', 'weltpixel_license_needed'], true, true, false); $this->_view->renderLayout(); $request->setDispatched(true); return $this->_response; } return $proceed($request); } *****************44***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 135 Caller: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::Magento\Framework\Interception\{closure} Callee: WeltPixel\Backend\Plugin\Utility::aroundDispatch Context: if (isset($currentPluginInfo[DefinitionInterface::LISTENER_AROUND])) { // Call 'around' listener $code = $currentPluginInfo[DefinitionInterface::LISTENER_AROUND]; $pluginInfo = $pluginList->getNext($type, $method, $code); $pluginInstance = $pluginList->getPlugin($type, $code); $pluginMethod = 'around' . $capMethod; $result = $pluginInstance->$pluginMethod($subject, $next, ...array_values($arguments)); } else { // Call original method $result = $subject->___callParent($method, $arguments); } if (isset($currentPluginInfo[DefinitionInterface::LISTENER_AFTER])) { // Call 'after' listeners foreach ($currentPluginInfo[DefinitionInterface::LISTENER_AFTER] as $code) { *****************45***************** File: vendor/magento/module-backend/App/Action/Plugin/Authentication.php Line: 143 Caller: Magento\Backend\App\Action\Plugin\Authentication::aroundDispatch Callee: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::Magento\Framework\Interception\{closure} Context: $baseUrl = \Magento\Framework\App\Request\Http::getUrlNoScript($this->backendUrl->getBaseUrl()); $baseUrl = $baseUrl . $backendApp->getStartupPage(); return $resultRedirect->setUrl($baseUrl); } } } $this->_auth->getAuthStorage()->refreshAcl(); return $proceed($request); } *****************46***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 135 Caller: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::Magento\Framework\Interception\{closure} Callee: Magento\Backend\App\Action\Plugin\Authentication::aroundDispatch Context: if (isset($currentPluginInfo[DefinitionInterface::LISTENER_AROUND])) { // Call 'around' listener $code = $currentPluginInfo[DefinitionInterface::LISTENER_AROUND]; $pluginInfo = $pluginList->getNext($type, $method, $code); $pluginInstance = $pluginList->getPlugin($type, $code); $pluginMethod = 'around' . $capMethod; $result = $pluginInstance->$pluginMethod($subject, $next, ...array_values($arguments)); } else { // Call original method $result = $subject->___callParent($method, $arguments); } if (isset($currentPluginInfo[DefinitionInterface::LISTENER_AFTER])) { // Call 'after' listeners foreach ($currentPluginInfo[DefinitionInterface::LISTENER_AFTER] as $code) { *****************47***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 153 Caller: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::___callPlugins Callee: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::Magento\Framework\Interception\{closure} Context: $result = $pluginInstance->$pluginMethod($subject, $result, ...array_values($arguments)); } } return $result; }; $result = $next(...array_values($arguments)); $next = null; return $result; } *****************48***************** File: generated/code/Wanexo/Mdlnavi/Controller/Adminhtml/Category/Save/Interceptor.php Line: 65 Caller: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::dispatch Callee: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::___callPlugins Context: public function dispatch(\Magento\Framework\App\RequestInterface $request) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'dispatch'); if (!$pluginInfo) { return parent::dispatch($request); } else { return $this->___callPlugins('dispatch', func_get_args(), $pluginInfo); } } *****************49***************** File: vendor/magento/framework/App/FrontController.php Line: 55 Caller: Magento\Framework\App\FrontController::dispatch Callee: Wanexo\Mdlnavi\Controller\Adminhtml\Category\Save::dispatch Context: foreach ($this->_routerList as $router) { try { $actionInstance = $router->match($request); if ($actionInstance) { $request->setDispatched(true); $this->response->setNoCacheHeaders(); if ($actionInstance instanceof \Magento\Framework\App\Action\AbstractAction) { $result = $actionInstance->dispatch($request); } else { $result = $actionInstance->execute(); } break; } } catch (\Magento\Framework\Exception\NotFoundException $e) { $request->initForward(); $request->setActionName('noroute'); *****************50***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 58 Caller: Magento\Framework\App\FrontController::___callParent Callee: Magento\Framework\App\FrontController::dispatch Context: public function ___callParent($method, array $arguments) { return parent::$method(...array_values($arguments)); } *****************51***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 138 Caller: Magento\Framework\App\FrontController::Magento\Framework\Interception\{closure} Callee: Magento\Framework\App\FrontController::___callParent Context: $code = $currentPluginInfo[DefinitionInterface::LISTENER_AROUND]; $pluginInfo = $pluginList->getNext($type, $method, $code); $pluginInstance = $pluginList->getPlugin($type, $code); $pluginMethod = 'around' . $capMethod; $result = $pluginInstance->$pluginMethod($subject, $next, ...array_values($arguments)); } else { // Call original method $result = $subject->___callParent($method, $arguments); } if (isset($currentPluginInfo[DefinitionInterface::LISTENER_AFTER])) { // Call 'after' listeners foreach ($currentPluginInfo[DefinitionInterface::LISTENER_AFTER] as $code) { $pluginInstance = $pluginList->getPlugin($type, $code); $pluginMethod = 'after' . $capMethod; $result = $pluginInstance->$pluginMethod($subject, $result, ...array_values($arguments)); *****************52***************** File: vendor/magento/framework/Interception/Interceptor.php Line: 153 Caller: Magento\Framework\App\FrontController::___callPlugins Callee: Magento\Framework\App\FrontController::Magento\Framework\Interception\{closure} Context: $result = $pluginInstance->$pluginMethod($subject, $result, ...array_values($arguments)); } } return $result; }; $result = $next(...array_values($arguments)); $next = null; return $result; } *****************53***************** File: generated/code/Magento/Framework/App/FrontController/Interceptor.php Line: 26 Caller: Magento\Framework\App\FrontController::dispatch Callee: Magento\Framework\App\FrontController::___callPlugins Context: public function dispatch(\Magento\Framework\App\RequestInterface $request) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'dispatch'); if (!$pluginInfo) { return parent::dispatch($request); } else { return $this->___callPlugins('dispatch', func_get_args(), $pluginInfo); } } *****************54***************** File: vendor/magento/framework/App/Http.php Line: 135 Caller: Magento\Framework\App\Http::launch Callee: Magento\Framework\App\FrontController::dispatch Context: public function launch() { $areaCode = $this->_areaList->getCodeByFrontName($this->_request->getFrontName()); $this->_state->setAreaCode($areaCode); $this->_objectManager->configure($this->_configLoader->load($areaCode)); /** @var \Magento\Framework\App\FrontControllerInterface $frontController */ $frontController = $this->_objectManager->get(\Magento\Framework\App\FrontControllerInterface::class); $result = $frontController->dispatch($this->_request); // TODO: Temporary solution until all controllers return ResultInterface (MAGETWO-28359) if ($result instanceof ResultInterface) { $this->registry->register('use_page_cache_plugin', true, true); $result->renderResult($this->_response); } elseif ($result instanceof HttpInterface) { $this->_response = $result; } else { throw new \InvalidArgumentException('Invalid return type'); *****************55***************** File: generated/code/Magento/Framework/App/Http/Interceptor.php Line: 24 Caller: Magento\Framework\App\Http::launch Callee: Magento\Framework\App\Http::launch Context: public function launch() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'launch'); if (!$pluginInfo) { return parent::launch(); } else { return $this->___callPlugins('launch', func_get_args(), $pluginInfo); } } *****************56***************** File: vendor/magento/framework/App/Bootstrap.php Line: 256 Caller: Magento\Framework\App\Bootstrap::run Callee: Magento\Framework\App\Http::launch Context: { try { try { \Magento\Framework\Profiler::start('magento'); $this->initErrorHandler(); $this->assertMaintenance(); $this->assertInstalled(); $response = $application->launch(); $response->sendResponse(); \Magento\Framework\Profiler::stop('magento'); } catch (\Exception $e) { \Magento\Framework\Profiler::stop('magento'); if (!$application->catchException($this, $e)) { throw $e; } } *****************57***************** File: pub/index.php Line: 37 Callee: Magento\Framework\App\Bootstrap::run Context: DirectoryList::MEDIA => [DirectoryList::URL_PATH => 'media'], DirectoryList::STATIC_VIEW => [DirectoryList::URL_PATH => 'static'], DirectoryList::UPLOAD => [DirectoryList::URL_PATH => 'media/upload'], ]; $bootstrap = \Magento\Framework\App\Bootstrap::create(BP, $params); /** @var \Magento\Framework\App\Http $app */ $app = $bootstrap->createApplication(\Magento\Framework\App\Http::class); $bootstrap->run($app);
It is related to https://github.com/royalwholesalecandy/core/issues/56, https://github.com/royalwholesalecandy/core/issues/86