Custom Form Undefined PropertyMagento 2 - jsError - Cannot read property 'autocomplete' of undefinedMagento 2: How to override newsletter Subscriber model“Undefined property: Interceptor::$invoiceService” while overriding controller in magento2Uncaught TypeError: Cannot read property 'get' of undefinedCannot read property 'RFC_2822' of undefinedMagento 2 : Notice : Undefined property Interceptor::$inlineTranslationHow to solve Front controller reached 100 router match iterations in magento2Magento 2.2.6 undefined index on page config generator head fileMagento 2 Uncaught TypeError: Cannot read property 'quoteData' of undefinedNotice: Undefined property:
How to draw a gif with expanding circles that reveal lines connecting a non-centered point to the expanding circle using Tikz
Can I activate an iPhone without an Apple ID?
Why hasn't the U.S. government paid war reparations to any country it attacked?
Align by center of symbol
Could the crash sites of the Apollo 11 and 16 LMs be seen by the LRO?
Is a public company able to check out who owns its shares in very detailed format?
Won 50K! Now what should I do with it
Why doesn't Anakin's lightsaber explode when it's chopped in half on Geonosis?
Old short story where the future emperor of the galaxy is taken for a tour around Earth
GPIO and Python - GPIO.output() not working
Adding a vertical line at the right end of the horizontal line in frac
How would you write do the dialogues of two characters talking in a chat room?
Hot object in a vacuum
3D-Plot with an inequality condition for parameter values
Doing research in academia and not liking competition
How are "soeben" and "eben" different from one another?
Why is "dark" an adverb in this sentence?
Add region constraint to Graphics
Too many spies!
Could there exist a "locality" field?
Is it okay to retroactively change things when running a published adventure?
Why didn't Al Powell investigate the lights at the top of the building?
What are some symbols representing peasants/oppressed persons fighting back?
Would letting a multiclass character rebuild their character to be single-classed be game-breaking?
Custom Form Undefined Property
Magento 2 - jsError - Cannot read property 'autocomplete' of undefinedMagento 2: How to override newsletter Subscriber model“Undefined property: Interceptor::$invoiceService” while overriding controller in magento2Uncaught TypeError: Cannot read property 'get' of undefinedCannot read property 'RFC_2822' of undefinedMagento 2 : Notice : Undefined property Interceptor::$inlineTranslationHow to solve Front controller reached 100 router match iterations in magento2Magento 2.2.6 undefined index on page config generator head fileMagento 2 Uncaught TypeError: Cannot read property 'quoteData' of undefinedNotice: Undefined property:
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I had a custom Module with custom form, which was working fine until recently.
Most likely it is throwing error after upgrade from 2.2.2 to 2.2.6.
and the line representing the error is like:
$templateOptions = array('area' => MagentoFrameworkAppArea::AREA_FRONTEND, 'store' => $this->storeManager->getStore()->getId());
and the error shown is like this:
Notice: Undefined property:
MyCompanyMymoduleControllerIndexFormInterceptor::$storeManager in
/home/www/public_html/app/code/MyCompany/Mymodule/Controller/Index/Form.php
on line 113
is it related to upgrade or could it be something else.
The whole code of the class looks like this:
namespace MyCompanyMymoduleControllerIndex;
use MagentoFrameworkControllerResultFactory;
class Form extends MagentoFrameworkAppActionAction
/**
* Contact action
*
* @return void
*/
/**
* @var MagentoFrameworkMailTemplateTransportBuilder
*/
/**
* @var Google reCaptcha Options
*/
private static $_siteVerifyUrl = "https://www.google.com/recaptcha/api/siteverify?";
private $_secret;
private static $_version = "php_7.0";
/**
* Save Form Data
*
* @return array
*/
protected $_transportBuilder;
protected $_storeManager;
public function __construct(
MagentoFrameworkAppActionContext $context,
// MagentoMediaStorageModelFileUploaderFactory $fileUploaderFactory,
MagentoFrameworkMailTemplateTransportBuilder $transportBuilder,
MagentoFrameworkTranslateInlineStateInterface $inlineTranslation,
MagentoFrameworkAppConfigScopeConfigInterface $scopeConfig,
MagentoStoreModelStoreManagerInterface $storeManager
)
// $this->fileUploaderFactory = $fileUploaderFactory;
$this->_transportBuilder = $transportBuilder;
$this->inlineTranslation = $inlineTranslation;
$this->_storeManager = $storeManager;
$this->scopeConfig = $scopeConfig;
parent::__construct($context);
public function execute()
$post = (array) $this->getRequest()->getPost();
if (!empty($post))
// Retrieve your form data
$name = $post['name'];
$email = $post['email'];
$mobile = $post['mobile'];
$sku = $post['sku'];
$width = $post['width'];
$height = $post['height'];
$shipto = $post['ship_to'];
$remark = $post['remark'];
$captcha = $this->getRequest()->getParam('g-recaptcha-response');
$secret = "6LcjmUsUAAAAAM3ZNm02YjdW7tHqJetUqS2Q4J8f"; //Replace with your secret key
$response = null;
$path = self::$_siteVerifyUrl;
$dataC = array (
'secret' => $secret,
'remoteip' => $_SERVER["REMOTE_ADDR"],
'v' => self::$_version,
'response' => $captcha
);
$req = "";
foreach ($dataC as $key => $value)
$req .= $key . '=' . urlencode(stripslashes($value)) . '&';
// Cut the last '&'
$req = substr($req, 0, strlen($req)-1);
$response = file_get_contents($path . $req);
//var_dump($response);exit;
$answers = json_decode($response, true);
//var_dump($answers);exit;
if(trim($answers ['success']) == true)
$MyCompany = $this->_objectManager->create('MyCompanyMymoduleModelMyCompany');
$MyCompany->setName($name);
$MyCompany->setMobile($mobile);
$MyCompany->setEmail($email);
$MyCompany->setSku($sku);
$MyCompany->setWidth($width);
$MyCompany->setHeight($height);
$MyCompany->setShip_to($shipto);
$MyCompany->setRemarks($remark);
$MyCompany->save();
//$this->getResponse()->setBody('Your Request is Submitted Successfully !');
// Doing-something with...
// Display the succes form validation message
$this->messageManager->addSuccessMessage('Your Request is Submitted Successfully !');
else
$this->messageManager->addError(__('Captcha Validation Failed. Please retry')
);
$templateOptions = array('area' => MagentoFrameworkAppArea::AREA_FRONTEND, 'store' => $this->_storeManager->getStore()->getId());
// var_dump($templateOptions);exit;
$templateVars = array(
'store' => $this->_storeManager->getStore(),
'customer_name' => $name,
'mobile' => $mobile,
'email' => $email,
'width' => $width,
'height' => $height,
'shipto' => $shipto,
'remark' => $remark
);
$from = array('email' => "contact@mycompany.com", 'name' => 'Indian Art Zone');
$this->inlineTranslation->suspend();
$to = array($email,'sales@mycompany.com');
$transport = $this->_transportBuilder->setTemplateIdentifier('MyCompany_email_template')
->setTemplateOptions($templateOptions)
->setTemplateVars($templateVars)
->setFrom($from)
->addTo($to)
->getTransport();
$transport->sendMessage();
$this->inlineTranslation->resume();
// Redirect to your form page (or anywhere you want...)
$resultRedirect = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
$resultRedirect->setUrl('/MyCompany/index/form');
return $resultRedirect;
// Render the page
$this->_view->loadLayout();
$this->_view->renderLayout();
magento2 magento2.2.6
add a comment |
I had a custom Module with custom form, which was working fine until recently.
Most likely it is throwing error after upgrade from 2.2.2 to 2.2.6.
and the line representing the error is like:
$templateOptions = array('area' => MagentoFrameworkAppArea::AREA_FRONTEND, 'store' => $this->storeManager->getStore()->getId());
and the error shown is like this:
Notice: Undefined property:
MyCompanyMymoduleControllerIndexFormInterceptor::$storeManager in
/home/www/public_html/app/code/MyCompany/Mymodule/Controller/Index/Form.php
on line 113
is it related to upgrade or could it be something else.
The whole code of the class looks like this:
namespace MyCompanyMymoduleControllerIndex;
use MagentoFrameworkControllerResultFactory;
class Form extends MagentoFrameworkAppActionAction
/**
* Contact action
*
* @return void
*/
/**
* @var MagentoFrameworkMailTemplateTransportBuilder
*/
/**
* @var Google reCaptcha Options
*/
private static $_siteVerifyUrl = "https://www.google.com/recaptcha/api/siteverify?";
private $_secret;
private static $_version = "php_7.0";
/**
* Save Form Data
*
* @return array
*/
protected $_transportBuilder;
protected $_storeManager;
public function __construct(
MagentoFrameworkAppActionContext $context,
// MagentoMediaStorageModelFileUploaderFactory $fileUploaderFactory,
MagentoFrameworkMailTemplateTransportBuilder $transportBuilder,
MagentoFrameworkTranslateInlineStateInterface $inlineTranslation,
MagentoFrameworkAppConfigScopeConfigInterface $scopeConfig,
MagentoStoreModelStoreManagerInterface $storeManager
)
// $this->fileUploaderFactory = $fileUploaderFactory;
$this->_transportBuilder = $transportBuilder;
$this->inlineTranslation = $inlineTranslation;
$this->_storeManager = $storeManager;
$this->scopeConfig = $scopeConfig;
parent::__construct($context);
public function execute()
$post = (array) $this->getRequest()->getPost();
if (!empty($post))
// Retrieve your form data
$name = $post['name'];
$email = $post['email'];
$mobile = $post['mobile'];
$sku = $post['sku'];
$width = $post['width'];
$height = $post['height'];
$shipto = $post['ship_to'];
$remark = $post['remark'];
$captcha = $this->getRequest()->getParam('g-recaptcha-response');
$secret = "6LcjmUsUAAAAAM3ZNm02YjdW7tHqJetUqS2Q4J8f"; //Replace with your secret key
$response = null;
$path = self::$_siteVerifyUrl;
$dataC = array (
'secret' => $secret,
'remoteip' => $_SERVER["REMOTE_ADDR"],
'v' => self::$_version,
'response' => $captcha
);
$req = "";
foreach ($dataC as $key => $value)
$req .= $key . '=' . urlencode(stripslashes($value)) . '&';
// Cut the last '&'
$req = substr($req, 0, strlen($req)-1);
$response = file_get_contents($path . $req);
//var_dump($response);exit;
$answers = json_decode($response, true);
//var_dump($answers);exit;
if(trim($answers ['success']) == true)
$MyCompany = $this->_objectManager->create('MyCompanyMymoduleModelMyCompany');
$MyCompany->setName($name);
$MyCompany->setMobile($mobile);
$MyCompany->setEmail($email);
$MyCompany->setSku($sku);
$MyCompany->setWidth($width);
$MyCompany->setHeight($height);
$MyCompany->setShip_to($shipto);
$MyCompany->setRemarks($remark);
$MyCompany->save();
//$this->getResponse()->setBody('Your Request is Submitted Successfully !');
// Doing-something with...
// Display the succes form validation message
$this->messageManager->addSuccessMessage('Your Request is Submitted Successfully !');
else
$this->messageManager->addError(__('Captcha Validation Failed. Please retry')
);
$templateOptions = array('area' => MagentoFrameworkAppArea::AREA_FRONTEND, 'store' => $this->_storeManager->getStore()->getId());
// var_dump($templateOptions);exit;
$templateVars = array(
'store' => $this->_storeManager->getStore(),
'customer_name' => $name,
'mobile' => $mobile,
'email' => $email,
'width' => $width,
'height' => $height,
'shipto' => $shipto,
'remark' => $remark
);
$from = array('email' => "contact@mycompany.com", 'name' => 'Indian Art Zone');
$this->inlineTranslation->suspend();
$to = array($email,'sales@mycompany.com');
$transport = $this->_transportBuilder->setTemplateIdentifier('MyCompany_email_template')
->setTemplateOptions($templateOptions)
->setTemplateVars($templateVars)
->setFrom($from)
->addTo($to)
->getTransport();
$transport->sendMessage();
$this->inlineTranslation->resume();
// Redirect to your form page (or anywhere you want...)
$resultRedirect = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
$resultRedirect->setUrl('/MyCompany/index/form');
return $resultRedirect;
// Render the page
$this->_view->loadLayout();
$this->_view->renderLayout();
magento2 magento2.2.6
1
Show me please class MyCompany/Mymodule/Controller/Index/Form.php
– Evgeniy Kapelko
Jul 6 at 21:54
please defined store manager in controller.
– Anas Mansuri
Jul 7 at 2:25
did you find your solution?
– Mohit Rane
Jul 8 at 6:55
add a comment |
I had a custom Module with custom form, which was working fine until recently.
Most likely it is throwing error after upgrade from 2.2.2 to 2.2.6.
and the line representing the error is like:
$templateOptions = array('area' => MagentoFrameworkAppArea::AREA_FRONTEND, 'store' => $this->storeManager->getStore()->getId());
and the error shown is like this:
Notice: Undefined property:
MyCompanyMymoduleControllerIndexFormInterceptor::$storeManager in
/home/www/public_html/app/code/MyCompany/Mymodule/Controller/Index/Form.php
on line 113
is it related to upgrade or could it be something else.
The whole code of the class looks like this:
namespace MyCompanyMymoduleControllerIndex;
use MagentoFrameworkControllerResultFactory;
class Form extends MagentoFrameworkAppActionAction
/**
* Contact action
*
* @return void
*/
/**
* @var MagentoFrameworkMailTemplateTransportBuilder
*/
/**
* @var Google reCaptcha Options
*/
private static $_siteVerifyUrl = "https://www.google.com/recaptcha/api/siteverify?";
private $_secret;
private static $_version = "php_7.0";
/**
* Save Form Data
*
* @return array
*/
protected $_transportBuilder;
protected $_storeManager;
public function __construct(
MagentoFrameworkAppActionContext $context,
// MagentoMediaStorageModelFileUploaderFactory $fileUploaderFactory,
MagentoFrameworkMailTemplateTransportBuilder $transportBuilder,
MagentoFrameworkTranslateInlineStateInterface $inlineTranslation,
MagentoFrameworkAppConfigScopeConfigInterface $scopeConfig,
MagentoStoreModelStoreManagerInterface $storeManager
)
// $this->fileUploaderFactory = $fileUploaderFactory;
$this->_transportBuilder = $transportBuilder;
$this->inlineTranslation = $inlineTranslation;
$this->_storeManager = $storeManager;
$this->scopeConfig = $scopeConfig;
parent::__construct($context);
public function execute()
$post = (array) $this->getRequest()->getPost();
if (!empty($post))
// Retrieve your form data
$name = $post['name'];
$email = $post['email'];
$mobile = $post['mobile'];
$sku = $post['sku'];
$width = $post['width'];
$height = $post['height'];
$shipto = $post['ship_to'];
$remark = $post['remark'];
$captcha = $this->getRequest()->getParam('g-recaptcha-response');
$secret = "6LcjmUsUAAAAAM3ZNm02YjdW7tHqJetUqS2Q4J8f"; //Replace with your secret key
$response = null;
$path = self::$_siteVerifyUrl;
$dataC = array (
'secret' => $secret,
'remoteip' => $_SERVER["REMOTE_ADDR"],
'v' => self::$_version,
'response' => $captcha
);
$req = "";
foreach ($dataC as $key => $value)
$req .= $key . '=' . urlencode(stripslashes($value)) . '&';
// Cut the last '&'
$req = substr($req, 0, strlen($req)-1);
$response = file_get_contents($path . $req);
//var_dump($response);exit;
$answers = json_decode($response, true);
//var_dump($answers);exit;
if(trim($answers ['success']) == true)
$MyCompany = $this->_objectManager->create('MyCompanyMymoduleModelMyCompany');
$MyCompany->setName($name);
$MyCompany->setMobile($mobile);
$MyCompany->setEmail($email);
$MyCompany->setSku($sku);
$MyCompany->setWidth($width);
$MyCompany->setHeight($height);
$MyCompany->setShip_to($shipto);
$MyCompany->setRemarks($remark);
$MyCompany->save();
//$this->getResponse()->setBody('Your Request is Submitted Successfully !');
// Doing-something with...
// Display the succes form validation message
$this->messageManager->addSuccessMessage('Your Request is Submitted Successfully !');
else
$this->messageManager->addError(__('Captcha Validation Failed. Please retry')
);
$templateOptions = array('area' => MagentoFrameworkAppArea::AREA_FRONTEND, 'store' => $this->_storeManager->getStore()->getId());
// var_dump($templateOptions);exit;
$templateVars = array(
'store' => $this->_storeManager->getStore(),
'customer_name' => $name,
'mobile' => $mobile,
'email' => $email,
'width' => $width,
'height' => $height,
'shipto' => $shipto,
'remark' => $remark
);
$from = array('email' => "contact@mycompany.com", 'name' => 'Indian Art Zone');
$this->inlineTranslation->suspend();
$to = array($email,'sales@mycompany.com');
$transport = $this->_transportBuilder->setTemplateIdentifier('MyCompany_email_template')
->setTemplateOptions($templateOptions)
->setTemplateVars($templateVars)
->setFrom($from)
->addTo($to)
->getTransport();
$transport->sendMessage();
$this->inlineTranslation->resume();
// Redirect to your form page (or anywhere you want...)
$resultRedirect = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
$resultRedirect->setUrl('/MyCompany/index/form');
return $resultRedirect;
// Render the page
$this->_view->loadLayout();
$this->_view->renderLayout();
magento2 magento2.2.6
I had a custom Module with custom form, which was working fine until recently.
Most likely it is throwing error after upgrade from 2.2.2 to 2.2.6.
and the line representing the error is like:
$templateOptions = array('area' => MagentoFrameworkAppArea::AREA_FRONTEND, 'store' => $this->storeManager->getStore()->getId());
and the error shown is like this:
Notice: Undefined property:
MyCompanyMymoduleControllerIndexFormInterceptor::$storeManager in
/home/www/public_html/app/code/MyCompany/Mymodule/Controller/Index/Form.php
on line 113
is it related to upgrade or could it be something else.
The whole code of the class looks like this:
namespace MyCompanyMymoduleControllerIndex;
use MagentoFrameworkControllerResultFactory;
class Form extends MagentoFrameworkAppActionAction
/**
* Contact action
*
* @return void
*/
/**
* @var MagentoFrameworkMailTemplateTransportBuilder
*/
/**
* @var Google reCaptcha Options
*/
private static $_siteVerifyUrl = "https://www.google.com/recaptcha/api/siteverify?";
private $_secret;
private static $_version = "php_7.0";
/**
* Save Form Data
*
* @return array
*/
protected $_transportBuilder;
protected $_storeManager;
public function __construct(
MagentoFrameworkAppActionContext $context,
// MagentoMediaStorageModelFileUploaderFactory $fileUploaderFactory,
MagentoFrameworkMailTemplateTransportBuilder $transportBuilder,
MagentoFrameworkTranslateInlineStateInterface $inlineTranslation,
MagentoFrameworkAppConfigScopeConfigInterface $scopeConfig,
MagentoStoreModelStoreManagerInterface $storeManager
)
// $this->fileUploaderFactory = $fileUploaderFactory;
$this->_transportBuilder = $transportBuilder;
$this->inlineTranslation = $inlineTranslation;
$this->_storeManager = $storeManager;
$this->scopeConfig = $scopeConfig;
parent::__construct($context);
public function execute()
$post = (array) $this->getRequest()->getPost();
if (!empty($post))
// Retrieve your form data
$name = $post['name'];
$email = $post['email'];
$mobile = $post['mobile'];
$sku = $post['sku'];
$width = $post['width'];
$height = $post['height'];
$shipto = $post['ship_to'];
$remark = $post['remark'];
$captcha = $this->getRequest()->getParam('g-recaptcha-response');
$secret = "6LcjmUsUAAAAAM3ZNm02YjdW7tHqJetUqS2Q4J8f"; //Replace with your secret key
$response = null;
$path = self::$_siteVerifyUrl;
$dataC = array (
'secret' => $secret,
'remoteip' => $_SERVER["REMOTE_ADDR"],
'v' => self::$_version,
'response' => $captcha
);
$req = "";
foreach ($dataC as $key => $value)
$req .= $key . '=' . urlencode(stripslashes($value)) . '&';
// Cut the last '&'
$req = substr($req, 0, strlen($req)-1);
$response = file_get_contents($path . $req);
//var_dump($response);exit;
$answers = json_decode($response, true);
//var_dump($answers);exit;
if(trim($answers ['success']) == true)
$MyCompany = $this->_objectManager->create('MyCompanyMymoduleModelMyCompany');
$MyCompany->setName($name);
$MyCompany->setMobile($mobile);
$MyCompany->setEmail($email);
$MyCompany->setSku($sku);
$MyCompany->setWidth($width);
$MyCompany->setHeight($height);
$MyCompany->setShip_to($shipto);
$MyCompany->setRemarks($remark);
$MyCompany->save();
//$this->getResponse()->setBody('Your Request is Submitted Successfully !');
// Doing-something with...
// Display the succes form validation message
$this->messageManager->addSuccessMessage('Your Request is Submitted Successfully !');
else
$this->messageManager->addError(__('Captcha Validation Failed. Please retry')
);
$templateOptions = array('area' => MagentoFrameworkAppArea::AREA_FRONTEND, 'store' => $this->_storeManager->getStore()->getId());
// var_dump($templateOptions);exit;
$templateVars = array(
'store' => $this->_storeManager->getStore(),
'customer_name' => $name,
'mobile' => $mobile,
'email' => $email,
'width' => $width,
'height' => $height,
'shipto' => $shipto,
'remark' => $remark
);
$from = array('email' => "contact@mycompany.com", 'name' => 'Indian Art Zone');
$this->inlineTranslation->suspend();
$to = array($email,'sales@mycompany.com');
$transport = $this->_transportBuilder->setTemplateIdentifier('MyCompany_email_template')
->setTemplateOptions($templateOptions)
->setTemplateVars($templateVars)
->setFrom($from)
->addTo($to)
->getTransport();
$transport->sendMessage();
$this->inlineTranslation->resume();
// Redirect to your form page (or anywhere you want...)
$resultRedirect = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
$resultRedirect->setUrl('/MyCompany/index/form');
return $resultRedirect;
// Render the page
$this->_view->loadLayout();
$this->_view->renderLayout();
magento2 magento2.2.6
magento2 magento2.2.6
edited Jul 7 at 21:36
Joshi
asked Jul 6 at 20:49
JoshiJoshi
2221 silver badge12 bronze badges
2221 silver badge12 bronze badges
1
Show me please class MyCompany/Mymodule/Controller/Index/Form.php
– Evgeniy Kapelko
Jul 6 at 21:54
please defined store manager in controller.
– Anas Mansuri
Jul 7 at 2:25
did you find your solution?
– Mohit Rane
Jul 8 at 6:55
add a comment |
1
Show me please class MyCompany/Mymodule/Controller/Index/Form.php
– Evgeniy Kapelko
Jul 6 at 21:54
please defined store manager in controller.
– Anas Mansuri
Jul 7 at 2:25
did you find your solution?
– Mohit Rane
Jul 8 at 6:55
1
1
Show me please class MyCompany/Mymodule/Controller/Index/Form.php
– Evgeniy Kapelko
Jul 6 at 21:54
Show me please class MyCompany/Mymodule/Controller/Index/Form.php
– Evgeniy Kapelko
Jul 6 at 21:54
please defined store manager in controller.
– Anas Mansuri
Jul 7 at 2:25
please defined store manager in controller.
– Anas Mansuri
Jul 7 at 2:25
did you find your solution?
– Mohit Rane
Jul 8 at 6:55
did you find your solution?
– Mohit Rane
Jul 8 at 6:55
add a comment |
0
active
oldest
votes
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');
);
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%2f281057%2fcustom-form-undefined-property%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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');
);
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%2f281057%2fcustom-form-undefined-property%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');
);
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');
);
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');
);
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
Show me please class MyCompany/Mymodule/Controller/Index/Form.php
– Evgeniy Kapelko
Jul 6 at 21:54
please defined store manager in controller.
– Anas Mansuri
Jul 7 at 2:25
did you find your solution?
– Mohit Rane
Jul 8 at 6:55