Closed (works as designed)
Project:
Drupal core
Version:
7.12
Component:
theme system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2012 at 18:15 UTC
Updated:
31 May 2012 at 13:29 UTC
Hi,
Deprecated function: Call-time pass-by-reference has been deprecated in _theme_process_registry() (line 549 of /home/server/.drupal/7/development/drupal-7.12/drupal-7/includes/theme.inc).
// If the theme implementation defines a file, then also use the path
// that it defined. Otherwise use the default path. This allows
// system.module to declare theme functions on behalf of core .include
// files.
if (isset($info['file'])) {
$include_file = isset($info['path']) ? $info['path'] : $path;
$include_file .= '/' . $info['file'];
------->include_once DRUPAL_ROOT . '/' . $include_file;<--------------------------------------
$result[$hook]['includes'][] = $include_file;
}
Is there a patch available?
Keep up the good work! :) Thanks!...
Comments
Comment #1
damien tournoud commentedThat's Drupal core including a file for a theme that contains an invalid call-time pass-by-reference call. This is *not* a Drupal core bug, but a bug in the theme. Could you please move this issue to the affected theme if it is available on Drupal.org?
Comment #2
Vc Developer commentedSure..., thanks for explaining the problem! :)
Comment #3
jcisio commentedIt would be better if the error were more precise (at which line there is that call-time pass-by-reference call). But it's PHP problem.
Comment #3.0
jcisio commentedAdditional info