Invalid use of getDataEntryById or getEntryBySlug function.
Questi contenuti non sono ancora disponibili nella tua lingua.
GetEntryDeprecationError: The
METHOD
function is deprecated and cannot be used to query the “COLLECTION” collection. UsegetEntry
instead.
What went wrong?
Section titled What went wrong?The getDataEntryById
and getEntryBySlug
functions are deprecated and cannot be used with content layer collections. Use the getEntry
function instead.