Title: Error on CTA Load
Last modified: April 26, 2018

---

# Error on CTA Load

 *  [jmcone](https://wordpress.org/support/users/jmcone/)
 * (@jmcone)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/error-on-cta-load/)
 * First of all i use the Plugin on several Sites and i am pretty happy with it,
   it is versatile and does what it is supposed to do.
 * I just got a call from a customer and i have run into an issue. I have added 
   the CTA as a shortcode on my site. But it isnt showing. I specifically call the
   CTA by its variation code.
    `[cta id='128']`
 * For some reason it woun’t load on my site. Upon inspection the error i get this
   error Message:
 *     ```
       (index):146 Uncaught ReferenceError: wp_cta_load_variation is not defined
           at (index):146
       (anonymous) @ (index):146
       ```
   
 * The corresponding code on the site is:
 *     ```
       <div class='content-column one_half'>
               <script type='text/javascript'>
                   wp_cta_load_variation( '128', '' )
               </script>
               <script type="text/javascript">
                   jQuery(document).ready(function($) {
       					 });
               </script>
       ```
   
 * My guess is that it tries to load another variation, hence the blank space after
   it tries to load id 128.
 * I could really use some pointers here.
    Thanks in advance!
    -  This topic was modified 8 years, 1 month ago by [jmcone](https://wordpress.org/support/users/jmcone/).

The topic ‘Error on CTA Load’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cta_a5a5a5.svg)
 * [WordPress Calls to Action](https://wordpress.org/plugins/cta/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cta/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cta/)
 * [Active Topics](https://wordpress.org/support/plugin/cta/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cta/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cta/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [jmcone](https://wordpress.org/support/users/jmcone/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/error-on-cta-load/)
 * Status: not resolved