Title: ReferenceError: VC_FSCF_set_cookie is not defined
Last modified: August 20, 2016

---

# ReferenceError: VC_FSCF_set_cookie is not defined

 *  Resolved [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/referenceerror-vc_fscf_set_cookie-is-not-defined/)
 * I’m using WP 3.5.1 and Fast Secure Contact Form 3.1.8. Firebug is showing the
   following error on the Fast Secure Contact Form Settings page on the Admin side:
 * > ReferenceError: VC_FSCF_set_cookie is not defined
 * and gives this file path:
 * > /wp-admin/plugins.php?page=si-contact-form/si-contact-form.php
   >  Line 1096
 * I also see this error in 3.1.7 on WP 3.5.1. I searched but couldn’t find anything
   on this.
 * Oddly, I’m not getting a PHP error in the wp-admin directory where plugins.php
   is.
 * [http://wordpress.org/extend/plugins/si-contact-form/](http://wordpress.org/extend/plugins/si-contact-form/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/referenceerror-vc_fscf_set_cookie-is-not-defined/#post-3426198)
 * I found where this is coming from and why there is no PHP error. It’s a javascript
   error, but it’s pointing to a PHP file, which threw me off.
 * The function VC_FSCF_set_cookie is actually called on the FSCF admin options 
   page in this block of code:
 *     ```
       <a id="vCitaSectionAnchor" data-user-changed="false" name="vCitaSettings"></a>
           <p class="submit">
             <input type="submit" name="submit" value="Update Options »" />
           </p>
   
       		<script type="text/javascript">
       			VC_FSCF_set_cookie("48500", "confirmation_token=<token here>");
       		</script>
   
       <div class="form-tab">Meeting Scheduler - by vCita: (form 1)</div>
       ```
   
 * So it actually has to do with the vCita section of the options.
 * It looks like the javascript file or code that is supposed to have the VC_FSCF_set_cookie
   function is not being loaded, maybe?
 *  [Mike Challis](https://wordpress.org/support/users/mikechallis/)
 * (@mikechallis)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/referenceerror-vc_fscf_set_cookie-is-not-defined/#post-3426216)
 * Thanks, I will look into fixing that
 *  Thread Starter [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/referenceerror-vc_fscf_set_cookie-is-not-defined/#post-3426217)
 * No problem. Thanks for such a great plug-in. If there is anything I can do let
   me know.
 *  Thread Starter [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/referenceerror-vc_fscf_set_cookie-is-not-defined/#post-3426272)
 * You got it. I installed the update you just released (3.1.8.1) and the error 
   is gone. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘ReferenceError: VC_FSCF_set_cookie is not defined’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/si-contact-form_dde2be.svg)
 * [Fast Secure Contact Form](https://wordpress.org/plugins/si-contact-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/si-contact-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/si-contact-form/)
 * [Active Topics](https://wordpress.org/support/plugin/si-contact-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/si-contact-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/si-contact-form/reviews/)

## Tags

 * [ReferenceError](https://wordpress.org/support/topic-tag/referenceerror/)

 * 4 replies
 * 2 participants
 * Last reply from: [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/referenceerror-vc_fscf_set_cookie-is-not-defined/#post-3426272)
 * Status: resolved