Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
block.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2008 at 23:00 UTC
Updated:
28 Apr 2011 at 09:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
dave reidVery simple patch fixes the warning. $variables['block_listing'][$region][$i] is a NULL value and needs to be initialized to new stdClass()
Comment #2
c960657 commentedI can confirm that there was previously a strict error, and that this is fixed by the patch.
Comment #3
dries commentedCommitted to CVS HEAD. Thanks.
Comment #5
jwilson3This strict warning also occurs in Drupal 6.19.
I can confirm that the one-line addition in the patch in #1 (applied by hand) solves the issue.
Any chance this could get into to D6 branch?
Is it appropriate to mark this issue with Status: "patch (to be ported)" I'm not totally sure what that state implies, so thought i'd ask first.
Comment #7
jwilson3Backported to D6
Comment #8
jwilson3Dropped the -D6 suffix from previous patch.
Comment #10
c960657 commentedPatch still applies. The testbot has an issue with D6 patches at the moment (#961172: All D6 Core patches are failing).
Comment #11
jhodgdonI can confirm that this bug exists in D6 dev as of today, and that the above patch fixes the problem.
I can also confirm that the patch in #8 does apply (the test bot still has that issue).
Comment #12
dave reidAlso confirmed this fixes a strict notice for D6 core.
Comment #13
gábor hojtsyThanks, committed, pushed.