diff --git a/plugins/FeedsProcessor.inc b/plugins/FeedsProcessor.inc
index c68833475c06b15312eb7d50c24bf42ddd8da4da..f1a5e8563526e3cfe7ef704b68b92755034e07c5 100644
--- a/plugins/FeedsProcessor.inc
+++ b/plugins/FeedsProcessor.inc
@@ -378,7 +378,8 @@ abstract class FeedsProcessor extends FeedsPlugin {
     self::loadMappers();
     foreach ($this->config['mappings'] as $mapping) {
       // Retrieve source element's value from parser.
-      if (is_array($sources[$this->id][$mapping['source']]) &&
+      if (isset($sources[$this->id][$mapping['source']]) &&
+          is_array($sources[$this->id][$mapping['source']]) &&
           isset($sources[$this->id][$mapping['source']]['callback']) &&
           function_exists($sources[$this->id][$mapping['source']]['callback'])) {
         $callback = $sources[$this->id][$mapping['source']]['callback'];
@@ -389,7 +390,8 @@ abstract class FeedsProcessor extends FeedsPlugin {
       }
 
       // Map the source element's value to the target.
-      if (is_array($targets[$this->id][$mapping['target']]) &&
+      if (isset($targets[$this->id][$mapping['target']]) &&
+          is_array($targets[$this->id][$mapping['target']]) &&
           isset($targets[$this->id][$mapping['target']]['callback']) &&
           function_exists($targets[$this->id][$mapping['target']]['callback'])) {
         $callback = $targets[$this->id][$mapping['target']]['callback'];