Skip to content

My page says a function is not defined, but the file exists Print

  • php, function, upload, corrupt
  • 5

This usually means a file was only partly uploaded, or an old copy was left behind.

  1. Download a fresh copy of the software from its publisher.
  2. Upload the file named in the error again, replacing the one on the server. Uploading a zip and extracting it avoids partial uploads. See fastest way to upload.
  3. Check the software supports your PHP version. Functions removed from newer PHP cause the same error.

Was this answer helpful?

« Back