• Resolved net

    (@krstarica)


    After upgrading from 2.2.1 to 2.3.0, the plugin stopped working. Reverting to 2.2.1 fixes the things.

    When creating a new post (/wp-admin/post-new.php) it displays error Uncaught SyntaxError: Unexpected token '&' in line:

    <script type="text/javascript">/* <![CDATA[ */var mcm_taxonomies = {"category_media":{"term_list_title":"Show all MCM categories","mcm_terms_list":[{&quot;term_id&quot;:&quot;no_category&quot;,&quot;term_name&quot;:&quot;No MCM categories&quot;},{&quot;term_id&quot;:&quot;63438&quot;,&quot;term_name&quot;:&quot;Category 1&nbsp;&nbsp;(44665)&quot;},{&quot;term_id&quot;:&quot;80128&quot;,&quot;term_name&quot;:&quot;Category 2 – test&nbsp;&nbsp;(4792)&quot;},{&quot;term_id&quot;:&quot;80131&quot;,&quot;term_name&quot;:&quot;Category 3 – test&nbsp;&nbsp;(8666)&quot;},{&quot;term_id&quot;:&quot;83440&quot;,&quot;term_name&quot;:&quot;Category 4&nbsp;&nbsp;(102)&quot;}\n]}};/* ]]> */</script>

    Then when click “Add Media” button it displays error:

    wp-mcm-media-views-t….js?ver=2.3.0000:53 Uncaught ReferenceError: mcm_taxonomies is not defined
        at n.createToolbar (wp-mcm-media-views-t…?ver=2.3.0000:53:11)
        at n.initialize (media-views.min.js?v…bcd660cfc22:2:38238)
        at h.View (backbone.min.js?ver=1.5.0:2:14872)
        at n.constructor (wp-backbone.min.js?v…9bcd660cfc22:2:2602)
        at n.constructor (media-views.min.js?v…cd660cfc22:2:106544)
        at n [as constructor] (backbone.min.js?ver=1.5.0:2:23777)
        at new n (backbone.min.js?ver=1.5.0:2:23777)
        at n.browseContent (media-views.min.js?v…bcd660cfc22:2:74703)
        at p (backbone.min.js?ver=1.5.0:2:3700)
        at f (backbone.min.js?ver=1.5.0:2:3497)

    in line $.each(mcm_taxonomies, function(taxonomy, values)

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’m seeing the same issue.

    Plugin Author DeBAAT

    (@debaat)

    Working on the issue.

    In the meantime, you could try and tick the box for option “Use Gutenberg Filter“. If this option box is ticked, it might just work.

    I’ll keep on working on a fix and hope to release it soon.

    Plugin Author DeBAAT

    (@debaat)

    Should be fixed with V2.3.1.

    Thread Starter net

    (@krstarica)

    Adding media works properly in 2.3.1, but still seeing Uncaught SyntaxError: Unexpected token '&' error when accessing /wp-admin/edit.php

    Plugin Author DeBAAT

    (@debaat)

    Sorry but I cannot reproduce this error.

    Can you check with the new version 2.3.2? And if it still persists, can you then provide some more background info on how to reproduce this error?

    Thread Starter net

    (@krstarica)

    I confirm the issue has been fixed in 2.3.2. Many thanks @debaat!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.