pulibrary / special_collections

Deprecated - Special Collections ( formerly RBSC) Drupal 7 Project
https://library.princeton.edu/special-collections/
GNU General Public License v2.0
2 stars 0 forks source link

Can't deploy #777

Open sandbergja opened 1 month ago

sandbergja commented 1 month ago

Expected behavior

We can deploy

Actual behavior

Deploying fails to prod (we no longer have staging, since this site is only for temporary reference purposes):

Impact of this bug

Can't get changes to production, including security patches.

Acceptance criteria

Error msg

PHP Fatal error:  Uncaught Error: Call to undefined function cache_get() in /var/www/special_collections_cap/releases/20241022203005/includes/module.inc:763
Stack trace:
#0 /var/www/special_collections_cap/releases/20241022203005/includes/module.inc(963): module_implements()
#1 /var/www/special_collections_cap/releases/20241022203005/modules/system/system.module(2522): module_invoke_all()
#2 /var/www/special_collections_cap/releases/20241022203005/includes/theme.inc(798): _system_rebuild_theme_data()
#3 /var/www/special_collections_cap/releases/20241022203005/includes/theme.maintenance.inc(57): list_themes()
#4 /var/www/special_collections_cap/releases/20241022203005/includes/bootstrap.inc(2945): _drupal_maintenance_theme()
#5 /var/www/special_collections_cap/releases/20241022203005/includes/errors.inc(177): drupal_maintenance_theme()
#6 /var/www/special_collections_cap/releases/20241022203005/includes/bootstrap.inc(2670): _drupal_log_error()
#7 [internal function]: _drupal_exception_handler()
#8 {main}
  thrown in /var/www/special_collections_cap/releases/20241022203005/includes/module.inc on line 763
Drush command terminated abnormally due to an unrecoverable error.       [error]

Implementation notes, if any

See related ticket https://github.com/pulibrary/byzantine_translations/issues/62

kevinreiss commented 1 month ago

cache_get() is a core drupal function, this is a very odd error for drush to produce. It suggests the drupal environment is not properly available in the context of this error.