• This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.
  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Support Lots of Errors Produced by Members Map

Rokis

New Member
Joined
Dec 12, 2018
Messages
12
I experience lots of mistakes on constant basis:
Code:
Server Error Log

Error Info
ErrorException: Invalid argument supplied for foreach() - library/XFA/MembersMap/Extends/XenForo/ControllerPublic/Thread.php:36
Generated By: Unknown Account, Apr 9, 2019

Stack Trace
#0 /var/www/en.akaforums.com/data/www/akaforums.com/library/XFA/MembersMap/Extends/XenForo/ControllerPublic/Thread.php(36): XenForo_Application::handlePhpError(2, 'Invalid argumen...', '/var/www/en.aka...', 36, Array)
#1 /var/www/en.akaforums.com/data/www/akaforums.com/library/XenForo/FrontController.php(369): XFA_MembersMap_Extends_XenForo_ControllerPublic_Thread->actionIndex()
#2 /var/www/en.akaforums.com/data/www/akaforums.com/library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /var/www/en.akaforums.com/data/www/akaforums.com/index.php(13): XenForo_FrontController->run()
#4 {main}

Request State
array(3) {
  ["url"] => string(64) "https://www.akaforums.com/threads/upgrading-from-mft-to-mfd.571/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

Fredxd

Administrator
Staff member
Joined
Nov 14, 2015
Messages
1,601
Thx for report i try to look this weekend if i can or next week
Don’t hesitate to bump me if needed
 

Fredxd

Administrator
Staff member
Joined
Nov 14, 2015
Messages
1,601
Hi

In library/XFA/MembersMap/Extends/XenForo/ControllerPublic/Thread.php file

Can you replace

PHP:
if(!isset($response->params['article']))
by

PHP:
if(!isset($response->params['article']) && isset($response->params['posts']))
And tell me if error happen again
 

Rokis

New Member
Joined
Dec 12, 2018
Messages
12
Errors have gone but there is a "space" line occured when any thread is being viewed. How do I remove "space" line?

1.jpg
 

Fredxd

Administrator
Staff member
Joined
Nov 14, 2015
Messages
1,601
Hi
Will need admin access with template modification

Regards