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.Translate(Vector3.forward * 1 / 24);

    void OnTriggerEnter2D(Collider2D other)
        if (other.CompareTag("weapon"))

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