cancel
Showing results for 
Search instead for 
Did you mean: 

Class texteditor does not exist

Class texteditor does not exist

Hello,

When I edit or create the client's address in the admin, I get this error.

I don't know what it depends on.

Can anybody help me?

 

Magento 2.3.5-p1

 

1 exception(s):
Exception #0 (ReflectionException): Class texteditor does not exist

Exception #0 (ReflectionException): Class texteditor does not exist
<pre>#1 Magento\Framework\Code\Reader\ClassReader->getConstructor('texteditor') called at [vendor/magento/framework/ObjectManager/Definition/Runtime.php:54]
#2 Magento\Framework\ObjectManager\Definition\Runtime->getParameters('texteditor') called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:100]
#3 Magento\Framework\ObjectManager\Factory\Compiled->create('texteditor', array('data' => array('name' => 'titulo', 'label' => &Magento\Framework\Phrase#000000003e06b76b000000003d02975e#, 'class' => '', 'required' => false))) called at [vendor/magento/framework/ObjectManager/ObjectManager.php:56]
#4 Magento\Framework\ObjectManager\ObjectManager->create('texteditor', array('data' => array('name' => 'titulo', 'label' => &Magento\Framework\Phrase#000000003e06b76b000000003d02975e#, 'class' => '', 'required' => false))) called at [vendor/magento/framework/Data/Form/Element/Factory.php:81]
#5 Magento\Framework\Data\Form\Element\Factory->create('texteditor', array('data' => array('name' => 'titulo', 'label' => &Magento\Framework\Phrase#000000003e06b76b000000003d02975e#, 'class' => '', 'required' => false))) called at [vendor/magento/framework/Data/Form/AbstractForm.php:157]
#6 Magento\Framework\Data\Form\AbstractForm->addField('titulo', 'texteditor', array('name' => 'titulo', 'label' => &Magento\Framework\Phrase#000000003e06b76b000000003d02975e#, 'class' => '', 'required' => false), false) called at [vendor/magento/framework/Data/Form/Element/Fieldset.php:214]
#7 Magento\Framework\Data\Form\Element\Fieldset->addField('titulo', 'texteditor', array('name' => 'titulo', 'label' => &Magento\Framework\Phrase#000000003e06b76b000000003d02975e#, 'class' => '', 'required' => false)) called at [vendor/magento/module-sales/Block/Adminhtml/Order/Create/Form/AbstractForm.php:180]
#8 Magento\Sales\Block\Adminhtml\Order\Create\Form\AbstractForm->_addAttributesToForm(array('prefix' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7c0000000003d02975e#, 'middlename' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7c3000000003d02975e#, 'suffix' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7c2000000003d02975e#, 'company' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7df000000003d02975e#, 'firstname' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7d8000000003d02975e#, 'lastname' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7d5000000003d02975e#, 'telephone' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7d6000000003d02975e#, 'vat_id' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7d1000000003d02975e#, 'street' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7d2000000003d02975e#, 'region' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7ed000000003d02975e#, 'region_id' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7ab000000003d02975e#, 'city' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7a4000000003d02975e#, 'country_id' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7a6000000003d02975e#, 'fax' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7a3000000003d02975e#, 'is_business_acco...' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7bc000000003d02975e#, 'nombre_factura' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7bf000000003d02975e#, 'rut' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7be000000003d02975e#, 'giro' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7b9000000003d02975e#, 'telefono_factura' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7b8000000003d02975e#, 'postcode' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7bb000000003d02975e#, 'titulo' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7ba000000003d02975e#, 'comentario' => &Magento\Customer\Model\Data\AttributeMetadata#000000003e06b7b5000000003d02975e#), &Magento\Framework\Data\Form\Element\Fieldset#000000003e06b6ef000000003d02975e#) called at [vendor/magento/module-sales/Block/Adminhtml/Order/Create/Form/Address.php:232]
#9 Magento\Sales\Block\Adminhtml\Order\Create\Form\Address->_prepareForm() called at [vendor/magento/module-sales/Block/Adminhtml/Order/Address/Form.php:109]
#10 Magento\Sales\Block\Adminhtml\Order\Address\Form->_prepareForm() called at [vendor/magento/module-sales/Block/Adminhtml/Order/Create/Form/AbstractForm.php:100]
#11 Magento\Sales\Block\Adminhtml\Order\Create\Form\AbstractForm->getForm() called at [vendor/magento/module-sales/view/adminhtml/templates/order/address/form.phtml:19]
#12 include('/home/nilfisks/p...') called at [vendor/magento/framework/View/TemplateEngine/Php.php:59]
#13 Magento\Framework\View\TemplateEngine\Php->render(&Magento\Sales\Block\Adminhtml\Order\Address\Form#000000003e06b48f000000003d02975e#, '/home/nilfisks/p...', array()) called at [vendor/magento/framework/View/Element/Template.php:271]
#14 Magento\Framework\View\Element\Template->fetchView('/home/nilfisks/p...') called at [vendor/magento/framework/View/Element/Template.php:301]
#15 Magento\Framework\View\Element\Template->_toHtml() called at [vendor/magento/module-backend/Block/Template.php:129]
#16 Magento\Backend\Block\Template->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1100]
#17 Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1104]
#18 Magento\Framework\View\Element\AbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:674]
#19 Magento\Framework\View\Element\AbstractBlock->toHtml() called at [vendor/magento/framework/View/Layout.php:566]
#20 Magento\Framework\View\Layout->_renderBlock('sales_order_addr...') called at [vendor/magento/framework/View/Layout.php:542]
#21 Magento\Framework\View\Layout->renderNonCachedElement('sales_order_addr...') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#22 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('sales_order_addr...') called at [vendor/magento/framework/View/Layout.php:497]
#23 Magento\Framework\View\Layout->renderElement('sales_order_addr...', true) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#24 Magento\Framework\View\Layout\Interceptor->renderElement('sales_order_addr...', true) called at [vendor/magento/framework/View/Element/AbstractBlock.php:521]
#25 Magento\Framework\View\Element\AbstractBlock->getChildHtml('form') called at [vendor/magento/module-backend/Block/Widget/Form/Container.php:197]
#26 Magento\Backend\Block\Widget\Form\Container->getFormHtml() called at [vendor/magento/module-backend/view/adminhtml/templates/widget/form/container.phtml:22]
#27 include('/home/nilfisks/p...') called at [vendor/magento/framework/View/TemplateEngine/Php.php:59]
#28 Magento\Framework\View\TemplateEngine\Php->render(&Magento\Sales\Block\Adminhtml\Order\Address#000000003e06bbeb000000003d02975e#, '/home/nilfisks/p...', array()) called at [vendor/magento/framework/View/Element/Template.php:271]
#29 Magento\Framework\View\Element\Template->fetchView('/home/nilfisks/p...') called at [vendor/magento/framework/View/Element/Template.php:301]
#30 Magento\Framework\View\Element\Template->_toHtml() called at [vendor/magento/module-backend/Block/Template.php:129]
#31 Magento\Backend\Block\Template->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1100]
#32 Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1104]
#33 Magento\Framework\View\Element\AbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:674]
#34 Magento\Framework\View\Element\AbstractBlock->toHtml() called at [vendor/magento/framework/View/Layout.php:566]
#35 Magento\Framework\View\Layout->_renderBlock('sales_order_addr...') called at [vendor/magento/framework/View/Layout.php:542]
#36 Magento\Framework\View\Layout->renderNonCachedElement('sales_order_addr...') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#37 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('sales_order_addr...') called at [vendor/magento/framework/View/Layout.php:497]
#38 Magento\Framework\View\Layout->renderElement('sales_order_addr...', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#39 Magento\Framework\View\Layout\Interceptor->renderElement('sales_order_addr...', false) called at [vendor/magento/framework/View/Layout.php:594]
#40 Magento\Framework\View\Layout->_renderContainer('content', false) called at [vendor/magento/framework/View/Layout.php:544]
#41 Magento\Framework\View\Layout->renderNonCachedElement('content') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#42 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('content') called at [vendor/magento/framework/View/Layout.php:497]
#43 Magento\Framework\View\Layout->renderElement('content', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#44 Magento\Framework\View\Layout\Interceptor->renderElement('content', false) called at [vendor/magento/framework/View/Layout.php:594]
#45 Magento\Framework\View\Layout->_renderContainer('main.col', false) called at [vendor/magento/framework/View/Layout.php:544]
#46 Magento\Framework\View\Layout->renderNonCachedElement('main.col') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#47 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main.col') called at [vendor/magento/framework/View/Layout.php:497]
#48 Magento\Framework\View\Layout->renderElement('main.col', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#49 Magento\Framework\View\Layout\Interceptor->renderElement('main.col', false) called at [vendor/magento/framework/View/Layout.php:594]
#50 Magento\Framework\View\Layout->_renderContainer('admin.scope.col....', false) called at [vendor/magento/framework/View/Layout.php:544]
#51 Magento\Framework\View\Layout->renderNonCachedElement('admin.scope.col....') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#52 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('admin.scope.col....') called at [vendor/magento/framework/View/Layout.php:497]
#53 Magento\Framework\View\Layout->renderElement('admin.scope.col....', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#54 Magento\Framework\View\Layout\Interceptor->renderElement('admin.scope.col....', false) called at [vendor/magento/framework/View/Layout.php:594]
#55 Magento\Framework\View\Layout->_renderContainer('page.main.contai...', false) called at [vendor/magento/framework/View/Layout.php:544]
#56 Magento\Framework\View\Layout->renderNonCachedElement('page.main.contai...') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#57 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.main.contai...') called at [vendor/magento/framework/View/Layout.php:497]
#58 Magento\Framework\View\Layout->renderElement('page.main.contai...', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#59 Magento\Framework\View\Layout\Interceptor->renderElement('page.main.contai...', false) called at [vendor/magento/framework/View/Layout.php:594]
#60 Magento\Framework\View\Layout->_renderContainer('page.content', false) called at [vendor/magento/framework/View/Layout.php:544]
#61 Magento\Framework\View\Layout->renderNonCachedElement('page.content') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#62 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.content') called at [vendor/magento/framework/View/Layout.php:497]
#63 Magento\Framework\View\Layout->renderElement('page.content', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#64 Magento\Framework\View\Layout\Interceptor->renderElement('page.content', false) called at [vendor/magento/framework/View/Layout.php:594]
#65 Magento\Framework\View\Layout->_renderContainer('page.wrapper', false) called at [vendor/magento/framework/View/Layout.php:544]
#66 Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#67 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.wrapper') called at [vendor/magento/framework/View/Layout.php:497]
#68 Magento\Framework\View\Layout->renderElement('page.wrapper', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#69 Magento\Framework\View\Layout\Interceptor->renderElement('page.wrapper', false) called at [vendor/magento/framework/View/Layout.php:594]
#70 Magento\Framework\View\Layout->_renderContainer('backend.page', false) called at [vendor/magento/framework/View/Layout.php:544]
#71 Magento\Framework\View\Layout->renderNonCachedElement('backend.page') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#72 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('backend.page') called at [vendor/magento/framework/View/Layout.php:497]
#73 Magento\Framework\View\Layout->renderElement('backend.page', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#74 Magento\Framework\View\Layout\Interceptor->renderElement('backend.page', false) called at [vendor/magento/framework/View/Layout.php:594]
#75 Magento\Framework\View\Layout->_renderContainer('root', false) called at [vendor/magento/framework/View/Layout.php:544]
#76 Magento\Framework\View\Layout->renderNonCachedElement('root') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#77 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('root') called at [vendor/magento/framework/View/Layout.php:497]
#78 Magento\Framework\View\Layout->renderElement('root', true) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#79 Magento\Framework\View\Layout\Interceptor->renderElement('root') called at [vendor/magento/framework/View/Layout.php:963]
#80 Magento\Framework\View\Layout->getOutput() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:492]
#81 Magento\Framework\View\Layout\Interceptor->getOutput() called at [vendor/magento/framework/View/Result/Page.php:258]
#82 Magento\Framework\View\Result\Page->render(&Magento\Framework\App\Response\Http\Interceptor#000000003e06bc62000000003d02975e#) called at [vendor/magento/framework/View/Result/Layout.php:171]
#83 Magento\Framework\View\Result\Layout->renderResult(&Magento\Framework\App\Response\Http\Interceptor#000000003e06bc62000000003d02975e#) called at [generated/code/Magento/Backend/Model/View/Result/Page/Interceptor.php:193]
#84 Magento\Backend\Model\View\Result\Page\Interceptor->renderResult(&Magento\Framework\App\Response\Http\Interceptor#000000003e06bc62000000003d02975e#) called at [vendor/magento/framework/App/Http.php:120]
#85 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24]
#86 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]
#87 Magento\Framework\App\Bootstrap->run(&Magento\Framework\App\Http\Interceptor#000000003e06bc7c000000003d02975e#) called at [index.php:39]
</pre>
Front End Developer - Magento experience
E-commerce Chile
Perla Simeone
2 REPLIES 2

Re: Class texteditor does not exist

Hi @Perla Simeone 

There might be some issue with the deployment.

Try the following command once:

find . -type d -exec chmod 755 {} \; && find . -type f -exec chmod 644 {} \; && chmod u+x bin/magento

You can use sudo as well.


Then try following commands once n sequence to re generations.

 

chmod -R 0777 var/ pub/ generated/
rm -rf var/cache/* var/view_preprocessed/* generated/* pub/static/*
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush


If still you got the same error then run

composer update

and run the above commands again in sequence.

I hope it will help you!

Re: Class texteditor does not exist

Hi @Perla Simeone,

 

You can try the following commands and check again. 

chmod -R 777 var pub generated
php bin/magento setup:upgrade 
php bin/magento setup:di:compile 
php bin/magento setup:static-content:deploy -f 
php bin/magento cache:flush 

Let me know if you need further assistance. Hope it helps! 

_____________

If issue solved, Click Kudos & Accept as Solution.

Marcus | LitExtension Expert
Shopping Cart Migration Service