Cron crashes with Fatal error: Call to undefined function dsm() in….

Fatal error: Call to undefined function dsm() in /home/content/63/10229663/html/sites/all/modules/ed_classified/modules/classified_notifications/classified_notifications.module on line 188

Here is the offending line of code:

182 /**

183 * Callback for cron to send queues mail jobs.
184 *
185 * @param array $job
186 */
187 function classified_notifications_deliver($job) {
188   dsm($job, __FUNCTION__);
189   drupal_mail_system('classified_notifications', $job['key'])->mail($job['message']);
190 }
Here just comment or remove 188 line will help you for sure 🙂
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s