Jump to content

5.0.8 - TypeError: IPS\Content\Item::getRedirectFrom(): Argument #1 ($id) must be of type int, string given, called in

  • Status: Moved to Github

Hi

Since upgrading from 5.0.7 I'm getting the following error:

TypeError: IPS\Content\Item::getRedirectFrom(): Argument #1 ($id) must be of type int, string given, called in /home/yamahaclub/htdocs/yamahaclub.com/system/Content/Controller.php on line 417 (0)

#0 /home/yamahaclub/htdocs/yamahaclub.com/system/Content/Controller.php(417): IPS\Content\Item::getRedirectFrom()

#1 /home/yamahaclub/htdocs/yamahaclub.com/applications/forums/modules/front/forums/topic.php(94): IPS\Content\Controller->manage()

#2 /home/yamahaclub/htdocs/yamahaclub.com/system/Dispatcher/Controller.php(139): IPS\forums\modules\front\forums\topic->manage()

#3 /home/yamahaclub/htdocs/yamahaclub.com/system/Content/Controller.php(124): IPS\Dispatcher\Controller->execute()

#4 /home/yamahaclub/htdocs/yamahaclub.com/applications/forums/modules/front/forums/topic.php(82): IPS\Content\Controller->execute()

#5 /home/yamahaclub/htdocs/yamahaclub.com/system/Dispatcher/Dispatcher.php(169): IPS\forums\modules\front\forums\topic->execute()

#6 /home/yamahaclub/htdocs/yamahaclub.com/index.php(16): IPS\Dispatcher->run()

#7 {main}

#0 /home/yamahaclub/htdocs/yamahaclub.com/init.php(827): IPS\Log::log()

#1 [internal function]: IPS\IPS::exceptionHandler()

#2 {main}

Thanks

User Feedback

Recommended Comments

Stuart Silvester

Invision Community Team

What does the system log show for the URL the issue occurred on?

Esther E.

Invision Community Team

I'm also curious to know if this was a logged in user or a guest. I think we actually have this report in our tracker, and I recall seeing some very strange things in the URL.