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!

asked Oct 3, 2018 at 12:49
2
  • here is the solution which you faced the problem, might be helpful to you 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. 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/*

answered Oct 10, 2020 at 10:10

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.