We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40910
    • 15 Posts
    Modx Revo 2.2.7

    My error.log overloaded messages such as:

    [2015-02-27 16:36:00] (ERROR @ /index.php) Could not get table class for class: modresource
    [2015-02-27 16:36:00] (ERROR @ /index.php) Could not get table name for class: modresource
    [2015-02-27 16:36:00] (ERROR @ /index.php) Could not get table class for class: modresource
    [2015-02-27 16:36:00] (ERROR @ /index.php) Could not get table name for class: modresource
    [2015-02-27 16:36:00] (ERROR @ /index.php) Could not get table class for class: modresource
    [2015-02-27 16:36:00] (ERROR @ /index.php) Could not get table name for class: modresource
    [2015-02-27 16:36:00] (ERROR @ /index.php) Could not get table class for class: modresource
    [2015-02-27 16:36:00] (ERROR @ /index.php) Could not get table name for class: modresource

    How can I solve this problem?
    Thanks in advance!

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

    • discuss.answer
      • 3749
      • 24,544 Posts
      Do you have any new custom snippets or plugins? The class name should be 'modResource' not 'modresource' so I think some code on your site is looking for the wrong class.
        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
        • 40910
        • 15 Posts
        Fixed. Thanks!