Visual composer Masonry grid doesn't load
<p>I'm using [insert_php] plugin in Wordpress and I have inserted php function in it.If I set the block with the function before the the masonry grid it doesn't load.
If I move the block with the function after the grid it works well.
In console log is appearing an alert:</p>

<blockquote>
  <p>Syntax error, unrecognized expression: {'status':'Nothing found'}</p>
</blockquote>

<p>How can I sole that?
Grid before php block</p>

<p><a href="https://i.stack.imgur.com/o9Gqg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o9Gqg.png" alt="enter image description here"></a></p>

<p>Block php before the grid</p>

<p><a href="https://i.stack.imgur.com/mhOSC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mhOSC.png" alt="enter image description here"></a></p>