Installed 6.x-1.6 on my MAMP testbed in the usual manner (copied in the entire folder, ran update.php).
Any attempt to load a finder-generated page results in whitescreen; php error is:
PHP Fatal error: Cannot use object of type stdClass as array in /Applications/MAMP/htdocs/includes/common.inc on line 924
Hitting the back button gets back to the previous page, with a bunch of warnings displayed, which I assume are related to the previous page generation that failed:
warning: Illegal offset type in isset or empty in /Applications/MAMP/htdocs/includes/common.inc on line 898.
warning: Illegal offset type in /Applications/MAMP/htdocs/includes/common.inc on line 899.
warning: Illegal offset type in /Applications/MAMP/htdocs/includes/common.inc on line 902.
warning: Illegal offset type in /Applications/MAMP/htdocs/modules/locale/locale.module on line 339.
warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /Applications/MAMP/htdocs/includes/database.mysqli.inc on line 323.
warning: Illegal offset type in /Applications/MAMP/htdocs/modules/locale/locale.module on line 356.
warning: Illegal offset type in /Applications/MAMP/htdocs/modules/locale/locale.module on line 362.
warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /Applications/MAMP/htdocs/includes/database.mysqli.inc on line 323.
warning: Illegal offset type in /Applications/MAMP/htdocs/modules/locale/locale.module on line 382.
warning: Illegal offset type in /Applications/MAMP/htdocs/modules/locale/locale.module on line 388.
warning: Illegal offset type in /Applications/MAMP/htdocs/modules/locale/locale.module on line 388.
The first warning is inside the function t($string, $args = array(), $langcode = NULL) function in common.inc
Hope this helps.
Comments
Comment #1
MadOverlord commentedAdditional data point:
I had Locale enabled, but not Content translation. However, enabling Content translation does not affect the results, you still get a whitescreen.
Comment #2
MadOverlord commentedAnd yet more -- I enabled String translation and Finder String translation, just in case they were causing the issue. No joy, I still get a whitescreen.
Comment #3
MadOverlord commentedNor did resaving the finder and its finder elements do anything, though it did generate a lot of "created" messages.
Comment #4
danielb commentedIt's Finder Search, fix coming soon
Comment #5
MadOverlord commentedYeah, I just had some time so I stuck some debugging into common.inc and backtraced the problem to line 95 in finder_search.module...
return $theme_func($results, $finder, $keywords, $pager, $params, $form_state, $no_results);
$theme_func is somehow getting set to "t".
Thanks for the quick action on this.
Comment #6
MadOverlord commentedWhat's really annoying is that if my wife hadn't called me to dinner my posting on this would have beaten yours.
OTOH, her homemade salad dressing is not easily ignored.
Comment #7
danielb commentedOK in the 1.7 release when the theme gets rebuilt, such as when you clear the cache under 'performance', it will set everything right.
Comment #8
MadOverlord commentedConfirming this seems to work now.