Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you have a module or theme with .info file, but you've missed the "name" property, you will receive a PDOException begining with this:
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'title' cannot be null: INSERT INTO {menu_router}…
As a result, your menu items will be missing, and the URLs like /admin/index or /admin/settings will be empty.
The pb with the solution, is a simple error msg is not enough, i suggest the name "Untitled" when the "name" property is missing.
Comments
Comment #1
chx CreditAttribution: chx commented