dqp() causes fatal error. Wrong namespace for Database class

Created on 30 January 2014, almost 11 years ago
Updated 14 May 2023, over 1 year ago

Got this when calling the dpq() function:

Fatal error: Class 'Drupal\krumong\Database' not found in /web/drupal7/sites/all/modules/krumong/lib/Drupal/krumong/Devel.php on line 94

Fixed the code by using the global namespace for the Database class. Patch attached.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇨🇦Canada ttkaminski

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

Comments & Activities

Production build 0.71.5 2024