So this error popped up randomly after i went from my administer page to my home page and I did not change anything that would have caused this.

warning: Missing argument 2 for phptemplate_menu_item_link() in /home/content/g/o/l/golfstinks/html/drupal/themes/sky/template.php on line 103.

All menus are gone now any suggestions here is code:

function phptemplate_menu_item_link($item, $link_item) {
$output = l($item['title'],
$link_item['path'],
array(),
null,
null,
false,
true);
}

Website: http://drupal.golfstinks.com

Thanks

Comments

blanesworld’s picture

The error occurred after making changes to admin/build/path/pathauto. All menu items now link to the site root

blanesworld’s picture

I had placed an over ride from http://drupal.org/node/106821 into my template.php on Friday. I received the error today which makes me believe that my menus hadn't cached yet to create the error. I removed the over ride and frantically cached and cached, the error disappeared.

Suggestion: Download a fresh version of the theme and replace the template.php from the download. Make sure you have a backup of your original file in case you made any changes. Cache the site repeatedly to test.

Hope that helps.

D