MySQL Error Message
The VALUES function is deprecated and will be removed in
a future release. It always returns NULL in this context. If you
meant to access a value from the VALUES clause of the INSERT
statement, consider using an alias (INSERT INTO … VALUES (…)
AS alias) and reference alias.col instead of VALUES(col) in the ON
DUPLICATE KEY UPDATE clause.
Reason for the Error
ER_WARN_DEPRECATED_VALUES_FUNCTION_ALWAYS_NULL
was added in 8.0.20.