gpt4 book ai didi

magento - Stripe Payment - 卸载噩梦

转载 作者:行者123 更新时间:2023-12-05 02:56:50 25 4
gpt4 key购买 nike

我尝试使用此处的安装指南安装 STRIPE PAYMENT:

https://stripe.com/docs/plugins/magento/install

安装失败,我尝试卸载它。我以为它永远消失了,但每当我尝试访问“简单产品”时,我都会收到以下错误消息:

1 exception(s):

异常 #0 (ReflectionException):类 StripeIntegration\Payments\Model\Adminhtml\Source\BillingInterval 不存在

异常 #0 (ReflectionException):类 StripeIntegration\Payments\Model\Adminhtml\Source\BillingInterval 不存在

#1 Magento\Framework\Code\Reader\ClassReader->getConstructor('StripeIntegratio...') called at [vendor/magento/framework/ObjectManager/Definition/Runtime.php:49]#2 Magento\Framework\ObjectManager\Definition\Runtime->getParameters('StripeIntegratio...') called at [vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:48]#3 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('StripeIntegratio...', array()) called at [vendor/magento/framework/ObjectManager/ObjectManager.php:56]#4 Magento\Framework\ObjectManager\ObjectManager->create('StripeIntegratio...', array()) called at [vendor/magento/framework/Validator/UniversalFactory.php:36]#5 Magento\Framework\Validator\UniversalFactory->create('StripeIntegratio...') called at [vendor/magento/module-eav/Model/Entity/Attribute/AbstractAttribute.php:641]#6 Magento\Eav\Model\Entity\Attribute\AbstractAttribute->getSource() called at [generated/code/Magento/Catalog/Model/ResourceModel/Eav/Attribute/Interceptor.php:1181]#7 Magento\Catalog\Model\ResourceModel\Eav\Attribute\Interceptor->getSource() called at [vendor/magento/module-catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php:679]#8 Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav->setupAttributeMeta(&Magento\Catalog\Model\ResourceModel\Eav\Attribute\Interceptor#000000002ca4b786000000004a5cc590#, 'subscriptions-by...', 1) called at [vendor/magento/module-catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php:397]#9 Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav->getContainerChildren(&Magento\Catalog\Model\ResourceModel\Eav\Attribute\Interceptor#000000002ca4b786000000004a5cc590#, 'subscriptions-by...', 1) called at [vendor/magento/module-catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php:370]#10 Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav->addContainerChildren(array('arguments' => array('data' => array('config' => array('formElement' => 'container', 'componentType' => 'container', 'breakLine' => false, 'label' => 'Frequency', 'required' => 0)))), &Magento\Catalog\Model\ResourceModel\Eav\Attribute\Interceptor#000000002ca4b786000000004a5cc590#, 'subscriptions-by...', 1) called at [vendor/magento/module-catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php:345]#11 Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav->getAttributesMeta(array(&Magento\Catalog\Model\ResourceModel\Eav\Attribute\Interceptor#000000002ca4b785000000004a5cc590#, &Magento\Catalog\Model\ResourceModel\Eav\Attribute\Interceptor#000000002ca4b786000000004a5cc590#, &Magento\Catalog\Model\ResourceModel\Eav\Attribute\Interceptor#000000002ca4b78b000000004a5cc590#, &Magento\Catalog\Model\ResourceModel\Eav\Attribute\Interceptor#000000002ca4b78c000000004a5cc590#, &Magento\Catalog\Model\ResourceModel\Eav\Attribute\Interceptor#000000002ca4b78d000000004a5cc590#), 'subscriptions-by...') called at [vendor/magento/module-catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php:305]#12 Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav->modifyMeta(array('product-details' => array('children' => array('container_status' => array('arguments' => array('data' => array('config' => *(Very long code error message #13/#14)*#15 Magento\Framework\View\Element\UiComponentFactory->create('product_form', NULL, array('context' => &Magento\Framework\View\Element\UiComponent\Context#000000002ca4ba2f000000004a5cc590#, 'structure' => &Magento\Framework\View\Layout\Data\Structure#000000002ca4b222000000004a5cc590#)) called at [vendor/magento/framework/View/Layout/Generator/UiComponent.php:140]#16 Magento\Framework\View\Layout\Generator\UiComponent->generateComponent(&Magento\Framework\View\Layout\Data\Structure#000000002ca4b222000000004a5cc590#, 'product_form', array('attributes' => array('group' => '', 'component' => '', 'aclResource' => '', 'visibilityCondit...' => array())), &Magento\Framework\View\Layout\Interceptor#000000002ca4b24c000000004a5cc590#) called at [vendor/magento/framework/View/Layout/Generator/UiComponent.php:102]#17 Magento\Framework\View\Layout\Generator\UiComponent->process(&Magento\Framework\View\Layout\Reader\Context#000000002ca4b67d000000004a5cc590#, &Magento\Framework\View\Layout\Generator\Context#000000002ca4b635000000004a5cc590#) called at [vendor/magento/framework/View/Layout/GeneratorPool.php:81]#18 Magento\Framework\View\Layout\GeneratorPool->process(&Magento\Framework\View\Layout\Reader\Context#000000002ca4b67d000000004a5cc590#, &Magento\Framework\View\Layout\Generator\Context#000000002ca4b635000000004a5cc590#) called at [vendor/magento/framework/View/Layout.php:343]#19 Magento\Framework\View\Layout->generateElements() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:89]#20 Magento\Framework\View\Layout\Interceptor->generateElements() called at [vendor/magento/framework/View/Layout/Builder.php:129]#21 Magento\Framework\View\Layout\Builder->generateLayoutBlocks() called at [vendor/magento/framework/View/Page/Builder.php:55]#22 Magento\Framework\View\Page\Builder->generateLayoutBlocks() called at [vendor/magento/framework/View/Layout/Builder.php:65]#23 Magento\Framework\View\Layout\Builder->build() called at [vendor/magento/framework/View/Layout.php:253]#24 Magento\Framework\View\Layout->build() called at [vendor/magento/framework/View/Layout.php:875]#25 Magento\Framework\View\Layout->getBlock('menu') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:414]#26 Magento\Framework\View\Layout\Interceptor->getBlock('menu') called at [vendor/magento/module-backend/Model/View/Result/Page.php:26]#27 Magento\Backend\Model\View\Result\Page->setActiveMenu('Magento_Catalog:...') called at [generated/code/Magento/Backend/Model/View/Result/Page/Interceptor.php:24]#28 Magento\Backend\Model\View\Result\Page\Interceptor->setActiveMenu('Magento_Catalog:...') called at [vendor/magento/module-catalog/Controller/Adminhtml/Product/Edit.php:71]#29 Magento\Catalog\Controller\Adminhtml\Product\Edit->execute() called at [generated/code/Magento/Catalog/Controller/Adminhtml/Product/Edit/Interceptor.php:24]#30 Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor->execute() called at [vendor/magento/framework/App/Action/Action.php:108]#31 Magento\Framework\App\Action\Action->dispatch(&Magento\Framework\App\Request\Http#000000002ca4b1bc000000004a5cc590#) called at [vendor/magento/module-backend/App/AbstractAction.php:231]#32 Magento\Backend\App\AbstractAction->dispatch(&Magento\Framework\App\Request\Http#000000002ca4b1bc000000004a5cc590#) called at [vendor/magento/framework/Interception/Interceptor.php:58]#33 Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor->___callParent('dispatch', array(&Magento\Framework\App\Request\Http#000000002ca4b1bc000000004a5cc590#)) called at [vendor/magento/framework/Interception/Interceptor.php:138]#34 Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#000000002ca4b1bc000000004a5cc590#) called at [vendor/magento/module-backend/App/Action/Plugin/Authentication.php:143]#35 Magento\Backend\App\Action\Plugin\Authentication->aroundDispatch(&Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor#000000002ca4b563000000004a5cc590#, &Closure#000000002ca4b56b000000004a5cc590#, &Magento\Framework\App\Request\Http#000000002ca4b1bc000000004a5cc590#) called at [vendor/magento/framework/Interception/Interceptor.php:135]#36 Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#000000002ca4b1bc000000004a5cc590#) called at [vendor/magento/framework/Interception/Interceptor.php:153]#37 Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor->___callPlugins('dispatch', array(&Magento\Framework\App\Request\Http#000000002ca4b1bc000000004a5cc590#), NULL) called at [generated/code/Magento/Catalog/Controller/Adminhtml/Product/Edit/Interceptor.php:39]#38 Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor->dispatch(&Magento\Framework\App\Request\Http#000000002ca4b1bc000000004a5cc590#) called at [vendor/magento/framework/App/FrontController.php:159]#39 Magento\Framework\App\FrontController->processRequest(&Magento\Framework\App\Request\Http#000000002ca4b1bc000000004a5cc590#, &Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor#000000002ca4b563000000004a5cc590#) called at [vendor/magento/framework/App/FrontController.php:99]#40 Magento\Framework\App\FrontController->dispatch(&Magento\Framework\App\Request\Http#000000002ca4b1bc000000004a5cc590#) called at [vendor/magento/framework/Interception/Interceptor.php:58]#41 Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', array(&Magento\Framework\App\Request\Http#000000002ca4b1bc000000004a5cc590#)) called at [vendor/magento/framework/Interception/Interceptor.php:138]#42 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#000000002ca4b1bc000000004a5cc590#) called at [vendor/magento/framework/Interception/Interceptor.php:153]#43 Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', array(&Magento\Framework\App\Request\Http#000000002ca4b1bc000000004a5cc590#), array(array('default_store_se...', 'page_cache_from_...', 'storeCookieValid...', 'install', 'configHash'))) called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26]#44 Magento\Framework\App\FrontController\Interceptor->dispatch(&Magento\Framework\App\Request\Http#000000002ca4b1bc000000004a5cc590#) called at [vendor/magento/framework/App/Http.php:136]#45 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24]#46 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:258]#47 Magento\Framework\App\Bootstrap->run(&Magento\Framework\App\Http\Interceptor#000000002ca4b1fe000000004a5cc590#) called at [index.php:39]

我不知道我在这里错过了什么。我在后端或服务器文件中找不到 STRIPE 的踪迹。

非常欢迎任何建议......!

真诚的,托马斯

最佳答案

我们遇到了同样的问题。模块 StripeIntegration(设置版本 1.6.0)在数据库中留下了一些痕迹。

首先是表格:

stripe_customers

stripe_webhooks

在我们的例子中,这些都是空的,没有与任何东西交互。导致错误的原因是 eav_attribute 表中的一条记录。你的安装可能不一样,但是我们通过查询找到了:

SELECT * FROM eav_attribute WHERE source_model LIKE '%StripeIntegration%';

这应该会显示记录。作为奖励,您可以在记录本身中看到类规范 (StripeIntegration\Payments\Model\Adminhtml\Source\BillingInterval)。我们删除了这条记录,之前出错的一切都正常了。我们最终没有在数据库中对该属性有任何引用,但是,如果您这样做,可能会使删除变得更加复杂。

关于magento - Stripe Payment - 卸载噩梦,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60096611/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com