Title: Javascript errors
Last modified: May 5, 2020

---

# Javascript errors

 *  Resolved [ecat](https://wordpress.org/support/users/ecat/)
 * (@ecat)
 * [6 years ago](https://wordpress.org/support/topic/javascript-errors-48/)
 * We have installed the 3CX live chat and talk plugin and checked the configuration
   many times. We have placed the shortcode in a text footer. We see the icon, but
   it does nothing when pressed and we get javascript errors related to cross site
   scripting. Don’t know how to fix it but really want to use this plugin. WordPress
   5.4.1 and Plugin version 1.6.0. no php errors. We are developing a new site at
   ccpteam.com/t2020. it will eventually migrate to our production site ccpteam.
   com. Not sure if that could be related to the problem.
    _From Safari:_ Fetch 
   API cannot load [https://ccpteam.3cx.us/MyPhone/c2cinfo?c2cid=steven](https://ccpteam.3cx.us/MyPhone/c2cinfo?c2cid=steven)
   due to access control checks. Failed to load resource: Origin [https://ccpteam.com](https://ccpteam.com)
   is not allowed by Access-Control-Allow-Origin. Failed to contact phone service
   URL. Please check phone system URL parameter and ensure CORS requests are allowed
   from current domain.From Safari: _From Chrome:_ Access to fetch at ‘[https://ccpteam.3cx.us/MyPhone/c2cinfo?c2cid=steven&#8217](https://ccpteam.3cx.us/MyPhone/c2cinfo?c2cid=steven&#8217);
   from origin ‘[https://ccpteam.com&#8217](https://ccpteam.com&#8217); has been
   blocked by CORS policy: Response to preflight request doesn’t pass access control
   check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
   If an opaque response serves your needs, set the request’s mode to ‘no-cors’ 
   to fetch the resource with CORS disabled. ccpteam.3cx.us/MyPhone/c2cinfo?c2cid
   =steven:1 Failed to load resource: net::ERR_FAILED callus.js?ver=1.5.3:27 Failed
   to contact phone service URL. Please check phone system URL parameter and ensure
   CORS requests are allowed from current domain.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-errors-48%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [wordpress3cx](https://wordpress.org/support/users/wordpress3cx/)
 * (@wordpress3cx)
 * [6 years ago](https://wordpress.org/support/topic/javascript-errors-48/#post-12788471)
 * Hello [@ecat](https://wordpress.org/support/users/ecat/) ,
 * Please make sure that you follow the exact steps that are described on the following
   documentation page.
    [https://www.3cx.com/docs/live-chat-talk-wordpress-plugin/](https://www.3cx.com/docs/live-chat-talk-wordpress-plugin/)
 * Step 4 is very important for you not to get this kind of errors.
 *  Thread Starter [ecat](https://wordpress.org/support/users/ecat/)
 * (@ecat)
 * [6 years ago](https://wordpress.org/support/topic/javascript-errors-48/#post-12790809)
 * Our WordPress settings had ccpteam.com/t2020 and step 4 had [http://www.ccpteam.com](http://www.ccpteam.com).
   We had to change the WordPress and now it is working. We are very excited to 
   have this excellent plugin, and appreciate the quick response.
 *  [danzmwl](https://wordpress.org/support/users/danzmwl/)
 * (@danzmwl)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-48/#post-13173746)
 * Thanks this also fixed my issue!
    In our case we had [https://](https://wordpress.org/support/topic/javascript-errors-48/?output_format=md),
   rather than [https://www](https://www).

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

The topic ‘Javascript errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/3cx-live-chat-talk_63768c.svg)
 * [3CX Live Chat and Talk](https://wordpress.org/plugins/3cx-live-chat-talk/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/3cx-live-chat-talk/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/3cx-live-chat-talk/)
 * [Active Topics](https://wordpress.org/support/plugin/3cx-live-chat-talk/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/3cx-live-chat-talk/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/3cx-live-chat-talk/reviews/)

## Tags

 * [Access-Control-Allow-Origin](https://wordpress.org/support/topic-tag/access-control-allow-origin/)

 * 3 replies
 * 3 participants
 * Last reply from: [danzmwl](https://wordpress.org/support/users/danzmwl/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-48/#post-13173746)
 * Status: resolved