Fix creating H5P node when logged in as Authenticated User.
Message from user:
When I'm trying to add h5p content as admin user everything works fine,
but, if I'm trying to create h5p content as standart authenticated user I get internal server error 500 avter saving node :/
The error inside php debugging is:
Fatal error: Call to a member function access() on null in /home/user/web/mysite.com/public_html/modules/h5p/src/H5PDrupal/H5PDrupal.php on line 1232
I'm already checked permissions for h5p module and everything looks fine. See Attachments.
Also, the content(node) is created, I see it as Admin and even can edit it, but as Authenticated user(or Anonymous user) can't - again Error 500 :S
See https://h5p.org/node/201232 for more info.