Title: Uncaught EvalError: Refused to evaluate a string &#8230;
Last modified: September 29, 2021

---

# Uncaught EvalError: Refused to evaluate a string …

 *  Resolved [wpnema](https://wordpress.org/support/users/wpnema/)
 * (@wpnema)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/uncaught-evalerror-refused-to-evaluate-a-string/)
 * I’ve used duplicator for multiple sites some time ago.
    Now I need to migrate
   website based on wordpress to different location. I’m able to grab a copy, load
   to new server and … during the Test Databse following entry comes to console:
 * > Uncaught EvalError: Refused to evaluate a string as JavaScript because ‘unsafe-
   > eval’ is not an allowed source of script in the following Content Security 
   > Policy directive: “default-src ‘self’ http: https: data: blob: ‘unsafe-inline'”.

Viewing 1 replies (of 1 total)

 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/uncaught-evalerror-refused-to-evaluate-a-string/#post-14925970)
 * Hey [@wpnema](https://wordpress.org/support/users/wpnema/)
 * Thanks for the feedback! There are a few items in the FAQ that may provide a 
   solution to this issue, this one may get you going.
 *  – Why is the Installer user interface (UI) having issues?
    – [https://snapcreek.com/duplicator/docs/faqs-tech/#faq-installer-023-q](https://snapcreek.com/duplicator/docs/faqs-tech/#faq-installer-023-q)
 * If you would like to submit a [support ticket](https://snapcreek.com/ticket) 
   for this issue we can have a closer look at your setup. Please provide a link
   to this forum thread when submitting the ticket.
 * Hope this helps~

Viewing 1 replies (of 1 total)

The topic ‘Uncaught EvalError: Refused to evaluate a string …’ is closed to new 
replies.

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/uncaught-evalerror-refused-to-evaluate-a-string/#post-14925970)
 * Status: resolved