Title: Bug in version 3.2.2
Last modified: July 9, 2021

---

# Bug in version 3.2.2

 *  Resolved [macnux](https://wordpress.org/support/users/macnux/)
 * (@macnux)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/bug-in-version-3-2-2/)
 * Hi,
 * I’m inserting this ad and it works perfectly without FVM:
    `cb.cmd.push(function(){
   cb({playerId:"1c29db-b110-4350-9460-5346a3b47"}).render("612e04d63a69bed46a146c9a4")})};});}`
 * After using FVM 3.2.2, and when enabling the option: Enable JS Processing, the
   code becomes:
    `cb.cmd.push(function(){cb({playerId:"1c29db-b110-4350-9460-5346a3b47"}).
   render("612e04d63a69bed46a146c9a4")})`
 * As you can see, it omits the semicolons and some brackets, and as a result, the
   ad is not working…
    The code only works when I downgrade FVM and use the older
   version 3.1.4.
 * Regards,
    -  This topic was modified 5 years, 1 month ago by [macnux](https://wordpress.org/support/users/macnux/).

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

 *  Plugin Author [Raul P.](https://wordpress.org/support/users/alignak/)
 * (@alignak)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/bug-in-version-3-2-2/#post-14649150)
 * Thank you for reporting.
    The code is being minified by PHP Minify and it looks
   correct to me.
 * What does not look correct is your original code, are you sure that is supposed
   to look like that?
 * Your original indented code:
 *     ```
       cb.cmd.push(function() {
           cb({ 
               playerId: "1c29db-b110-4350-9460-5346a3b47" }).render("612e04d63a69bed46a146c9a4") 
           })
   
       	};
       	});
       }
       ```
   
 * where
 *     ```
       };
       });
       ```
   
 * is incorrect, or perhaps you did not post the whole code.
    This is either added
   incorrectly, or there should be some code before. For every `}` there should 
   be an `{` usually, as well as for `(` and `)`. The semicolon, can be replaced
   with a line break, in some cases too.
 *  Thread Starter [macnux](https://wordpress.org/support/users/macnux/)
 * (@macnux)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/bug-in-version-3-2-2/#post-14651382)
 * Hi,
 * This is the exact input script:
 *     ```
       <script>
       cb.cmd.push(function(){
       	cb({
       		playerId:"1c29db-b110-4350-9460-5346a3b47"}).render("612e04d63a69bed46a146c9a4")
       		;});
       </script>
       ```
   
 * And after using FVM 3.2.2 The generated output is:
 *     ```
       <script id="612e04d63a69bed46a146c9a4" type="fvm-script-delay">
       cb.cmd.push(function(){
       	cb{
       		playerId:"501c29db-b110-4350-9460-0453476a3b47"}).render("612e04d63a69bed46a146c9a4")
       		})
       </script>
       ```
   
 * FVM omits some brackets and semicolons as you can see.
    -  This reply was modified 5 years, 1 month ago by [macnux](https://wordpress.org/support/users/macnux/).
 *  Thread Starter [macnux](https://wordpress.org/support/users/macnux/)
 * (@macnux)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/bug-in-version-3-2-2/#post-14675703)
 * Any help?
 *  Thread Starter [macnux](https://wordpress.org/support/users/macnux/)
 * (@macnux)
 * [5 years ago](https://wordpress.org/support/topic/bug-in-version-3-2-2/#post-14693740)
 * The solution now is to enable the option called: Disable JS Inline Minification.
 * It works when enabling this option and semicolons are now appeared and the script
   runs successfully.

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

The topic ‘Bug in version 3.2.2’ is closed to new replies.

 * ![](https://ps.w.org/fast-velocity-minify/assets/icon-128x128.jpg?rev=1440946)
 * [Fast Velocity Minify](https://wordpress.org/plugins/fast-velocity-minify/)
 * [Support Threads](https://wordpress.org/support/plugin/fast-velocity-minify/)
 * [Active Topics](https://wordpress.org/support/plugin/fast-velocity-minify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fast-velocity-minify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fast-velocity-minify/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [macnux](https://wordpress.org/support/users/macnux/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/bug-in-version-3-2-2/#post-14693740)
 * Status: resolved