The hamburger button is located in the navigation bar and controls the drop-down menu. When clicked, the menu drops down and the hamburger button turns into an X
When you select a menu item, the desired page loads and the X button turns into a hamburger again. But if you click on the page or the navigation bar, the menu disappears, and the button does not rebuild and remains in the X. How can I fix this?
I have a bootstrap5 template for Drupal 11. In the button of the navigation bar I placed:
I have two php scripts within a CRUD module. The code to edit a custom table works with a url example.com/students100/edit/?id=1, correctly retrieving the database record and placing it in the edit form. This code runs from the edit_student routing entry below:
I am developing a custom module that has a block plugin. When the plugin runs, it sometimes adds or modifies a node. And when I call the save method, I sometimes (randomly) get an error:
Call to a member function getStorage() on null.
If no error occurs, the node is saved successfully.
I am using Drupal 10.4.6.