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 |
Jump to:
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
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
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
Fixed in next version by removing news_page_link().
#4
Automatically closed -- issue fixed for 2 weeks with no activity.