Home / Questions / What does call to undefined function mean in WordPress?

What does call to undefined function mean in WordPress?

This error means some code calls a function that does not exist. It usually follows a PHP upgrade, a deleted plugin or a theme that depends on another plugin.

“Call to undefined function” means a plugin or theme calls a PHP function that PHP cannot find. The function is either missing from the installed PHP version, or from a plugin that was deleted.

Common causes

  • A PHP upgrade removed or renamed a function the plugin still uses.
  • A plugin was deleted, but a theme or another plugin still depends on it.
  • An extension such as mbstring or intl is not installed on the server.

Ready to act on this?

Get a written review of your site, or send us your question and we will reply within 24 hours.

What to do

Read the function name in the message. Search for it in the plugin files to see which plugin calls it. Then either update that plugin, install the missing PHP extension through your host, or switch to a plugin that does the same job.

If the site is down, contact us.

Related services

Not sure where your site stands?

Send us the details and we will reply within 24 hours with a clear next step.