-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fatal error at admin customer edit #13213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Running into the same issue. A user with admin privileges can edit customer just fine, but a user with custom access (Sales/Orders, Customers, System/Notifications) cannot access Edit Customer page. After clicking Edit link on the customer grid, the page fails to load. Fatal error is found in php log (the same error as reported in the original post.) Magento ver. 2.2.0 |
@kevincream, thank you for your report. |
We have the same issue. |
We had the same issue. I tracked it down to the following block definition in I didn't have the time yet to find a good solution, For now I commented out this block as we don't use newsletters in our shop. But this is only a hacky fix and not the final solution
|
Workaround is: Permissions -> User Roles give your user following permissions: |
@martinhetschel doesn't work for me, unfortunately... |
@martinhetschel It works with permissions set like that, thanks ! However adding those marketing ones wasn't a fix. Was something within "sales" or "catalog" for me. (running 2.2.0) |
This issue has been resolved here Pull Request #12661 and it's already released with version 2.2.4 |
Preconditions
Steps to reproduce
Expected result
Actual result
Fatal error: Uncaught TypeError: Argument 2 passed to Magento\Ui\Component\HtmlContent::__construct() must implement interface Magento\Framework\View\Element\BlockInterface, boolean given, called in /home/bennies/domains/fiftiesstore.staging.web26.cream.nl/public_html/releases/20180112105829/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 111 and defined in /home/bennies/domains/fiftiesstore.staging.web26.cream.nl/public_html/releases/20180112105829/vendor/magento/module-ui/Component/HtmlContent.php:27 Stack trace: #0 /home/bennies/domains/fiftiesstore.staging.web26.cream.nl/public_html/releases/20180112105829/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): Magento\Ui\Component\HtmlContent->__construct(Object(Magento\Framework\View\Element\UiComponent\Context), false, Array, Array) #1 /home/bennies/domains/fiftiesstore.staging.web26.cream.nl/public_html/releases/20180112105829/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManag in /home/bennies/domains/fiftiesstore.staging.web26.cream.nl/public_html/releases/20180112105829/vendor/magento/module-ui/Component/HtmlContent.php on line 27
The text was updated successfully, but these errors were encountered: