Multisite localhost

Hello, I’m trying to install my first multisite. So in my var/www/html i unziped drupal, and then in sites i created a filder site1 with a setting.php. After that i created a symlink in /var/www/html/drupal/ (ln -s drupal site1) BUT i got this error when[…]

Node Create Variables

Hello, I want to create a node programmatically but it’s not working with this code : $autoloader = require_once ‘autoload.php’; $kernel = new DrupalKernel(‘prod’, $autoloader); $request = Request::createFromGlobals(); $response = $kernel->handle($request); $response->send(); $caracteristiques = $bdd3->prepare(“SELECT node.type, node__body.langcode, title, body_value, body_format FROM node, node__body, node_field_data WHERE[…]