Documentation

Unable to edit or create a Draw Attention image

Creating or editing Draw Attention images uses JavaScript. Unfortunately, any JavaScript errors generated by your website can cause JavaScript to crash and break the Draw Attention editing screen.

Often these errors are caused by another plugin or your theme. In time, the plugin or theme author might fix the issue, but in the meantime, here is what you can do to get our Draw Attention editing page working again.

Step 1: Confirm if there are JavaScript errors

Using Google Chrome, navigate to the page where you can edit a Draw Attention image. Right click anywhere on your site and click Inspect. Click onĀ Console. If there are any errors, you’ll see them listed there in red text along with a brief explanation.

Sometimes this can give you some clue about which plugin is causing the problem.

Step 2: Disable 3rd party scripts

If you see JavaScript errors in the console while you’re on the page where you edit your Draw Attention images, then you can try disabling all 3rd party scripts on that page. If another plugin is enqueuing JavaScript on that page, you can stop it from adding the JavaScript. This will not affect any other page of your WordPress admin – just the page where you edit Draw Attention images.

While viewing the page to edit a Draw Attention image, add this to your browser’s URL bar at the end of the URL:

&da_disable_third_party_js=1

For example if the url is:
http://yourwebsite.com/wp-admin/post.php?post=21&action=edit

It would look like this after adding that code:
http://yourwebsite.com/wp-admin/post.php?post=21&action=edit&da_disable_third_party_js=1

After entering that in your url bar, hit Enter (Return) on your keyboard to load the page with this script, which disables other scripts.

See if you can successfully edit your Draw Attention image now.