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


  • here is the solution which you faced the problem, might be helpful to you – Hitesh Oct 3 '18 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 Oct 3 '18 at 13:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.