Fatal error: Uncaught TypeError: Argument 1 passed to
I just cloned a project from git, everyting ok, when i enter to a module name kardex i found this error, the thing is that this error only appears to me in my project, not happen in another cloned project from my team. I upgrade my project, compile and delete cache but not works, thanks for the help.
PHP Fatal error: Uncaught TypeError: Argument 1 passed to ArkixkardexControllerAdminhtmlInventoryIndex::__construct() must be an
instance of MagentoBackendAppActionContext, instance of MagentoFrameworkObjectManagerObjectManager given, called in C:laragonwwwbabaluvendormagentoframeworkObjectManagerFactoryAbstractFactory.php on line 93 and defined in C:laragonwwwbabaluappcodeArkixKardexControllerAdminhtmlInventoryIndex.php:23
Stack trace:
#0 C:laragonwwwbabaluvendormagentoframeworkObjectManagerFactoryAbstractFactory.php(93): ArkixkardexControllerAdminhtmlInventoryIndex->__construct(Object(MagentoFrameworkObjectManagerObjectManager))
#1 C:laragonwwwbabaluvendormagentoframeworkObjectManagerFactoryCompiled.php(88): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject('Arkix\Kardex\Co...', Array)
#2 C:laragonwwwbabaluvendormagentoframeworkObjectManagerObjectManager.php(57): MagentoFrameworkObjectManagerFactoryCompiled->create('Arkix\Kardex\Co in C:laragonwwwbabaluappcodeArkixKardexControllerAdminhtmlInventoryIndex.php on line 23
this is my controller, i´m using magento 2.1, the error appears in the line 23 but i don´t know.
<?php
namespace ArkixkardexControllerAdminhtmlInventory;
use MagentoBackendAppAction;
use MagentoBackendAppActionContext;
use MagentoFrameworkViewResultPageFactory;
class Index extends Action
{
/**
* @var PageFactory
*/
protected $resultPageFactory;
/**
* @param Context $context
* @param PageFactory $resultPageFactory
*/
public function __construct(
Context $context,
PageFactory $resultPageFactory
) {
parent::__construct($context);
$this->resultPageFactory = $resultPageFactory;
}
/**
* Index action
*
* @return MagentoBackendModelViewResultPage
*/
public function execute()
{
/** @var MagentoBackendModelViewResultPage $resultPage */
$resultPage = $this->resultPageFactory->create();
$resultPage->addBreadcrumb(__('Kardex'), __('Kardex'));
$resultPage->addBreadcrumb(__('Kardex'), __('Kardex'));
$resultPage->getConfig()->getTitle()->prepend(__('Kardex'));
return $resultPage;
}
/**
* @return bool
*/
protected function _isAllowed()
{
return $this->_authorization->isAllowed('Arkix_Kardex::kardex_inventory');
}
}
magento-2.1 php
add a comment |
I just cloned a project from git, everyting ok, when i enter to a module name kardex i found this error, the thing is that this error only appears to me in my project, not happen in another cloned project from my team. I upgrade my project, compile and delete cache but not works, thanks for the help.
PHP Fatal error: Uncaught TypeError: Argument 1 passed to ArkixkardexControllerAdminhtmlInventoryIndex::__construct() must be an
instance of MagentoBackendAppActionContext, instance of MagentoFrameworkObjectManagerObjectManager given, called in C:laragonwwwbabaluvendormagentoframeworkObjectManagerFactoryAbstractFactory.php on line 93 and defined in C:laragonwwwbabaluappcodeArkixKardexControllerAdminhtmlInventoryIndex.php:23
Stack trace:
#0 C:laragonwwwbabaluvendormagentoframeworkObjectManagerFactoryAbstractFactory.php(93): ArkixkardexControllerAdminhtmlInventoryIndex->__construct(Object(MagentoFrameworkObjectManagerObjectManager))
#1 C:laragonwwwbabaluvendormagentoframeworkObjectManagerFactoryCompiled.php(88): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject('Arkix\Kardex\Co...', Array)
#2 C:laragonwwwbabaluvendormagentoframeworkObjectManagerObjectManager.php(57): MagentoFrameworkObjectManagerFactoryCompiled->create('Arkix\Kardex\Co in C:laragonwwwbabaluappcodeArkixKardexControllerAdminhtmlInventoryIndex.php on line 23
this is my controller, i´m using magento 2.1, the error appears in the line 23 but i don´t know.
<?php
namespace ArkixkardexControllerAdminhtmlInventory;
use MagentoBackendAppAction;
use MagentoBackendAppActionContext;
use MagentoFrameworkViewResultPageFactory;
class Index extends Action
{
/**
* @var PageFactory
*/
protected $resultPageFactory;
/**
* @param Context $context
* @param PageFactory $resultPageFactory
*/
public function __construct(
Context $context,
PageFactory $resultPageFactory
) {
parent::__construct($context);
$this->resultPageFactory = $resultPageFactory;
}
/**
* Index action
*
* @return MagentoBackendModelViewResultPage
*/
public function execute()
{
/** @var MagentoBackendModelViewResultPage $resultPage */
$resultPage = $this->resultPageFactory->create();
$resultPage->addBreadcrumb(__('Kardex'), __('Kardex'));
$resultPage->addBreadcrumb(__('Kardex'), __('Kardex'));
$resultPage->getConfig()->getTitle()->prepend(__('Kardex'));
return $resultPage;
}
/**
* @return bool
*/
protected function _isAllowed()
{
return $this->_authorization->isAllowed('Arkix_Kardex::kardex_inventory');
}
}
magento-2.1 php
1
remove/rename generated folder at magento's root.
– Vivek Kumar
Jan 9 at 21:02
You namespace has a misspelling
– Bare Feet
Jan 11 at 13:37
add a comment |
I just cloned a project from git, everyting ok, when i enter to a module name kardex i found this error, the thing is that this error only appears to me in my project, not happen in another cloned project from my team. I upgrade my project, compile and delete cache but not works, thanks for the help.
PHP Fatal error: Uncaught TypeError: Argument 1 passed to ArkixkardexControllerAdminhtmlInventoryIndex::__construct() must be an
instance of MagentoBackendAppActionContext, instance of MagentoFrameworkObjectManagerObjectManager given, called in C:laragonwwwbabaluvendormagentoframeworkObjectManagerFactoryAbstractFactory.php on line 93 and defined in C:laragonwwwbabaluappcodeArkixKardexControllerAdminhtmlInventoryIndex.php:23
Stack trace:
#0 C:laragonwwwbabaluvendormagentoframeworkObjectManagerFactoryAbstractFactory.php(93): ArkixkardexControllerAdminhtmlInventoryIndex->__construct(Object(MagentoFrameworkObjectManagerObjectManager))
#1 C:laragonwwwbabaluvendormagentoframeworkObjectManagerFactoryCompiled.php(88): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject('Arkix\Kardex\Co...', Array)
#2 C:laragonwwwbabaluvendormagentoframeworkObjectManagerObjectManager.php(57): MagentoFrameworkObjectManagerFactoryCompiled->create('Arkix\Kardex\Co in C:laragonwwwbabaluappcodeArkixKardexControllerAdminhtmlInventoryIndex.php on line 23
this is my controller, i´m using magento 2.1, the error appears in the line 23 but i don´t know.
<?php
namespace ArkixkardexControllerAdminhtmlInventory;
use MagentoBackendAppAction;
use MagentoBackendAppActionContext;
use MagentoFrameworkViewResultPageFactory;
class Index extends Action
{
/**
* @var PageFactory
*/
protected $resultPageFactory;
/**
* @param Context $context
* @param PageFactory $resultPageFactory
*/
public function __construct(
Context $context,
PageFactory $resultPageFactory
) {
parent::__construct($context);
$this->resultPageFactory = $resultPageFactory;
}
/**
* Index action
*
* @return MagentoBackendModelViewResultPage
*/
public function execute()
{
/** @var MagentoBackendModelViewResultPage $resultPage */
$resultPage = $this->resultPageFactory->create();
$resultPage->addBreadcrumb(__('Kardex'), __('Kardex'));
$resultPage->addBreadcrumb(__('Kardex'), __('Kardex'));
$resultPage->getConfig()->getTitle()->prepend(__('Kardex'));
return $resultPage;
}
/**
* @return bool
*/
protected function _isAllowed()
{
return $this->_authorization->isAllowed('Arkix_Kardex::kardex_inventory');
}
}
magento-2.1 php
I just cloned a project from git, everyting ok, when i enter to a module name kardex i found this error, the thing is that this error only appears to me in my project, not happen in another cloned project from my team. I upgrade my project, compile and delete cache but not works, thanks for the help.
PHP Fatal error: Uncaught TypeError: Argument 1 passed to ArkixkardexControllerAdminhtmlInventoryIndex::__construct() must be an
instance of MagentoBackendAppActionContext, instance of MagentoFrameworkObjectManagerObjectManager given, called in C:laragonwwwbabaluvendormagentoframeworkObjectManagerFactoryAbstractFactory.php on line 93 and defined in C:laragonwwwbabaluappcodeArkixKardexControllerAdminhtmlInventoryIndex.php:23
Stack trace:
#0 C:laragonwwwbabaluvendormagentoframeworkObjectManagerFactoryAbstractFactory.php(93): ArkixkardexControllerAdminhtmlInventoryIndex->__construct(Object(MagentoFrameworkObjectManagerObjectManager))
#1 C:laragonwwwbabaluvendormagentoframeworkObjectManagerFactoryCompiled.php(88): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject('Arkix\Kardex\Co...', Array)
#2 C:laragonwwwbabaluvendormagentoframeworkObjectManagerObjectManager.php(57): MagentoFrameworkObjectManagerFactoryCompiled->create('Arkix\Kardex\Co in C:laragonwwwbabaluappcodeArkixKardexControllerAdminhtmlInventoryIndex.php on line 23
this is my controller, i´m using magento 2.1, the error appears in the line 23 but i don´t know.
<?php
namespace ArkixkardexControllerAdminhtmlInventory;
use MagentoBackendAppAction;
use MagentoBackendAppActionContext;
use MagentoFrameworkViewResultPageFactory;
class Index extends Action
{
/**
* @var PageFactory
*/
protected $resultPageFactory;
/**
* @param Context $context
* @param PageFactory $resultPageFactory
*/
public function __construct(
Context $context,
PageFactory $resultPageFactory
) {
parent::__construct($context);
$this->resultPageFactory = $resultPageFactory;
}
/**
* Index action
*
* @return MagentoBackendModelViewResultPage
*/
public function execute()
{
/** @var MagentoBackendModelViewResultPage $resultPage */
$resultPage = $this->resultPageFactory->create();
$resultPage->addBreadcrumb(__('Kardex'), __('Kardex'));
$resultPage->addBreadcrumb(__('Kardex'), __('Kardex'));
$resultPage->getConfig()->getTitle()->prepend(__('Kardex'));
return $resultPage;
}
/**
* @return bool
*/
protected function _isAllowed()
{
return $this->_authorization->isAllowed('Arkix_Kardex::kardex_inventory');
}
}
magento-2.1 php
magento-2.1 php
edited Jan 11 at 13:17
Siarhey Uchukhlebau
9,65692858
9,65692858
asked Jan 9 at 20:58
Alejandro DuqueAlejandro Duque
61
61
1
remove/rename generated folder at magento's root.
– Vivek Kumar
Jan 9 at 21:02
You namespace has a misspelling
– Bare Feet
Jan 11 at 13:37
add a comment |
1
remove/rename generated folder at magento's root.
– Vivek Kumar
Jan 9 at 21:02
You namespace has a misspelling
– Bare Feet
Jan 11 at 13:37
1
1
remove/rename generated folder at magento's root.
– Vivek Kumar
Jan 9 at 21:02
remove/rename generated folder at magento's root.
– Vivek Kumar
Jan 9 at 21:02
You namespace has a misspelling
– Bare Feet
Jan 11 at 13:37
You namespace has a misspelling
– Bare Feet
Jan 11 at 13:37
add a comment |
3 Answers
3
active
oldest
votes
it was caused by you modify construct of that controller.
Use command compile to solve it:
php bin/magento setup:di:compile
thanks for answer, I upgrade my project, compile and delete cache but not works.
– Alejandro Duque
Jan 10 at 23:04
can you tell me version magento2? also, please add your controller in here to view.
– the light
Jan 11 at 1:53
add a comment |
Try to change namespace from:
namespace ArkixkardexControllerAdminhtmlInventory;
to:
namespace ArkixKardexControllerAdminhtmlInventory;
i´m going to try out your suggestion Siarhey, thanks for answer.
– Alejandro Duque
Jan 11 at 14:53
add a comment |
This is my controller, i´m using magento 2.1, the error appears in the line 23 but i don´t know.
<?php
namespace ArkixkardexControllerAdminhtmlInventory;
use MagentoBackendAppAction;
use MagentoBackendAppActionContext;
use MagentoFrameworkViewResultPageFactory;
class Index extends Action
{
/**
* @var PageFactory
*/
protected $resultPageFactory;
/**
* @param Context $context
* @param PageFactory $resultPageFactory
*/
public function __construct(
Context $context,
PageFactory $resultPageFactory
) {
parent::__construct($context);
$this->resultPageFactory = $resultPageFactory;
}
/**
* Index action
*
* @return MagentoBackendModelViewResultPage
*/
public function execute()
{
/** @var MagentoBackendModelViewResultPage $resultPage */
$resultPage = $this->resultPageFactory->create();
$resultPage->addBreadcrumb(__('Kardex'), __('Kardex'));
$resultPage->addBreadcrumb(__('Kardex'), __('Kardex'));
$resultPage->getConfig()->getTitle()->prepend(__('Kardex'));
return $resultPage;
}
/**
* @return bool
*/
protected function _isAllowed()
{
return $this->_authorization->isAllowed('Arkix_Kardex::kardex_inventory');
}
}
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f257304%2ffatal-error-uncaught-typeerror-argument-1-passed-to%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
it was caused by you modify construct of that controller.
Use command compile to solve it:
php bin/magento setup:di:compile
thanks for answer, I upgrade my project, compile and delete cache but not works.
– Alejandro Duque
Jan 10 at 23:04
can you tell me version magento2? also, please add your controller in here to view.
– the light
Jan 11 at 1:53
add a comment |
it was caused by you modify construct of that controller.
Use command compile to solve it:
php bin/magento setup:di:compile
thanks for answer, I upgrade my project, compile and delete cache but not works.
– Alejandro Duque
Jan 10 at 23:04
can you tell me version magento2? also, please add your controller in here to view.
– the light
Jan 11 at 1:53
add a comment |
it was caused by you modify construct of that controller.
Use command compile to solve it:
php bin/magento setup:di:compile
it was caused by you modify construct of that controller.
Use command compile to solve it:
php bin/magento setup:di:compile
answered Jan 10 at 7:26
the lightthe light
314
314
thanks for answer, I upgrade my project, compile and delete cache but not works.
– Alejandro Duque
Jan 10 at 23:04
can you tell me version magento2? also, please add your controller in here to view.
– the light
Jan 11 at 1:53
add a comment |
thanks for answer, I upgrade my project, compile and delete cache but not works.
– Alejandro Duque
Jan 10 at 23:04
can you tell me version magento2? also, please add your controller in here to view.
– the light
Jan 11 at 1:53
thanks for answer, I upgrade my project, compile and delete cache but not works.
– Alejandro Duque
Jan 10 at 23:04
thanks for answer, I upgrade my project, compile and delete cache but not works.
– Alejandro Duque
Jan 10 at 23:04
can you tell me version magento2? also, please add your controller in here to view.
– the light
Jan 11 at 1:53
can you tell me version magento2? also, please add your controller in here to view.
– the light
Jan 11 at 1:53
add a comment |
Try to change namespace from:
namespace ArkixkardexControllerAdminhtmlInventory;
to:
namespace ArkixKardexControllerAdminhtmlInventory;
i´m going to try out your suggestion Siarhey, thanks for answer.
– Alejandro Duque
Jan 11 at 14:53
add a comment |
Try to change namespace from:
namespace ArkixkardexControllerAdminhtmlInventory;
to:
namespace ArkixKardexControllerAdminhtmlInventory;
i´m going to try out your suggestion Siarhey, thanks for answer.
– Alejandro Duque
Jan 11 at 14:53
add a comment |
Try to change namespace from:
namespace ArkixkardexControllerAdminhtmlInventory;
to:
namespace ArkixKardexControllerAdminhtmlInventory;
Try to change namespace from:
namespace ArkixkardexControllerAdminhtmlInventory;
to:
namespace ArkixKardexControllerAdminhtmlInventory;
answered Jan 11 at 13:27
Siarhey UchukhlebauSiarhey Uchukhlebau
9,65692858
9,65692858
i´m going to try out your suggestion Siarhey, thanks for answer.
– Alejandro Duque
Jan 11 at 14:53
add a comment |
i´m going to try out your suggestion Siarhey, thanks for answer.
– Alejandro Duque
Jan 11 at 14:53
i´m going to try out your suggestion Siarhey, thanks for answer.
– Alejandro Duque
Jan 11 at 14:53
i´m going to try out your suggestion Siarhey, thanks for answer.
– Alejandro Duque
Jan 11 at 14:53
add a comment |
This is my controller, i´m using magento 2.1, the error appears in the line 23 but i don´t know.
<?php
namespace ArkixkardexControllerAdminhtmlInventory;
use MagentoBackendAppAction;
use MagentoBackendAppActionContext;
use MagentoFrameworkViewResultPageFactory;
class Index extends Action
{
/**
* @var PageFactory
*/
protected $resultPageFactory;
/**
* @param Context $context
* @param PageFactory $resultPageFactory
*/
public function __construct(
Context $context,
PageFactory $resultPageFactory
) {
parent::__construct($context);
$this->resultPageFactory = $resultPageFactory;
}
/**
* Index action
*
* @return MagentoBackendModelViewResultPage
*/
public function execute()
{
/** @var MagentoBackendModelViewResultPage $resultPage */
$resultPage = $this->resultPageFactory->create();
$resultPage->addBreadcrumb(__('Kardex'), __('Kardex'));
$resultPage->addBreadcrumb(__('Kardex'), __('Kardex'));
$resultPage->getConfig()->getTitle()->prepend(__('Kardex'));
return $resultPage;
}
/**
* @return bool
*/
protected function _isAllowed()
{
return $this->_authorization->isAllowed('Arkix_Kardex::kardex_inventory');
}
}
add a comment |
This is my controller, i´m using magento 2.1, the error appears in the line 23 but i don´t know.
<?php
namespace ArkixkardexControllerAdminhtmlInventory;
use MagentoBackendAppAction;
use MagentoBackendAppActionContext;
use MagentoFrameworkViewResultPageFactory;
class Index extends Action
{
/**
* @var PageFactory
*/
protected $resultPageFactory;
/**
* @param Context $context
* @param PageFactory $resultPageFactory
*/
public function __construct(
Context $context,
PageFactory $resultPageFactory
) {
parent::__construct($context);
$this->resultPageFactory = $resultPageFactory;
}
/**
* Index action
*
* @return MagentoBackendModelViewResultPage
*/
public function execute()
{
/** @var MagentoBackendModelViewResultPage $resultPage */
$resultPage = $this->resultPageFactory->create();
$resultPage->addBreadcrumb(__('Kardex'), __('Kardex'));
$resultPage->addBreadcrumb(__('Kardex'), __('Kardex'));
$resultPage->getConfig()->getTitle()->prepend(__('Kardex'));
return $resultPage;
}
/**
* @return bool
*/
protected function _isAllowed()
{
return $this->_authorization->isAllowed('Arkix_Kardex::kardex_inventory');
}
}
add a comment |
This is my controller, i´m using magento 2.1, the error appears in the line 23 but i don´t know.
<?php
namespace ArkixkardexControllerAdminhtmlInventory;
use MagentoBackendAppAction;
use MagentoBackendAppActionContext;
use MagentoFrameworkViewResultPageFactory;
class Index extends Action
{
/**
* @var PageFactory
*/
protected $resultPageFactory;
/**
* @param Context $context
* @param PageFactory $resultPageFactory
*/
public function __construct(
Context $context,
PageFactory $resultPageFactory
) {
parent::__construct($context);
$this->resultPageFactory = $resultPageFactory;
}
/**
* Index action
*
* @return MagentoBackendModelViewResultPage
*/
public function execute()
{
/** @var MagentoBackendModelViewResultPage $resultPage */
$resultPage = $this->resultPageFactory->create();
$resultPage->addBreadcrumb(__('Kardex'), __('Kardex'));
$resultPage->addBreadcrumb(__('Kardex'), __('Kardex'));
$resultPage->getConfig()->getTitle()->prepend(__('Kardex'));
return $resultPage;
}
/**
* @return bool
*/
protected function _isAllowed()
{
return $this->_authorization->isAllowed('Arkix_Kardex::kardex_inventory');
}
}
This is my controller, i´m using magento 2.1, the error appears in the line 23 but i don´t know.
<?php
namespace ArkixkardexControllerAdminhtmlInventory;
use MagentoBackendAppAction;
use MagentoBackendAppActionContext;
use MagentoFrameworkViewResultPageFactory;
class Index extends Action
{
/**
* @var PageFactory
*/
protected $resultPageFactory;
/**
* @param Context $context
* @param PageFactory $resultPageFactory
*/
public function __construct(
Context $context,
PageFactory $resultPageFactory
) {
parent::__construct($context);
$this->resultPageFactory = $resultPageFactory;
}
/**
* Index action
*
* @return MagentoBackendModelViewResultPage
*/
public function execute()
{
/** @var MagentoBackendModelViewResultPage $resultPage */
$resultPage = $this->resultPageFactory->create();
$resultPage->addBreadcrumb(__('Kardex'), __('Kardex'));
$resultPage->addBreadcrumb(__('Kardex'), __('Kardex'));
$resultPage->getConfig()->getTitle()->prepend(__('Kardex'));
return $resultPage;
}
/**
* @return bool
*/
protected function _isAllowed()
{
return $this->_authorization->isAllowed('Arkix_Kardex::kardex_inventory');
}
}
edited 41 mins ago
Teja Bhagavan Kollepara
2,94841847
2,94841847
answered Jan 11 at 13:05
Alejandro DuqueAlejandro Duque
61
61
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f257304%2ffatal-error-uncaught-typeerror-argument-1-passed-to%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
remove/rename generated folder at magento's root.
– Vivek Kumar
Jan 9 at 21:02
You namespace has a misspelling
– Bare Feet
Jan 11 at 13:37