We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28218
    • 48 Posts
    Finding these lots of these enties in my error-log:

    [2012-07-04 12:59:03] (ERROR @ /index.php) Could not load class: modTransportPackage from mysql.modtransportpackage.

    [2012-07-04 12:59:03] (ERROR @ /index.php) modTransportPackage::load() is not a valid static method.

    I don't know how to debug this? there is no reference in my index.php to modTransportPackage??

      • 28218
      • 48 Posts
      Any hints on how to debug/fix this? I have runned the installer, but the error still fills up the error log....
        • 22303 MODX Staff
        • 10,725 Posts
        No idea what is going on without more details. What version? Which distribution? When does this occur?
          • 28218
          • 48 Posts
          MODX Revolution 2.2.4-pl (traditional)

          [2012-07-10 21:58:03] (ERROR @ /index.php) Could not load class: modTransportPackage from mysql.modtransportpackage.
          [2012-07-10 21:58:03] (ERROR @ /index.php) modTransportPackage::load() is not a valid static method.
          [2012-07-10 21:58:03] (ERROR @ /index.php) Could not load class: modTransportPackage from mysql.modtransportpackage.
          [2012-07-10 21:58:03] (ERROR @ /index.php) modTransportPackage::load() is not a valid static method.
          [2012-07-10 21:58:03] (ERROR @ /index.php) Could not load class: modTransportPackage from mysql.modtransportpackage.
          [2012-07-10 21:58:03] (ERROR @ /index.php) modTransportPackage::load() is not a valid static method.
          [2012-07-10 21:58:03] (ERROR @ /index.php) Could not load class: modTransportPackage from mysql.modtransportpackage.
          [2012-07-10 21:58:03] (ERROR @ /index.php) modTransportPackage::load() is not a valid static method.
          [2012-07-10 21:58:04] (ERROR @ /index.php) Could not load class: modTransportPackage from mysql.modtransportpackage.
          [2012-07-10 21:58:04] (ERROR @ /index.php) modTransportPackage::load() is not a valid static method.

          I guess it happens on every page refresh?
            • 40016
            • 32 Posts
            Same thing is happening to me:
            On every page refresh
            [2012-09-28 08:44:39] (ERROR @ /index.php) Could not load class: modTransportPackage from mysql.modtransportpackage.
            [2012-09-28 08:44:39] (ERROR @ /index.php) modTransportPackage::load() is not a valid static method.

            MODX Revolution 2.2.4-pl (traditional) so same version as described above.

            Any suggestions?
              • 3186 ☆ A M B ☆
              • 279 Posts
              I have this ones too a lot in 2.2.5-pl (advanced and traditional)
                MODX Ambassador (NL) & Professional MODX developer
                Follow me on Twitter | Visit my page on Facebook | View my code on Github | View my script posts
                MODX e-commerce solution SimpleCart
                • 22303 MODX Staff
                • 10,725 Posts
                Do these occur when loading Package Management?
                  • 3186 ☆ A M B ☆
                  • 279 Posts
                  no it looks like it's happening on every page on the front-end pages.. at least; I have cleared the logs and immetiately it's back several times
                    MODX Ambassador (NL) & Professional MODX developer
                    Follow me on Twitter | Visit my page on Facebook | View my code on Github | View my script posts
                    MODX e-commerce solution SimpleCart
                    • 22303 MODX Staff
                    • 10,725 Posts
                    Why would your front-end be looking for transport packages?
                      • 3186 ☆ A M B ☆
                      • 279 Posts
                      I don't know.. I do nothing in the manager besides reloading the error log page. I know this site has a lot of visitors on a day (talking about 3000 a day).

                      Maybe it's coming from a component which does something weird?? I don't know.. the logging is very crap about where the error is coming from.

                      I discovered a system setting to scale the error level to "fatal" and that makes my log not grow so fast or even better stays empty.
                        MODX Ambassador (NL) & Professional MODX developer
                        Follow me on Twitter | Visit my page on Facebook | View my code on Github | View my script posts
                        MODX e-commerce solution SimpleCart