I have a TWIG template in Drupal 8. The "dangers" value is incremented according to the result of each view. How to display the TWIG code if the result of "dangers" is not 0
Drupal redirects to /core/install.php when I try to open page including a SQLite query
I have a Drupal site on a web server. On one page of the site, I want to print out information from a sqlite database. But if I enter the url to the page, I get redirected to /core/install.php
I integrated the database into the /sites/defualt/settings.php with the following code:
Hi, I am a noob so please excuse what may be very silly questions & I read all the documentation I could find. I also looked for a Drupalvm specific forum but couldn't find one (no recent replies on the youtube vid).
My current plan is to use Drupalvm which "will install the following on an Ubuntu 18.04 (by default) linux VM" after I install Vagrant, Ansible, & download Drupalvm.
I spent about 10 years working with Drupal in various capacities but I've been away from it for two years. Now I'd like to get back to it but don't know where to start. I see Drupal 9 is out and would like to start a fresh D9 site but my trusted Dev Desktop does not allow me to run it because I don't have the required PHP version (7.2, 7.3, or something). My Macbook is running PHP 7.1.33. I've been looking for the simplest way to upgrade my local PHP but I've only found one way and it's complicated, so I'd like to put that aside for now.
This present bug occurs on one of my D8 sites in preproduction, and also at a Drupal developer friend's personal site. Here is the code for my menu links in Navigation menu (with 'main' as machine name):