3

See screenshot

All other fields disappear except the 'Title' field after I save a large block of text with a lot of links in the body (richtext) field.

I can't seem to pinpoint it on to anything specific, this is what I'm putting inside the 'Source' of the richtext http://pastebin.com/jiyA6xii

Any help would be greatly appreciated.

2 Answers2

3

I had a similar problem with disappearing fields in the admin interface, and found it seemed to be something to do with the xdebug PHP extension. Disabling that fixed the problem and the fields reappeared:

sudo php5dismod xdebug
sudo service apache2 restart

The problem in this case is actually to do with reaching a nesting limit, so if you do want to use xdebug, an alternate fix is to bump up the max nesting limit in xdebug's ini file (or php.ini), eg:

xdebug.max_nesting_level=200
Nick F
  • 1,215
  • 1
  • 8
  • 21
  • 2
    Worth noting that if you update to xDebug 2.3+, the default value has been increased to 256, instead of 100. – Brad Bell Jan 13 '16 at 03:26
2

To anyone wondering, it had to do with the PHP memory limit and max_post_size. If you're coming across this error, increase the limit.

  • We encountered this with a large matrix field, where blocktypes near the end would lose all their fields. Bumping max_post_size and max_input_vars resolved our issue. – Hraefn Mar 07 '17 at 18:35