https://www.icyphoenix.com/viewtopic.php?f=28&t=4245&p=35363#p35363
-----------------------------------
Chaotic
Sun 04 Jan, 2009 03:34

Re: Event Registration Icy Phoenix Edition 0.0.4
-----------------------------------
The problem I am having may just be because of all the MODS I have installed, but I receive this error when viewing www.mysite.com/recent.php.

Error:

[spoiler]Warning: Missing argument 13 for build_topic_icon_link(), called in /homepages/33/d163845182/htdocs/macommunity_root/macommunity_site/recent.php on line 267 and defined in /homepages/33/d163845182/htdocs/macommunity_root/macommunity_site/includes/functions.php on line 2997[/spoiler]

Also, in /recent.php, I'm seeing event registration calendar icons for topics that don't have an event registration enabled.  (See picture below)

 [img]http://www.icyphoenix.com/files/images/3295/with.png[/img] 

This is my line 2997 in functions.php:

[code linenumbers=false]function build_topic_icon_link($forum_id, $topic_id, $topic_type, $topic_reg, $topic_replies, $topic_news_id, $topic_vote, $topic_status, $topic_moved_id, $topic_post_time, $user_replied, $replies, $unread)[/code]

When I remove:

[code linenumbers=false] $topic_reg,[/code]

all the errors on /recent.php disappear, but every topic in my forum is showing as a news post:

 [img]http://www.icyphoenix.com/files/images/3295/newsweird.png[/img]

I'm kind of disappointed in myself because I use this MOD all the time and I never noticed this problem.  I just happened to click on Recent Topics in my header today and I stumbled upon this.


