Fatal error: Call to a member function access() on null in
Submitted by Lyuji on Tue, 02/20/2018 - 02:23
Forums:
Hi.
I have an issue with the anonymous user could not browse the node which created H5P contents.
I check online but couldn't find any solutions.
Does anybody know how to fix this?
Drupal 8.4.4, PHP 5.6.30 H5P latest,
>These are Error and the php line 1232
Fatal error: Call to a member function access() on null in
/home/oceasiac/public_html/xxxxxx/modules/h5p/src/H5PDrupal/H5PDrupal.php on line 1232
private static function mayCurrentUserUpdateNode($nid) {
return \Drupal\node\Entity\Node::load($nid)->access('update');
}
Lyuji
Tue, 02/20/2018 - 10:03
Permalink
I uninstalled Drupal itself
I uninstalled Drupal itself and install both of them, no more error.
BV52
Tue, 02/20/2018 - 11:46
Permalink
Hi Lyuji,I'm glad it's
Hi Lyuji,
I'm glad it's working for you now.
-BV52