We upgraded our affirm module from to 3.6.1 from 3.4.1
After doing so, we received the error message:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ourdb.affirm_payrestriction_rule' doesn't exist, query was: SELECT `main_table`.* FROM `affirm_payrestriction_rule` AS `main_table` WHERE (`is_active` = '1')
This happened twice, once in dev and once in live. The fix both times was to remove the affirm_setup row from the core_resource table, flush the cache, and log into the admin panel.
Not sure why this would happen when we are accustomed to logging out, flushing cache, and logging back in before. But perhaps others are hitting this issue and the solution is here, but the developers may want to take a look should they be able to replicate it, as this shouldn't happen on normal update.
We upgraded our affirm module from to 3.6.1 from 3.4.1
After doing so, we received the error message:
This happened twice, once in dev and once in live. The fix both times was to remove the affirm_setup row from the core_resource table, flush the cache, and log into the admin panel.
Not sure why this would happen when we are accustomed to logging out, flushing cache, and logging back in before. But perhaps others are hitting this issue and the solution is here, but the developers may want to take a look should they be able to replicate it, as this shouldn't happen on normal update.