We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 41055
    • 24 Posts
    I had to reinstall my database after a server crash and now I am getting this when I try to access my home page
    (ERROR @ /directory/connectors/layout/modx.config.js.php) Error caching lexicon topic lexicon/en/core/resource

    Other pages are fine, as long as I don't access the home. Back end is fine also. It used to work perfectly before. What could be causing this issue?

    Thanks in advance.
      • 22840
      • 1,572 Posts
      Are there any errors in the manager error log? also delete everything in core >> cache via FTP and then retry the home page.
        • 41055
        • 24 Posts
        I tried that, and the above is from the error log. It seems that it's because of advanced search. Which is weird since I haven't modified anything.

        Quote from: paulp at Feb 15, 2013, 08:31 PM
        Are there any errors in the manager error log? also delete everything in core >> cache via FTP and then retry the home page.
          • 22840
          • 1,572 Posts
          Googling the error returns a known bug ( http://tracker.modx.com/issues/7324 ) so it might be worth running through the comments on there

          Also what version of MODX, php info, server info might give us a bit more of a clue.
            • 41055
            • 24 Posts
            I am using MODX Revolution
            MODX Revolution 2.2.4-pl (traditional)

            After a little bit more digging, it would appear that this bit of code is what is preventing the page from displaying:
            <ul class="advsea-results-list">
              [[!getPage@custompaging?
                &elementClass=`modSnippet`
                &element=`getResources`
                &varTotal=`total`
                &parents=`[[~[[*id]]]]` 
                &depth=`1`
                &limit=`10`
                &pageVarKey=`page`
                &includeTVs=`1`  
                &includeTVs=`2`  
                &includeTVs=`3`  
                &includeTVs=`4`
                &includeTVs=`7`
                &includeTVs=`19`
                &includeTVs=`24`
                &includeTVs=`29`
                &includeTVs=`30`
                &tpl=`chunk.pages`  
              ]]
            </ul>
            


            without it, no issue.

            Quote from: paulp at Feb 15, 2013, 08:41 PM
            Googling the error returns a known bug ( http://tracker.modx.com/issues/7324 ) so it might be worth running through the comments on there

            Also what version of MODX, php info, server info might give us a bit more of a clue.
              • 41055
              • 24 Posts
              actually, this: &parents=`[[~[[*id]]]]` more specifically. I need to retrieve the parent's id and it doesn't like it anymore, it would look like.
                • 51553
                • 18 Posts
                Has anyone solved what's going on here? I too keep on getting the following error in my MODX error log:

                (ERROR @ /home/{hosting_account}/{modx_core_path}/model/modx/modcachemanager.class.php : 344) Error caching lexicon topic lexicon/en/core/default
                  ---
                  Chris Holowatyj
                  Keddy & Associates - Web Design Professionals
                  https://keddyandassociates.com
                  [email protected]
                  • 3749
                  • 24,544 Posts
                  @helene: This is incorrect:

                  &parents=`[[~[[*id]]]]`


                  That will sent a *link* to the parent resource instead of its ID.

                  It should be:

                  &parents=`[[*id]]`
                  [ed. note: BobRay last edited this post 6 years, 6 months ago.]
                    Did I help you? Buy me a beer
                    Get my Book: MODX:The Official Guide
                    MODX info for everyone: http://bobsguides.com/modx.html
                    My MODX Extras
                    Bob's Guides is now hosted at A2 MODX Hosting
                    • 30816
                    • 26 Posts
                    Anynone has solved it? I still have the same error
                    Quote from: c5j4k5 at Oct 24, 2017, 04:45 PM
                    Has anyone solved what's going on here? I too keep on getting the following error in my MODX error log:

                    (ERROR @ /home/{hosting_account}/{modx_core_path}/model/modx/modcachemanager.class.php : 344) Error caching lexicon topic lexicon/en/core/default
                      • 3749
                      • 24,544 Posts
                      I get that "error caching lexicon topic" message occasionally. I've never seen an explanation for it.

                        Did I help you? Buy me a beer
                        Get my Book: MODX:The Official Guide
                        MODX info for everyone: http://bobsguides.com/modx.html
                        My MODX Extras
                        Bob's Guides is now hosted at A2 MODX Hosting