Noticed this in New relic logs; seems like apdqc_cron calls for apdqc_get_db_object which may not be included ahead of time since it lives in apdqc.mysql.inc.

Only seeing this sporadically so thinking this might be if the cachebackend isn't defined in the settings.php but the module is enabled on a site. Sound possible as the source of the issue?

CommentFileSizeAuthor
#2 apdqc-cron-hook-2567469-1.patch467 bytesbtopro

Comments

btopro created an issue. See original summary.

btopro’s picture

Status: Active » Needs review
StatusFileSize
new467 bytes

this should do it. simple check to make sure that function exists, if not it'll include the mysql file. This is only possible if you enable the module but don't actually have any cache bins setup, more to prevent someone from hurting them self :)

  • mikeytown2 committed c68533b on 7.x-1.x authored by btopro
    Issue #2567469 by btopro: apdqc_get_db_object error in apdqc_cron
    
mikeytown2’s picture

Status: Needs review » Fixed

Committed #2. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.