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.
Warning: array_key_exists(): The second argument should be either an array or an object in /home/mypath/includes/module.inc on line 89
This is a warning message I get with a fresh install (no upgrade), when I look at the "home" page. What could be the reason?
Comment | File | Size | Author |
---|---|---|---|
#1 | module_1.patch | 366 bytes | killes@www.drop.org |
Comments
Comment #1
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedA small glitch, nothing serious. Here is a patch.
Comment #2
stephenhendry CreditAttribution: stephenhendry commentedHow exactly wouild you apply the patch?
Comment #3
Dries CreditAttribution: Dries commentedCommitted to DRUPAL-4-5. Assuming you are using Linux, this patch can be applied using:
patch -p0 < module_1.patch
.Comment #4
Dries CreditAttribution: Dries commentedComment #5
stephenhendry CreditAttribution: stephenhendry commentedAnd if we cant get to a command line what could we do?
Comment #6
ñull CreditAttribution: ñull commentedI did it manually. The syntax of the patch file is not that difficult to understand.
Comment #7
(not verified) CreditAttribution: commentedComment #8
(not verified) CreditAttribution: commentedThe syntax of the patch is exactly the same as what is already there in mudule.inc (the location of my error. See below...)
Warning: array_key_exists(): The second argument should be either an array or an object in /home/karlrhoa/public_html/includes/module.inc on line 89
I manually put it in and still get this error message. Additionally, I also get the following error message(s)...
Warning: Cannot modify header information - headers already sent by (output started at /home/karlrhoa/public_html/includes/module.inc:256) in /home/karlrhoa/public_html/includes/bootstrap.inc on line 258
Warning: Cannot modify header information - headers already sent by (output started at /home/karlrhoa/public_html/includes/module.inc:256) in /home/karlrhoa/public_html/includes/bootstrap.inc on line 259
Warning: Cannot modify header information - headers already sent by (output started at /home/karlrhoa/public_html/includes/module.inc:256) in /home/karlrhoa/public_html/includes/bootstrap.inc on line 275
Comment #9
kdr22 CreditAttribution: kdr22 commentedI'm sorry, I forgot to log in before I replied...
I'm using v4.5.1 and the error is in module.inc. I applied the patch, but as I mentioned in my "anonymous" reply, the patch matches what is aready there - so manually applying the patch was of no use, as I still get the same errror message. Any other fixes, suggestions?
Warning: array_key_exists(): The second argument should be either an array or an object in /home/karlrhoa/public_html/includes/module.inc on line 89
Warning: array_key_exists(): The second argument should be either an array or an object in /home/karlrhoa/public_html/includes/module.inc on line 89
Warning: array_key_exists(): The second argument should be either an array or an object in /home/karlrhoa/public_html/includes/module.inc on line 89
Warning: array_key_exists(): The second argument should be either an array or an object in /home/karlrhoa/public_html/includes/module.inc on line 89
Warning: array_key_exists(): The second argument should be either an array or an object in /home/karlrhoa/public_html/includes/module.inc on line 89
Warning: Cannot modify header information - headers already sent by (output started at /home/karlrhoa/public_html/includes/module.inc:256) in /home/karlrhoa/public_html/includes/bootstrap.inc on line 258
Warning: Cannot modify header information - headers already sent by (output started at /home/karlrhoa/public_html/includes/module.inc:256) in /home/karlrhoa/public_html/includes/bootstrap.inc on line 259
Warning: Cannot modify header information - headers already sent by (output started at /home/karlrhoa/public_html/includes/module.inc:256) in /home/karlrhoa/public_html/includes/bootstrap.inc on line 275