cancel
Showing results for 
Search instead for 
Did you mean: 

Notice: Undefined index: user_id

Notice: Undefined index: user_id

Hi All,

 

I am facing an issue with a POS module i have installed from Boostmyshop for Magento 2

 

when trying to change the user i get the following error:

4 REPLIES 4

Re: Notice: Undefined index: user_id

Any help?

Re: Notice: Undefined index: user_id

Hi @dgarmoogum,

 

Since this is a paid extension maybe you should ask vendor for support. I guess it will be the fastest and accurate way to find the solution.

Re: Notice: Undefined index: user_id

@dgarmoogum

You can try with below inside try block,

try
{
$userId = $data['user_id'];
}

with 

try
{
$userId =$user->getUser()->getUserId();
$this->_registry->changeCurrentUserId($userId);
$result['success'] = true;
}

 

Still issue not solved, Get help from extension provider they will give answer asap for your query.

please let me know if you have any query.

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: Notice: Undefined index: user_id

Hi all, 

The issue was patched and fixed in our latest update of the POS extension available here :

https://www.boostmyshop.com/point-of-sales.html