What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.

Support Lots of Errors Produced by Members Map

Rokis

New Member
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) {
  }
}
 
Thx for report i try to look this weekend if i can or next week
Don’t hesitate to bump me if needed
 
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
 
Errors have gone but there is a "space" line occured when any thread is being viewed. How do I remove "space" line?

1.jpg
 
Top