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.
  • 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 Undefined index error

I am getting the following error on my server several times a day. Any idea what is causing this?


ErrorException: Undefined index: xfa_fss_paypal - library/XenForo/Visitor.php:678
Generated By: Unknown Account, Yesterday at 7:11 PM
Stack Trace
#0 /xxx/forums/library/XenForo/Visitor.php(678): XenForo_Application::handlePhpError(8, 'Undefined index...', '/xxx...', 678, Array)
#1 /xxx/forums/library/XFA/ForumSales/Extends/ControllerPublic/Thread.php(359): XenForo_Visitor->offsetGet('xfa_fss_paypal')
#2 /xxx/forums/library/XenForo/FrontController.php(369): XFA_ForumSales_Extends_ControllerPublic_Thread->actionXfaFssPurchase()
#3 /xxx/forums/library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /xxx/forums/index.php(13): XenForo_FrontController->run()
#5 {main}
Request State
array(3) {
["url"] => string(94) "https://xxx/forums/threads/arkham-origins-action-figure-lot.296156/xfa-fss-purchase"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 

Clement

Freaky Coder
Staff member
Hum odd, this is supposed to be a column existing in the database.

Do you have a column names xfa_fss_paypal in your xf_user database table ?

Are non registered users allowed to purchase ?
 

Clement

Freaky Coder
Staff member
Ok but where you connected before in that browser ? Coz that wouldn't be not loggedin.
 

Clement

Freaky Coder
Staff member
When you used that url ?

Well then I don't see how this error you have is triggered, this is the only idea I have.
If non logged in users are not allowed to buy then it's impossible that the error is popped out by an unknown account.

Clément
 
I get redirected to paypal

Correct. Which should not happen because you aren't a member or logged in. That is the problem. If someone knows the link, whether they are a member or not, they are sent to paypal, which isn't a good thing. Can this be stopped?
 
Well... I thought so, but now in testing further, whether you are logged out or in, if you click on a buy it now link, the site generates that error... so there are two issues;

First, clicking the link creates that error.

Second, a non-user who figures out the link can technically side-step the permissions.
 

Clement

Freaky Coder
Staff member
Clicking when logged in does generate the error ?
Are you sure about that ?

I was thinking it came from the second issue.
 
Top