Title: Error &#8211; Try Again
Last modified: August 21, 2016

---

# Error – Try Again

 *  Resolved [BeHeard](https://wordpress.org/support/users/beheard/)
 * (@beheard)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-try-again/)
 * Thanks for the great plugin.. There are folks like me I am sure that really appreciate
   it..
 * Am getting this error on a number of script instances.
    Any assistance greatly
   appreciated.
 * JSMin: Unterminated RegExp at byte 230500: /g,”%2D%2D”)+ Try again
 * [http://wordpress.org/plugins/dependency-minification/](http://wordpress.org/plugins/dependency-minification/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/error-try-again/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-try-again/page/2/?output_format=md)

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-try-again/#post-4024013)
 * [@beheard](https://wordpress.org/support/users/beheard/): What are the scripts
   that are being combined?
 *  Thread Starter [BeHeard](https://wordpress.org/support/users/beheard/)
 * (@beheard)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-try-again/#post-4024014)
 * varied scripts and style. [as per screen here](http://web-print.biz/?attachment_id=787).
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-try-again/#post-4024015)
 * Well, it seems one of your JS files has an error in it. Turn off dependency minification,
   and check to see if any of the scripts throws an error in the console.
 *  Thread Starter [BeHeard](https://wordpress.org/support/users/beheard/)
 * (@beheard)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-try-again/#post-4024016)
 * Thanks Weston.
    Turn of minification. But cannot see js errors, and not sure 
   where they would show..
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-try-again/#post-4024017)
 * In the JavaScript console in your browser. In Chrome, this is accessed under 
   Tools > JavaScript Console. If there are JS errors, they will appear here.
 *  Thread Starter [BeHeard](https://wordpress.org/support/users/beheard/)
 * (@beheard)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-try-again/#post-4024018)
 * Thanks for the heads up.
 * No errors in chrome JS console for any of the pages that give the “try again”
   error.
 * It has minified a number of page scripts successfully (some give a – percentage
   of compression so not sure if that is correct) but on certain pages it gives 
   that error.
 * Is there a way to tell from minify what is causing it?
    Unterminated RegExp at
   byte 241813: /g,”%2D%2D”)+ Is this a code for something..
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-try-again/#post-4024021)
 * Please share the URL for the site that has the problem. No need for WP Admin 
   access. If you don’t want to post it here, you can email me: [weston@x-team.com](https://wordpress.org/support/topic/error-try-again/weston@x-team.com?output_format=md)
 *  Thread Starter [BeHeard](https://wordpress.org/support/users/beheard/)
 * (@beheard)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-try-again/#post-4024023)
 * sent thanks
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-try-again/#post-4024024)
 * OK, I ran through each of the scripts individually through JSMin, and this is
   the problematic script: ckeditor.js bundled with the visual-form-builder-pro 
   plugin.
 * It looks like a bug/limitation in JSMin: [https://code.google.com/p/minify/issues/detail?id=222](https://code.google.com/p/minify/issues/detail?id=222)
 * The problem is that these plugins are using minified sources. If they were using
   unminified ones, then JSMin probably would do fine.
 * So in the immediate term, I recommend you exclude this ckeditor script from getting
   included among the minified dependencies via the solution outlined here: [http://wordpress.org/support/topic/woocommerce-not-supported?replies=2](http://wordpress.org/support/topic/woocommerce-not-supported?replies=2)
 * I’ve opened two issues on GitHub which you can track:
    [https://github.com/x-team/wp-dependency-minification/issues/18](https://github.com/x-team/wp-dependency-minification/issues/18)
   [https://github.com/x-team/wp-dependency-minification/issues/19](https://github.com/x-team/wp-dependency-minification/issues/19)
 *  Thread Starter [BeHeard](https://wordpress.org/support/users/beheard/)
 * (@beheard)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-try-again/#post-4024026)
 * Excellent thanks for tracking it down.. Will keep updated
 *  Thread Starter [BeHeard](https://wordpress.org/support/users/beheard/)
 * (@beheard)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-try-again/#post-4024027)
 * Apologies am not using the right exclude function as shows the function in the
   theme.
    What should it be please to exclude the js
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-try-again/#post-4024029)
 * OK, so it should be something like this:
 *     ```
       function _exclude_ckeditor_from_depmin( $is_excluded, $handle, $src ) {
           if ( 'vfb-ckeditor' === $handle ) {
               $is_excluded = true;
           }
           return $is_excluded;
       }
       add_filter( 'dependency_minification_excluded', '_exclude_ckeditor_from_depmin' , 10, 3);
       ```
   
 *  Thread Starter [BeHeard](https://wordpress.org/support/users/beheard/)
 * (@beheard)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-try-again/#post-4024046)
 * Code gives error.
    Apart from that the VFB plugin had an update and we now appear
   to have no further “try again” errors showing.. which is great. “•Update CSS 
   and JS to use cache busting version numbers”
 * However I wonder if you could check as when doing page load tests, using pingdom
   or any others, it shows that JS are not being combined and affecting load times.
   “
   There are 19 JavaScript files served from .. They should be combined into as 
   few files as possible.”
 * Thanks so much.
 *  Thread Starter [BeHeard](https://wordpress.org/support/users/beheard/)
 * (@beheard)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-try-again/#post-4024051)
 * OK – Updated minify to Version 0.9.4 now same pages give the same “try again”
   error.
 *  [starssurfer](https://wordpress.org/support/users/starssurfer/)
 * (@starssurfer)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-try-again/#post-4024108)
 * Dependency Minification
 * Today appears this:
 * > Warning: Invalid argument supplied for foreach() in /home/podermag/public_html/
   > wp-content/plugins/dependency-minification/dependency-minification.php on line
   > 253
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/podermag/public_html/wp-content/plugins/dependency-minification/
   > dependency-minification.php:253) in /home/podermag/public_html/wp-includes/
   > pluggable.php on line 899
 * [http://3.bp.blogspot.com/-JypMA7A7xMo/Upel8uAHHwI/AAAAAAAABbc/sNQuOvrSW6Y/s1600/DepM.jpg](http://3.bp.blogspot.com/-JypMA7A7xMo/Upel8uAHHwI/AAAAAAAABbc/sNQuOvrSW6Y/s1600/DepM.jpg)
 * Please, can you help me?
 * Thanks a lot
 * Cheers
 * Aurelio Martuscelli
 * _[Moderator Note: Please ensure that you are embedding links correctly in your
   posts.]_

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/error-try-again/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-try-again/page/2/?output_format=md)

The topic ‘Error – Try Again’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/dependency-minification.svg)
 * [Dependency Minification](https://wordpress.org/plugins/dependency-minification/)
 * [Support Threads](https://wordpress.org/support/plugin/dependency-minification/)
 * [Active Topics](https://wordpress.org/support/plugin/dependency-minification/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dependency-minification/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dependency-minification/reviews/)

## Tags

 * [try again](https://wordpress.org/support/topic-tag/try-again/)

 * 16 replies
 * 4 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/error-try-again/page/2/#post-4024109)
 * Status: resolved