Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Ошибки при попытке авторизации по апи


Recommended Posts

При попытке при попытке авторизации по апи выдает икое:

Может кто-то уже силкивался, в чем может быть проблема?

 

<b>Notice</b>: Undefined variable: config in <b>/home/eshopper/САЙТ.КОМ/www/catalog/controller/api/login.php</b> on line <b>32</b><br />
<b>Fatal error</b>: Uncaught Error: Call to a member function get() on null in /home/eshopper/САЙТ.КОМ/www/catalog/controller/api/login.php:32
Stack trace:
#0 /home/eshopper/САЙТ.КОМ/storage/modification/system/engine/action.php(79): ControllerApiLogin->index()
#1 /home/eshopper/САЙТ.КОМ/www/catalog/controller/startup/router.php(25): Action->execute(Object(Registry))
#2 /home/eshopper/САЙТ.КОМ/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index()
#3 /home/eshopper/САЙТ.КОМ/www/system/engine/router.php(67): Action->execute(Object(Registry))
#4 /home/eshopper/САЙТ.КОМ/www/system/engine/router.php(56): Router->execute(Object(Action))
#5 /home/eshopper/САЙТ.КОМ/www/system/framework.php(168): Router->dispatch(Object(Action), Object(Action))
#6 /home/eshopper/САЙТ.КОМ/www/system/startup.php(104): require_once('/home/eshopper/...')
#7 /home/eshopper/САЙТ.КОМ/www/index.php(19): start('catalog')
#8 {main}

 

Link to comment
Share on other sites


16 минут назад, Valery332 сказал:

При попытке при попытке авторизации по апи выдает икое:

Может кто-то уже силкивался, в чем может быть проблема?

 

<b>Notice</b>: Undefined variable: config in <b>/home/eshopper/САЙТ.КОМ/www/catalog/controller/api/login.php</b> on line <b>32</b><br />
<b>Fatal error</b>: Uncaught Error: Call to a member function get() on null in /home/eshopper/САЙТ.КОМ/www/catalog/controller/api/login.php:32
Stack trace:
#0 /home/eshopper/САЙТ.КОМ/storage/modification/system/engine/action.php(79): ControllerApiLogin->index()
#1 /home/eshopper/САЙТ.КОМ/www/catalog/controller/startup/router.php(25): Action->execute(Object(Registry))
#2 /home/eshopper/САЙТ.КОМ/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index()
#3 /home/eshopper/САЙТ.КОМ/www/system/engine/router.php(67): Action->execute(Object(Registry))
#4 /home/eshopper/САЙТ.КОМ/www/system/engine/router.php(56): Router->execute(Object(Action))
#5 /home/eshopper/САЙТ.КОМ/www/system/framework.php(168): Router->dispatch(Object(Action), Object(Action))
#6 /home/eshopper/САЙТ.КОМ/www/system/startup.php(104): require_once('/home/eshopper/...')
#7 /home/eshopper/САЙТ.КОМ/www/index.php(19): start('catalog')
#8 {main}

 

Ну как бы.... все ж написано в тексте ошибки.... даже место в когде указано... 
login.php строка 32 не суещёствует объект у которого вызывается метод get()

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.