We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3232
    • 380 Posts
    So I just went in to edit a document today and I get the following error:

    ManagerManager: An error has occurred: ReferenceError - TagCompleter is not defined

    I had installed ManagerManager over a month ago. Everything was working fine, but today this started.

    Does anyone know what would cause this or how I could fix it?

    modx 0.9.6.3
    MM 0.3.2.1
      • 4310
      • 2,310 Posts
      Perhaps related to this ?
        • 3232
        • 380 Posts
        I saw that, I am actually pointing to a local copy of jquery so I am afraid that is not the problem.
          • 4310
          • 2,310 Posts
          Is it jQuery 1.2.6 as the latest versions also break ManagerManager
            • 3232
            • 380 Posts
            Thank You! Thank You!

            I was running 1.3.1 (the latest release)

            Once I downgraded to 1.2.6 it solved the problem.

            Thank you for taking the time to help me with this.
              • 4310
              • 2,310 Posts
              Glad that helped you sort it out smiley
                • 3232
                • 380 Posts
                So I log into my manager and it just started doing it again. So I removed the plugin and reinstalled it from scratch.

                The only change I made is to have the rules in a chunk. my rules are as follows:

                mm_widget_tags('tags', ',', '', '', '', '5'); // displays other tags in template five
                mm_widget_showimagetvs();
                


                What would be causing this error?

                Also my installation is at the root of the domain, it is not in a sub folder.

                I also took a look at the source of the editor frame. I see the following being called in:

                //  -------------- Tag widget include ------------- 
                $("head").append(' <script src="/assets/plugins/managermanager/widgets/tags/tags.js" type="text/javascript"></scr'+'ipt> '); 
                $("head").append(' <link href="/assets/plugins/managermanager/widgets/tags/tags.css" rel="stylesheet" type="text/css" /> '); 
                


                It appears after all of the content (near the bottom of the source code) not before it. Does that make scene?
                  • 3232
                  • 380 Posts
                  Anyone have any ideas? this is driving me nuts.

                  Thanks
                  Brian
                    • 3232
                    • 380 Posts
                    Turns out when I changed my rules to the following the error stopped.

                    //mm_widget_tags('storyTags');
                    //mm_widget_tags('storyTags', ', ', '', '', '', '5');
                    //mm_widget_showimagetvs();
                    
                    mm_renameField('introtext','Summary');
                    mm_widget_tags('tags'); // I changed the tv tag name
                    mm_widget_showimagetvs(); // Always give a preview of Image TVs
                      • 14213
                      • 1 Posts
                      1) I created i /.htaccess redirect from http://www.example.com to http://example.com

                      RewriteCond %{HTTP_HOST} ^www.example.com
                      RewriteRule (.*) http://example.com/$1 [R=301,QSA,L]

                      2) because /manager has they own .htacces, manager still on http://www.example.com/manager

                      3) when I log into manager, they cannot load some libraries and error "ManagerManager: An error has occurred: ReferenceError - TagCompleter is not defined" appears.

                      4) solution is web and manager on the same domain

                      Jiri Pavlicek