Problem/Motivation

Notice: Trying to access array offset on value of type bool in og_context_handler_url() (line 474 of og/og_context/og_context.module).

Steps to reproduce

Cron is triggering this

Proposed resolution

Check the offset is a boolean

Issue fork og-3182490

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joelpittet created an issue. See original summary.

joelpittet’s picture

Title: Notice: Trying to access array offset on value of type bool in og_context_handler_url() » 3182490-menu_get_item
Related issues: +#3174097: Notice: Trying to access array offset on value of type bool in og_context_determine_context()
joelpittet’s picture

Title: 3182490-menu_get_item » Notice: Trying to access array offset on value of type bool in og_context_handler_url()

joelpittet’s picture

Status: Active » Needs review
FileSize
865 bytes

Adding a patch because I don't know how I messed up the MR but it's messed.

  • joelpittet committed 7149788 on 7.x-2.x
    Issue #3182490 by joelpittet: Notice: Trying to access array offset on...
joelpittet’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

bobburns’s picture

Please comit this to code - and release update

tormi’s picture

FileSize
605 bytes

Just adding a patch for ancient 7.x-1.x here as well ;).