I have a site with Drupal 8. I am an anonymous user. I am visiting the page "Messaging" which is accessible only to the authenticated user. The page displays a code 403 with a block to connect me.
When I connect, I arrive on the homepage of the site.
I created a 403 custom page with a "Connect" button in a Twig file of my theme:
Submenu is not expanding on mouse click --- I followed all the normal steps to fix like going to main navigation block configuration Visibility level 2
I was using last years Bootstrap (after changing from Adaptivetheme) - from Bootstrap CDN - and Overwriting almost all styles I needed in my own styles.css ..... and often angry - that some Bootstrap CDN elements are trying to come into my CSS way... and also - that Bootstrap CDN seems loading a LOT of unnecessary staff for me, that I have to overwrite, and then - why is it even loading that unnecessary staff?!
So.... yesterday I downloaded Bootstrap library and put it locally.... my site is anyway on cloudflare.... so I hope the performance impact should be minimal....
So I have installed Twig Xdebug (https://www.drupal.org/project/twig_xdebug) and looking at the debugger, neither the image (field_example_image) nor its array (field_example_image['#items']) have a member called 'entity'. So where does the 'entity' coming from?