Error when enabling and uninstalling quant_purger

Created on 27 July 2023, 11 months ago
Updated 31 July 2023, 11 months ago

Problem/Motivation

Noticed this error when I was testing something else. It happens on the dev branch.

Kristens-MacBook-Pro:quant_purger kristenpol$ git checkout 8.x-1.x
Switched to branch '8.x-1.x'
Your branch is up to date with 'origin/8.x-1.x'.
Kristens-MacBook-Pro:quant_purger kristenpol$ ddev drush pm:uninstall quant_purger

In ExceptionHandler.php line 53:
                                                                                                                              
  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db.purge_queuer_quant' doesn't exist: SELECT "q"."url" AS "url"  
  FROM                                                                                                                        
  "purge_queuer_quant" "q"                                                                                                    
  WHERE "tags" LIKE :db_condition_placeholder_0 ESCAPE '\\'; Array                                                            
  (                                                                                                                           
      [:db_condition_placeholder_0] => %;config:core.extension;%                                                              
  )                                                                                                                           
                                                                                                                              

In StatementWrapper.php line 145:
                                                                                                   
  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db.purge_queuer_quant' doesn't exist  
                                                                                                   

Failed to run drush pm:uninstall quant_purger: exit status 1
Kristens-MacBook-Pro:quant_purger kristenpol$ ddev drush pm:uninstall quant_purger
 [success] Successfully uninstalled: quant_purger
Kristens-MacBook-Pro:quant_purger kristenpol$ ddev drush pm:enable quant_purger

In ExceptionHandler.php line 53:
                                                                                                                              
  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db.purge_queuer_quant' doesn't exist: SELECT "q"."url" AS "url"  
  FROM                                                                                                                        
  "purge_queuer_quant" "q"                                                                                                    
  WHERE "tags" LIKE :db_condition_placeholder_0 ESCAPE '\\'; Array                                                            
  (                                                                                                                           
      [:db_condition_placeholder_0] => %;config:core.extension;%                                                              
  )                                                                                                                           
                                                                                                                              

In StatementWrapper.php line 145:
                                                                                                   
  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db.purge_queuer_quant' doesn't exist  
                                                                                                   

Failed to run drush pm:enable quant_purger: exit status 1
Kristens-MacBook-Pro:quant_purger kristenpol$ ddev drush pm:enable quant_purger
 [notice] Already enabled: quant_purger

Steps to reproduce

See above.

Proposed resolution

Debug and fix.

Remaining tasks

  1. Debug
  2. Update code
  3. Review and test
  4. Commit :)

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇺🇸United States Kristen Pol Santa Cruz, CA, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024