Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

User:Skippy/Common PHP Errors

This article is a ROUGH DRAFT. The author is still working on this document, so please do not edit this without the author's permission. The content within this article may not yet be verified or valid. This information is subject to change.
Use of undefined constant title
most likely you forgot to include the $ when referencing a variable.
parse error, unexpected '='
most likely you forgot to include the $ when referencing a variable.
parse error, unexpected ')'
parse error, unexpected '('
most likely you forgot this parenthesis' mate
parse error, unexpected T_STRING
this usually means you forgot a quotation mark; but it can also mean you forgot a semi-colon at the end of a previous line
parse error, unexpected T_ELSE
you have an else statement with no opening if

See Also