0

guys can you help me? there is an error when I declare "_tokenURIs", the error is something like this:

"Undeclared identifier. Did you mean "_tokenURI" or "tokenURI"?"

I've been looking for a solution but can't find it. You can also see my code:

 function setTokenURI (uint256 bujiId, string memory _tokenURI) internal virtual { _tokenURIs[bujiId] = _tokenURI; emit MetadataUpdate(bujiId); } 

maybe there is a solution?

only solution and why the error can occur

1 Answer 1

0

Check if your are referencing the declared mapping(uint256 => string) with the name _tokenURI correctly

Sign up to request clarification or add additional context in comments.

1 Comment

As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.