My form works well with the main theme, but in seven (admin theme) I get this error :
Deprecated: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Drupal\mais\Form\annuaireForm::usernameValidateCallback() should not be called statically in /home/almedest/public_html/dev/mais/core/lib/Drupal/Core/Form/FormAjaxResponseBuilder.php on line 69
I wonder if it's a callback reason (used of addCommand) or the call of the callback
I am trying to hide my login page. There is a module to overwrite the user path for that (rename admin paths) and that works fine except that the path to my login is displayed on basically every pages source.
For instance the class "comment__meta" in comments.html.twig prints the author information :
Hello!
I need to install the nodejs module for the chatroom module. Node.js is installed on the server, drupal-nodejs is installed according to the instructions: https://github.com/beejeebus/drupal-nodejs, the config is below: