Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi. I I've installed Drupal-8.0.0-beta14 and using Linux on my AWS EC2. and RDS.
I can access the Admin Menu, and use Appearance and Modules features just fine, but when I try to add content or approve a test user in the admin/people, I get:
Fatal error: Call to a member function isForbidden() on boolean in /var/www/html/core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php on line 82
What can I do to resolve it?
Comments
Comment #2
dawehnerDo you might posting a backtrace which shows more context than that? It could be easily the problem that some contrib is doing the wrong thing, maybe admin_menu
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedI have the same problem on the final release
stacktrace:
1 0.0004 241952 {main}( ) ../index.php:0
2 0.0201 596960 Drupal\Core\DrupalKernel->handle( ) ../index.php:19
3 0.0549 1716128 Stack\StackedHttpKernel->handle( ) ../DrupalKernel.php:637
4 0.0549 1716240 Drupal\Core\StackMiddleware\NegotiationMiddleware->handle( ) ../StackedHttpKernel.php:23
5 0.0549 1716864 Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle( ) ../NegotiationMiddleware.php:55
6 0.0549 1717304 Drupal\ban\BanMiddleware->handle( ) ../ReverseProxyMiddleware.php:51
7 0.0551 1718256 Drupal\page_cache\StackMiddleware\PageCache->handle( ) ../BanMiddleware.php:55
8 0.0554 1728504 Drupal\page_cache\StackMiddleware\PageCache->pass( ) ../PageCache.php:82
9 0.0554 1728584 Drupal\Core\StackMiddleware\KernelPreHandle->handle( ) ../PageCache.php:103
10 0.1793 2086752 Drupal\Core\StackMiddleware\Session->handle( ) ../KernelPreHandle.php:53
11 0.1877 2243872 Symfony\Component\HttpKernel\HttpKernel->handle( ) ../Session.php:62
12 0.1877 2244824 Symfony\Component\HttpKernel\HttpKernel->handleRaw( ) ../HttpKernel.php:62
13 0.3490 5963072 call_user_func_array ( ) ../HttpKernel.php:139
14 0.3490 5963272 Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}( ) ../HttpKernel.php:139
15 0.3490 5963528 Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext( ) ../EarlyRenderingControllerWrapperSubscriber.php:102
16 0.3492 5975832 Drupal\Core\Render\Renderer->executeInRenderContext( ) ../EarlyRenderingControllerWrapperSubscriber.php:129
17 0.3492 5976240 Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}( ) ../Renderer.php:577
18 0.3492 5976288 call_user_func_array ( ) ../EarlyRenderingControllerWrapperSubscriber.php:128
19 0.3492 5976736 Drupal\node\Controller\NodeController->add( ) ../EarlyRenderingControllerWrapperSubscriber.php:128
20 0.4425 10002232 Drupal\Core\Entity\EntityFormBuilder->getForm( ) ../NodeController.php:118
21 0.4505 10221216 Drupal\Core\Form\FormBuilder->buildForm( ) ../EntityFormBuilder.php:53
22 0.5917 14830120 Drupal\Core\Form\FormBuilder->processForm( ) ../FormBuilder.php:319
23 0.5917 14835976 Drupal\Core\Form\FormBuilder->doBuildForm( ) ../FormBuilder.php:560
24 0.6121 15389472 Drupal\Core\Form\FormBuilder->doBuildForm( ) ../FormBuilder.php:1047
25 0.6122 15394552 Drupal\Core\Form\FormBuilder->doBuildForm( ) ../FormBuilder.php:1047
26 0.6122 15398448 Drupal\Core\Form\FormBuilder->doBuildForm( ) ../FormBuilder.php:1047
27 0.6123 15407408 Drupal\Core\Form\FormBuilder->doBuildForm( ) ../FormBuilder.php:1047
28 0.6124 15409216 Drupal\Core\Form\FormBuilder->handleInputElement( ) ../FormBuilder.php:977
29 0.6124 15410096 call_user_func_array ( ) ../FormBuilder.php:1260
30 0.6124 15410184 Drupal\Core\Entity\Element\EntityAutocomplete::valueCallback( ) ../FormBuilder.php:1260
31 0.6124 15410488 Drupal\Core\Entity\Element\EntityAutocomplete::getEntityLabels( ) ../EntityAutocomplete.php:76
32 0.6124 15411136 Drupal\Core\Entity\ContentEntityBase->access( ) ../EntityAutocomplete.php:299
33 0.6132 15423008 Drupal\Core\Entity\EntityAccessControlHandler->access( ) ../ContentEntityBase.php:596
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #5
tczaude CreditAttribution: tczaude commentedSubscribe this same problem
Comment #6
joshuautley CreditAttribution: joshuautley commentedI'm running 8.0.2 with the same problem. I can not view or edit my profile or view the people page.
Comment #7
tusharbodke CreditAttribution: tusharbodke as a volunteer and at Faichi Solutions Pvt Ltd commentedComment #8
borisson_I'm not sure that this belongs in the phpunit component, but it should be in the user module. I also don't think this still applies.
Comment #13
DanielVezaNo updates since 8.0 and no reproductions in the last 6 years. Lets close.
Comment #14
DanielVeza