template_preprocess_block() in block.module includes this bit to count how many blocks are in a region:

  // All blocks get an independent counter for each region.
  if (!isset($block_counter[$variables['block']->region])) {
    $block_counter[$variables['block']->region] = 1;
  }

But when Context module renders blocks in context_reaction_block, it doesn't specify the "region" property on the $block object. This causes blocks when rendered to throw a PHP notice. This only occurs if the block.module is still enabled on the site (as Context module can work without it and avoid this problem).

Comments

quicksketch created an issue. See original summary.

quicksketch’s picture

Status: Needs work » Needs review
StatusFileSize
new1.12 KB

  • nedjo committed a5852f4 on 7.x-3.x authored by quicksketch
    Issue #2916952 by quicksketch: Missing "region" causes Undefined...
nedjo’s picture

Status: Needs review » Fixed
Parent issue: » #3016541: Plan for Context 7.x-3.9

Applied, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.