2

When I open the category page on the admin and when I try to edit category I got the below error:

Fatal error: Method Magento\Ui\TemplateEngine\Xhtml\Result::__toString() must not throw an exception, caught Error: Cannot use string offset as an array in /vendor/magento/module-ui/Component/Wrapper/UiComponent.php on line 0

Do you have any idea how we can solve it!

Your answers are appreciated

Thanks!

2
  • here is the solution which you faced the problem, might be helpful to you
    – Hitesh
    Commented Oct 3, 2018 at 12:52
  • Hi @Hit's I am not using the custom module I have an issue on the category section when I click on it.
    – Rajan Soni
    Commented Oct 3, 2018 at 13:11

1 Answer 1

1

Just remove the generated folder.

In the magento root directory run this

rm -rf generated/*

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.