MV Error in TDDP BindPicturesToMap RpgMaker MV

I'm having problems with TDDP BindPicturesToMap
When I start the game this error appears in the image. Does anyone know how to fix it?


1724970765839.png
1724970718985.png
Seems to be an issue with Ocram passages. Does this happen with bind pictures to map off?

Could be a compatibility issue between ocram passages and bind pictures or you can try changing the plugin load order.
Seems to be an issue with Ocram passages. Does this happen with bind pictures to map off?

Could be a compatibility issue between ocram passages and bind pictures or you can try changing the plugin load order.
When I turn off the plugin the game works normally
You might have to try a different plugin other than bind pictures to map. Not sure what you are trying to accomplish, like parallax mapping or just fixing a picture to the map so I cant give better recommendations. I'm not sure if OcRam's layers is for mv but if it is it should work with his plugins. Other options might be to try galv's layers or orange overlay. Good luck!
You can also try my solution. Though it uses character picture. I didn't make it a full plugin but it should be easy to do so.

JavaScript:
function $E(n){
  if(n instanceof Game_Event) return n;
  if(typeof n.eventId=='function') n = n.eventId();
  return $gameMap._events[n]||$gameMap._events.find(function(e){return e&&e.event().name==n;})||$gameMap._events.find(function(e){return e&&e.event().note.contains(n);})||null;
}


function $spr(c){
  if(c instanceof Game_Character == false){
    c = $E(c);
  }
  if(!c) return null;
  return SceneManager._scene._spriteset._characterSprites.find(function(s){return s._character==c;});
}


function makeEventLayer(e){
  e = $E(e);
  var spr = $spr(e);


  if(spr._madeEventLayerSprite) return;


  e.screenX = function(){
    var tw = $gameMap.tileWidth();
    return Math.round(this.scrolledX() * tw+(this.layerX||0));
  };
  e.screenY = function() {
      var th = $gameMap.tileHeight();
      return Math.round(this.scrolledY() * th - this.jumpHeight() + (this.layerY||0));
  };


  e.screenZ = function() {
      return this.z==undefined?(this._priorityType * 2 + 1):this.z;
  };


  spr._madeEventLayerSprite = true;
  spr.anchor.set(0,0);
  spr.updateCharacterFrame = function(){
    var c = this._character;
    if(c.frameX!=undefined){
      this.setFrame(c.frameX,c.frameY,c.frameWidth,c.frameHeight);
    }else{
      this.setFrame(0,0,this.bitmap.width,this.bitmap.height);
    }
  };
}
you made a typo, its not "bellow_characters" but "below_characters"

typo's are fast made, so type it correctly.

Original thread: https://forums.rpgmakerweb.com/threads/error-in-tddp-bindpicturestomap-rpgmaker-mv.171523/