Hi I have this error in my website my website is wordpress 4 i use post format in post format i create this php to if page has quote post then dont load title and image and etc
If you want to use the quote
as a literal string (line 4), not a variable name, you must enclose it into single or double quote characters ('
or "
). Otherwise, PHP thinks that you're referencing a PHP constant.
For reasons of backward compatibility, PHP falls back on using the string as literal, but it does throw an E_NOTICE
error – the one you're experiencing.