Jump to content

[BUG 4.7.17] Converter - IPS\convert\Software\Core\uid


Recommended Posts

Example URL: site.com/member.php?action=profile&uid=100

Converted from: MyBB

Error: Undefined constant "IPS\convert\Software\Core\uid" (0)
#0 /public_html/applications/convert/Application.php(314): IPS\convert\Software\Core\_Mybb->checkRedirects()
#1 /public_html/applications/convert/Application.php(298): IPS\convert\_Application::checkRedirects()
#2 /public_html/system/Dispatcher/Front.php(415): IPS\convert\_Application->convertLegacyParameters()
#3 /public_html/system/Dispatcher/Front.php(91): IPS\Dispatcher\_Front::convertLegacyParameters()
#4 /public_html/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\_Front->init()
#5 /public_html/index.php(13): IPS\_Dispatcher::i()
#6 {main}

Cause:

			try
			{
				$data = (string) $this->app->getLink( \IPS\Request::i()-uid, array( 'members', 'core_members' ) );
				return \IPS\Member::load( $data )->url();
			}

Solution:

			try
			{
				$uid = \IPS\Request::i()->uid;
				$data = (string) $this->app->getLink( $uid, array( 'members', 'core_members' ) );
				return \IPS\Member::load( $data )->url();
			}
Edited by SeNioR-
Link to comment
Share on other sites

Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...