Closed (won't fix)
Project:
mothership
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 May 2011 at 01:59 UTC
Updated:
17 Mar 2014 at 19:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
coltraneFound some more.
Comment #2
coltraneFound more having to do with theme settings. When the constant isn't defined PHP attempts to use it as a string, which is why this never popped up before.
By the way, http://randyfay.com/node/76 is what anyone who writes PHP (even in themes) should read and follow.
Also finding notices "Array to string conversion" from mothership_id_safe(). I think it's because mothership_table() is passing $cell over for an ID sometimes and it's an array. Will tackle in moment.
Comment #3
coltraneComment #4
coltraneAnd this one includes a fix for
Warning: strtolower() expects parameter 1 to be string, array given in mothership_id_safe() (line 13 of /data/sites/site/htdocs/sites/all/themes/contrib/mothership/template/template.functions.php).Comment #5
lazysoundsystem commentedThanks for these fixes - the patch added below is exactly the same, only made with
--no-prefixfor compatibility with drush_make.(And with trailing whitespace removed from the changed lines - there are other lines still with trailing whitespace.)
Comment #6
lazysoundsystem commentedAnd this patch also fixes these two:
Comment #7
realityloop commentedIf this is still an issue in D7 please re-open and update the version in issue metadata