I get this error when I try to create a block.

Fatal error: Call to undefined function dpm() in /home/.pie/xxx/xxx/modules/gmap_blocks/gmap_blocks.admin.inc on line 104

I have successfully added locations, but when I click on Add block, I get the error. I have run update.php and have run a cron.

Comments

mstrelan’s picture

Simply edit that file (gmap_blocks.admin.inc) and delete line 104. Calls to dpm() should not be left in released modules. Alternatively wrap it in the following:

<?php
if (function_exists('dpm')) {
  dpm($edit);
}
?>

Or alternatively install the Devel module and dpm will exist.

pajamajeremy’s picture

I deleted line 104 and it works. Thanks!

skilip’s picture

Status: Active » Patch (to be ported)
StatusFileSize
new933 bytes

This sure is a bug. I totally forgot to delete that line.

michaelk’s picture

Can this patch be pushed into the repository?

paskainos’s picture

Has this patch been ported yet?

karens’s picture

Status: Patch (to be ported) » Reviewed & tested by the community

Mis-marked, this is not ready to be ported, it is ready to be committed.

dboulet’s picture

StatusFileSize
new1 KB

Here is a patch for 7.x.

jvandooren’s picture

Apparently still not committed to the Drupal 6 version...

paul555’s picture

subscribe

oostie’s picture

Status: Reviewed & tested by the community » Closed (fixed)