That's nowhere near enough information. For others to be of any help, you need to provide enough for the problem to be reproducible. That means
minimal sample code, a link to a test page (a live version of the sample code), what you expect to happen and what actually happens (which includes the exact, full error message). It's also helpful to mention which server you're on (which you can get in the "Stats" section of cPanel for your site). You've only provided the error message, and it may be neither exact nor full at that. Read the links in my sig for more.