Closed (fixed)
Project:
Notifications
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Apr 2008 at 19:40 UTC
Updated:
10 May 2008 at 21:11 UTC
When I try to go to admin/notifications, I get a blank page and when I look in the errors log, there is a line:
PHP Fatal error: Unsupported operand types in /path/to/drupal/includes/common.inc on line 1435
And I notice that its in the l() function - this seems to get created in the notifications_admin_overview_page() section where call to system_admin_menu_block returns an empty array - the theme later cannot display it. What I was wondering is since it doesn't seem like other detail is being shown for the page, maybe you just need to change the menu item to instead be:
$items['admin/notifications'] = array(
'title' => 'Notifications',
'description' => 'Configure and manage notifications modules.',
'page callback' => 'system_admin_menu_block_page',
'access arguments' => array('administer notifications'),
'file' => 'system.admin.inc',
'file path' => drupal_get_path('module', 'system'),
);
And get rid of that function - it seemed to resolve the issue for me.
Comments
Comment #1
jose reyero commentedYup, you're right, that was it.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.