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

    After latest Evo security scare, I installed the new patched file as directed. The first time I tried to save a template on one of my evo sites, I got the following error messages. I then went to anothger site with new file and got the same error message.

    Warning: preg_match() expects parameter 2 to be string, array given in /home/xxxx/public_html/manager/includes/protect.inc.php on line 44
    
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/manager/includes/protect.inc.php:44) in /home/xxxx/public_html/manager/index.php on line 62
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/manager/includes/protect.inc.php:44) in /home/xxxx/public_html/manager/index.php on line 63
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/manager/includes/protect.inc.php:44) in /home/xxxx/public_html/manager/index.php on line 64
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/manager/includes/protect.inc.php:44) in /home/xxxx/public_html/manager/index.php on line 65
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/manager/includes/protect.inc.php:44) in /home/xxxx/public_html/manager/index.php on line 66
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/manager/includes/protect.inc.php:44) in /home/xxxx/public_html/manager/index.php on line 67
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/xxxx/public_html/manager/includes/protect.inc.php:44) in /home/xxxx/public_html/manager/includes/config.inc.php on line 60
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/manager/includes/protect.inc.php:44) in /home/xxxx/public_html/manager/includes/config.inc.php on line 74
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/manager/includes/protect.inc.php:44) in /home/xxxx/public_html/manager/index.php on line 169
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/manager/includes/protect.inc.php:44) in /home/xxxx/public_html/manager/processors/save_template.processor.php on line 153
    
    


      • 28042 ☆ A M B ☆
      • 24,524 Posts
      As a stop-gap measure you can disable the "warning" error level. The rest of the error messages are from the display of the PHP warning message conflicting the MODx trying to send its own output.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org