Account created on 13 June 2023, over 1 year ago
#

Recent comments

#12, you can add this in the .module file of your module folder. This is the file we use to add the hook_form_alters, and other hooks.

Hi @smethawee, did you solve this error? I'm getting the same error when I clicked on /admin/modules/uninstall

Hi @smethawee,
did you solve this error? I'm facing the same issue when I clicked on /admin/modules/uninstall

Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dg8_10.content_moderation_state' doesn't exist: SELECT "base_table"."revision_id" AS "revision_id", "base_table"."id" AS "id" FROM "content_moderation_state" "base_table" GROUP BY "base_table"."revision_id", "base_table"."id" LIMIT 1 OFFSET 0; Array ( ) in Drupal\Core\Entity\Query\Sql\Query->result() (line 271 of core\lib\Drupal\Core\Entity\Query\Sql\Query.php).

Hi @coaston, which module did you change it in? I'm facing a similar thing

The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">Symfony\Component\Routing\Exception\RouteNotFoundException</em>: Route &quot;menu_token.available_entities_configuration_form&quot; does not exist. in <em class="placeholder">Drupal\Core\Routing\RouteProvider-&gt;getRouteByName()</em> (line <em class="placeholder">201</em> of <em class="placeholder">core\lib\Drupal\Core\Routing\RouteProvider.php</em>).

To resolve this error, go to your database and run the SQL query:
SELECT * FROM menu_tree WHERE route_name="menu_token.available_entities_configuration_form";
And delete that entry.

Site should be working fine

Production build 0.71.5 2024