Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 18, 2024Jun 18 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 June 18, 2024Jun 18 by SeNioR-
June 18, 2024Jun 18 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.