Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#5 | 3182490-5.patch | 865 bytes | joelpittet |
|
Issue fork og-3182490
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:
Comments
Comment #2
joelpittet#3174097: Notice: Trying to access array offset on value of type bool in og_context_determine_context() Related to this
Comment #3
joelpittetComment #5
joelpittetAdding a patch because I don't know how I messed up the MR but it's messed.
Comment #7
joelpittetComment #9
bobburns CreditAttribution: bobburns commentedPlease comit this to code - and release update
Comment #10
tormiJust adding a patch for ancient 7.x-1.x here as well ;).