Hello i got many errors in my debug.log about product attribute called wrong way.
here is what i got :
PHP Notice: post was called incorrectly. Product properties should not be accessed directly.
here is my code :
what should i use now ? does this can affect my website ?
i tried to use get_attributes()
but i get an array :