Error migrating a Drupal 8 site from beta15 to final
This particular error comes, when your services.yml file is outdated. It contains the default cache max-age:

The relevant portion looks like this.

parameters:
  renderer.config:
    auto_placeholder_conditions:
      max-age: 0
      contexts: ['session', 'user']
      tags: []


This was added after beta 15, which is why you are seeing that error. Since some portions depend on the default max-age being defined, it will gives error when it isn't.

When updating your site, pre 8.0.0 you need to verify that your services.yml contains the required info.