$SAFE = 4 SOLVED

I was getting this error because this $SAFE = 4 has been deprecated