We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 53309
    • 2 Posts
    Hello,

    I have an error message which drives me crazy because it's fired thousand of times daily with apparently no reason. Otherwise everything looks and works good.

    [2017-03-13 13:47:32] (ERROR @ /var/www/mark/core/xpdo/xpdo.class.php : 513) addPackage called with an invalid package name.
    [2017-03-13 13:47:32] (ERROR @ /var/www/mark/core/xpdo/xpdo.class.php : 513) addPackage called with an invalid package name.
    [2017-03-13 13:48:03] (ERROR @ /var/www/mark/core/xpdo/xpdo.class.php : 513) addPackage called with an invalid package name.
    ....etc

    Maybe someone could help me identify the culprit. Thank you in advance.

    This question has been answered by BobRay. See the first response.

    • discuss.answer
      • 3749
      • 24,544 Posts
      Take a look at the extension_packages System Setting. Packages specified there are loaded with addPackage on every request. Maybe something listed there is no longer installed. Be careful not to remove stuff you need from that setting.

      Here's a typical entry. This is for Articles:

      [{"articles":{"path":"[[++core_path]]components/articles/model/"}}]


      Other packages would be separated by a comma, something like this:

      [{"articles":{"path":"[[++core_path]]components/articles/model/"}},{"otherpackage":{"path":"[[++core_path]]components/otherpackage/model/"}}]
        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
        • 53309
        • 2 Posts
        Hi Bob,

        Thank you so much. You're right. It was an entry no longer required because I have uninstalled the package it refers to.

        Have a nice day.

        Viorel
          • 3749
          • 24,544 Posts
          I'm glad I could help. smiley
            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