OnTriggerEnter not registering.

i have a script that sets a debug.log when it hits ANY trigger. it just doesn’t make any sense because i put debug.logs everywhere and i got nothing. can you fellas look at his and tell me anything that might cause it not to register?

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Wasp : MonoBehaviour {

    public Transform Player;

	// Use this for initialization
	void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {

        transform.LookAt(Player);

        transform.Translate(Vector3.forward * 1 / 24);
	}

    void OnTriggerEnter2D(Collider2D other)
    {
        Debug.Log("klajsdfhladsf");
        if (other.CompareTag("weapon"))
        {
            Debug.Log("12312e1234");
            Destroy(gameObject);
        }
    }
}

if (other.CompareTag==(“weapon”))