Not working for me I don't wanna write a module and I be able to use drupal functions in my custom php script by including the kernel and bootstap.inc. But when I import $user = \Drupal\user\Entity\User::create(); it returns 500. Any idea ..? Reply