I have a content type named "Event", which has a Date Range field where the user can specify a starting datetime and ending datetime.
I created a view to display these events, with two filters, one for the starting date and one for the ending date (without considering time). So I have the following problem:
I was doing a number of diverse tasks on a Drupal 8 site I am just finishing ...unexpectedly as I was trying to clear the cache, related to editing the the theme style.css this error suddenly comes up, for the second time in the last 1.5 hours.
Prior to that, I was for example trying to create a menu link for some page, when I suddenly had an error to the effect that an unexpected error has come up and that I should try later. .. something like: "An unforeseen error has occurred on the website. Please try again later."
I have a content type of "doctors" which has attributes and we use view modes to change how this entity is displayed.
For Drupal 8, I need to also show different forms of directories for these doctor entities. In my module I can query the doctor entities dynamically but I don't need all the fields to show.
I thought I could create an additional view_mode like a teaser and use hook_entity_view_mode_alter() to change the child doctor view modes, but the more I look at it that function will only affect the parent directory content type view mode and not the child entities.
I'm trying to theme a Drupal 8 site. I have my .info file inside my theme folder. Alone this works (shows up under appearance menu). When I add css and js files via the *.libraries.yml file, include the library in the .info file, I get this error-