We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9207 ☆ A M B ☆
    • 2,475 Posts
    I’m seeing a lot of errors after upgrading a site from 2.0.8-pl to 2.1.0-pl. They are particularly noticeable when I try to upgrade any of my packages, e.g. I get errors like this in the update log:

    Resource URI document-library/in-depth-research/ already exists for resource id = 1844; skipping duplicate resource URI for resource id = 1873
    Resource URI document-library/hg-certifications/ already exists for resource id = 1786; skipping duplicate resource URI for resource id = 1919
    Resource URI document-library/hg-alr-coopincentiverates-for-e-waste-gc-business.pdf already exists for resource id = 160; skipping duplicate resource URI for resource id = 1952
    


    I get similar errors when I try to clear the cache.

    I get this error when I try to edit a document:

    Fatal error: Call to undefined method modX::isFrontend() in /path/to/mysite/html/core/cache/includes/elements/modplugin/4.include.cache.php on line 33


    It seems to have worked itself out after updating all the packages, but the package update process seemed particularly wonky... packages that had been updated still showed the "Yes" link indicating that there were still updates available.

    Anyone run into this?
      • 3749
      • 24,544 Posts
      Plugin 4 probably won’t work because isFrontend() is deprecated. It could be NewsPublisher.
        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
        • 9207 ☆ A M B ☆
        • 2,475 Posts
        Ah... thanks Bob!
          • 3749
          • 24,544 Posts
          Quote from: Everett at May 30, 2011, 07:06 PM

          Ah... thanks Bob!

          I know I fixed that, but TBH, I’ve been so swamped I don’t remember if I’ve released the new version of NewsPublisher. tongue

          The fix (very simple) should be at GitHub if not.
            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