A me l'errore di sintassi non appare.

Al limite prova a racchiudere entrambe le condizioni tra parentesi tonde, così
$avvPrezzo = ( (strstr($prezzo, ',') === FALSE) && (!strstr($prezzo, '.') === FALSE) ) ? 'errore' : '';

Comunque
!strstr($prezzo, '.') === FALSE

equivale a
strstr($prezzo, '.') !== FALSE

che è più leggibile.