warning: Missing argument 3 for news_page_link() when using taxonomy_browser module in 5.2

mosa - August 10, 2007 - 22:40
Project:News Page
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hey all. I wanted to pass this error along, which came up after moving from 4.7 to 5.2.... I get it on top of my search results when I use the updated version of taxonomy_browser to search my site.

warning: Missing argument 3 for news_page_link() in /home/80/pov/povnet_drupalupgrade/modules/news_page/news_page.module on line 61.

Let me know if there's any changes I can make to eliminate this error.
thx

#1

mkrakowiak - July 27, 2008 - 16:43
Category:support request» bug report

I got the same error with taxonomy context module. It's quite easy to fix, though. What you do is replace line 61 of the news_page.module:

function news_page_link($type, $node = 0, $main) {

with

function news_page_link($type, $node = 0, $teaser) {

I also experienced a similar problem with the pdfview module, and the fix is pretty similar to the one above.

#2

kompressaur - March 9, 2009 - 03:42

I have the same problem as mentioned in the fix with taxonmony context but the fix hasnt changed anything. still the same error. im running the lastest versions of both modules and drupal 5.

#3

Robert Castelo - April 8, 2009 - 00:21
Status:active» fixed

Fixed in next version by removing news_page_link().

#4

System Message - April 22, 2009 - 00:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.