Closed (fixed)
Project:
mothership
Version:
7.x-2.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2012 at 12:31 UTC
Updated:
9 Apr 2012 at 10:30 UTC
Jump to comment: Most recent file
Get these errors after a clean install on D7.12:
Notice: Undefined index: links in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Warning: array_diff() [function.array-diff]: Argument #1 is not an array in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Warning: array_values() expects parameter 1 to be array, null given in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Notice: Undefined index: links in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Warning: array_diff() [function.array-diff]: Argument #1 is not an array in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Warning: array_values() expects parameter 1 to be array, null given in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Notice: Undefined index: links in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Warning: array_diff() [function.array-diff]: Argument #1 is not an array in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Warning: array_values() expects parameter 1 to be array, null given in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Notice: Undefined index: links in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Warning: array_diff() [function.array-diff]: Argument #1 is not an array in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Warning: array_values() expects parameter 1 to be array, null given in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Notice: Undefined index: links in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Warning: array_diff() [function.array-diff]: Argument #1 is not an array in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Warning: array_values() expects parameter 1 to be array, null given in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Notice: Undefined index: links in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Warning: array_diff() [function.array-diff]: Argument #1 is not an array in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Warning: array_values() expects parameter 1 to be array, null given in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Notice: Undefined index: links in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Warning: array_diff() [function.array-diff]: Argument #1 is not an array in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php).
Warning: array_values() expects parameter 1 to be array, null given in mothership_preprocess() (line 385 of /sites/all/themes/mothership/mothership/template.php
Notice: Undefined variable: rdf_header in include() (line 1 of /sites/all/themes/mothership/mothership/templates/html.tpl.php).
Notice: Undefined variable: rdf_profile in include() (line 7 of/sites/all/themes/mothership/mothership/templates/html.tpl.php).| Comment | File | Size | Author |
|---|---|---|---|
| #5 | undefined-index-links-1451864-5.patch | 447 bytes | bbujisic |
Comments
Comment #1
derPaolo commentedover here it's just the last two lines (the rdf errors)
using 7.12 as well
Comment #2
bruitism commentedSame here on a fresh install.
Comment #3
msmithcti commentedI can also confirm that I'm getting the last two RDF errors on every page load.
Comment #4
msmithcti commentedI've made a separate issue for the RDF errors #1471562: RDF Errors and posted a patch to fix them.
Comment #5
bbujisic commentedThis patch should help with undefined links in mothership_preprocess()
Comment #6
mortendk commentedfixed up & are gonna be the in the 7.x-2.4