Wordpress PHP fatal error: Call to undefined function
<p>Customers cannot access their account details, and are met with the following error:</p>

<p><strong>Fatal error:</strong> Call to undefined function validate_form_data() in /wpsc-account-edit-profile.php on line 14</p>

<p>This is from wpsc-account-edit-profile.php</p>

<pre><code>&lt;form method="post"&gt;

&lt;?php echo validate_form_data(); ?&gt;

&lt;table&gt;

    &lt;?php wpsc_display_form_fields(); ?&gt;

    &lt;tr&gt;
        &lt;td&gt;&lt;/td&gt;
        &lt;td&gt;
            &lt;input type="hidden" value="true" name="submitwpcheckout_profile" /&gt;
            &lt;input type="submit" value="&lt;?php _e( 'Save Profile', 'wpsc' ); ?&gt;" name="submit" /&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p></p>

<p>Specifically Line 14:</p>

<pre><code>&lt;?php echo validate_form_data(); ?&gt;
</code></pre>

<p>Does anyone have an idea what the problem is and how it could possibly be fixed? Thanks!</p>