Getting JS error when reordering blocks

Permalink
I've been working on a site that was built originally with v5 and now trying to update it to the latest version.

As I'm working on it, I needed to copy over the content, I've been having trouble when reordering blocks in an area. If it's an HTML block, it doesn't error out. However, if it's a Content block, I get this error:

jquery.min.js:4 Uncaught Error: Syntax error, unrecognized expression: <div class='block'></div>
    at Function.ut.error (jquery.min.js:4)
    at gt (jquery.min.js:4)
    at kt (jquery.min.js:4)
    at Function.ut [as find] (jquery.min.js:4)
    at init.find (jquery.min.js:5)
    at new init (jquery.min.js:4)
    at x (jquery.min.js:4)
    at Concrete.Block.addToDragArea (app.js:5369)
    at Concrete.Block.pepStop (app.js:5665)
    at d.stop (app.js:5342)


As you can see, I unminified app.js (concrete/js/app.js) so that I can try to debug.

I'm at a loss as to what's happening. I saw that the div that I'm targeting is in concrete5/concrete/elements/block_area_header.php, but aside from that, I'm at a loss.

Additional info:
# concrete5 Version
Core Version - 8.4.2
Version Installed - 8.4.2
Database Version - 20180716000000

Hope someone can chime in, thank you!

 
hutman replied on at Permalink Best Answer Reply
hutman
Do you by chance have 2 copies of jquery loading? I see in the error trace there is a jquery.min.js, which doesn't come from the core.
oofie810 replied on at Permalink Reply
That was it, thank you very much! Was trying to debug it for a few days already.