We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    This line in SPForm is throwing a server 500 error:

    $this->modx->log(modX::LOG_LEVEL_FATAL,'Fatal Error');


    It was:

    $this->modx->log(MODX_LOG_LEVEL_FATAL,'Fatal Error');


    I thought updating it to the new format would fix things, but no.

    It should die at that point without rendering the contact form, but when the 500 error appears, I can see the whole rendered page including the form in "view source" so the fatal error doesn’t abort processing. I’m pretty sure this didn’t happen before Beta-5.

    Putting:

    die('Fatal Error');


    works fine.
      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