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.
When Rules Forms module is updated from its 7.x-1.x version, the following error occurs during update:
Base table or view not found: 1146 Table 'sandbox.rules_forms' doesn't exist: SELECT rf.*
FROM
{rules_forms} rf; Array
(
)
This is caused by rules_forms_get_form_info always querying on the database.
Comments
Comment #3
caminadaf CreditAttribution: caminadaf at CI&T for Pfizer, Inc. commentedBefore using the rules_forms on get_form_info, I first checked if the table exists.
Also, instead of simply removing all the previously set forms, I migrate them to the rules_form table without any properties and rebuild = TRUE.