Sudden issue with editing

  • After years of successful creation and editing, we now see this every time we attempt to edit a page


    Above our Content

    Warning: Invalid argument supplied for foreach() in /home4/kelstef/public_html/editorial/core/apps/content/modes/edit.form.pre.php on line 119



    Warning: Cannot modify header information - headers already sent by (output started at /home4/kelstef/public_html/editorial/core/apps/content/modes/edit.form.pre.php:119) in /home4/kelstef/public_html/editorial/core/lib/PerchUtil.class.php on line 1405



    Warning: Cannot modify header information - headers already sent by (output started at /home4/kelstef/public_html/editorial/core/apps/content/modes/edit.form.pre.php:119) in /home4/kelstef/public_html/editorial/core/lib/PerchUtil.class.php on line 1406



    Warning: Cannot modify header information - headers already sent by (output started at /home4/kelstef/public_html/editorial/core/apps/content/modes/edit.form.pre.php:119) in /home4/kelstef/public_html/editorial/core/lib/PerchUtil.class.php on line 1407



    Warning: Cannot modify header information - headers already sent by (output started at /home4/kelstef/public_html/editorial/core/apps/content/modes/edit.form.pre.php:119) in /home4/kelstef/public_html/editorial/core/lib/PerchUtil.class.php on line 1415



    Warning: Cannot modify header information - headers already sent by (output started at /home4/kelstef/public_html/editorial/core/apps/content/modes/edit.form.pre.php:119) in /home4/kelstef/public_html/editorial/core/inc/top.php on line 17


    Immediately below The Regions Headline Regiions Options menu



    Warning: Invalid argument supplied for foreach() in /home4/kelstef/public_html/editorial/core/apps/content/modes/edit.form.post.php on line 165


    Our info


    • PHP 5.4.45 version is okay, but a little out of date. Consider updating soon.
    • MySQL 5.6.41-84.1 is up to date
    • Image processing available

    Summary information

    • Perch: 3.1.5, PHP: 5.4.45, MySQL: 5.6.41-84.1, with PDO
    • Server OS: Linux, cgi-fcgi
    • Installed apps: content (3.1.5), assets (3.1.5), categories (3.1.5), perch_comments (1.0.1)
    • App runtimes: <?php $apps_list = [];
    • PERCH_LOGINPATH: /editorial
    • PERCH_PATH: /home4/kelstef/public_html/editorial
    • PERCH_CORE: /home4/kelstef/public_html/editorial/core
    • PERCH_RESFILEPATH: /home4/kelstef/public_html/editorial/resources
    • Image manipulation: GD Imagick
    • PHP limits: Max upload 256M, Max POST 260M, Memory: 256M, Total max file upload: 256M
    • F1: 3b606135b33e6a102526838f4152a807
    • Resource folder writeable: Yes
    • DOCUMENT_ROOT: /home4/kelstef/public_html
    • HTTP_HOST: aircrewremembered.com
    • REQUEST_URI: /editorial/core/settings/diagnostics/
    • SCRIPT_NAME: /editorial/core/settings/diagnostics/index.php


    Any ideas of the problem?


    The only difference I can think of is we were forced to implement Cloudflare to eliminate a Denial of Service attack which was flooding our hosting service. Cloudflare routes all requests via their servers before the customer can reach our site.