ERC721: transfer to non ERC721Receiver implementer


I am building an erc721 burnable , ownable and reentrancy guard contract.

I have a simple function calls safetransferfrom msg.sender to contract wallet.

I have called and required approvalforall prior to entering the function but i receive this erorr.

Reason provided by the contract: "ERC721: transfer to non ERC721Receiver implementer".

If i remove the safetransferfrom . the function works fine but with it i get this error.

What can i do?

thank you

that probably means that the receiver is a contract and does not implement IERC721Receiver

1 Like

It it's erc721 burnable and it has erc721 which has receiver inside it