Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [undefined-variable]

The tag has no usage guidance.

1
vote
0answers
51 views

Undefined variable: _ENV in magento 2.3

I get this error on frontend: Notice: Undefined variable: _ENV in /home/jacstoreonline/public_html/magento/vendor/zendframework/zend-http/src/PhpEnvironment/Request.php on line 67 Notice: ...
0
votes
2answers
54 views

Jquery function call issue Magento 2

I am attempting to create a basic text slider, which works perfectly well on a plain html page. However, when I move it to my Magento 2 site, I get an undefined error for this piece of javascript. ...
0
votes
1answer
51 views

Magento 2: my_variable is not defined in ArraySerialized

I'm trying to make a custom store configuration with ArraySerialized But at first, i try with 2 column and it working fine, i've successfully in created and get data from it, but then, i created 1 ...
3
votes
0answers
157 views

cannot read property 'section loadurl' and '*' of undefined in magneto2.1

I'm getting this error in homepage. Any help!
1
vote
4answers
383 views

Magento 2.x CatalogSearch Undefined Variable($resultPage)

Here is my code. My finding is- This is the URL for Parent Class( class Index extends \Magento\CatalogSearch\Controller\Result\Index) but unfortunately there is no $resultPage defined in this ...
0
votes
1answer
422 views

Error filtering template: Notice: Undefined variable: pro_price in

Error filtering template: Notice: Undefined variable: pro_price in /Magento_Catalog/templates/product/widget/new/content/categories_shop.phtml on line 112 i'm getting this error even if comments or ...
0
votes
1answer
401 views

Using LESS variables in extended LESS file Magento 2

I need to use LESS Variables in my extended LESS file in my theme. I've this code in my _extend.less in this location My_Magento\app\design\frontend\<My_Vendor>\<My_Theme>\web\i18n\fa_IR\...
0
votes
1answer
438 views

Undefined variable: Blocks/product/product.phtml issue

I have a problem with Magento 1.9.2.4, I can't figure out how to fix it: 2017-07-13T18: 37: 13 + 00: 00 ERR (3): Notice: Undefined variable: _link in /var/www/html/xxxxxxx.it/app/design/frontend/...
1
vote
2answers
2k views

Exception #0 (Exception): Notice: Undefined variable: crumbs in /breadcrumbs.phtml on Custom Layout

Ive created a new page template xml which looks like: <layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_layout....
0
votes
2answers
858 views

Error : Call to undefined method addStoreFilter()

my manufactorer manage grid can't filter at store column. Uncaught Error: Call to undefined method Magebuzz_Manufacturer_Model_Mysql4_Manufacturer_Collection::addStoreFilter() prepare column: ...
0
votes
1answer
253 views

error when importing grouped products

When importing a group product via Danslo Apiimport module which extends the core importexport module I get the following error: Notice: Undefined index: entity_id in app/code/core/Mage/ImportExport/...
0
votes
1answer
2k views

TypeError: registry is undefined JS Error

I recenly have had the following JS error start to appear on every page on my Magento website: TypeError: registry is undefined - Line 5557:9 Has anyone else experienced this issue before and know ...
0
votes
2answers
3k views

customer name is not visible in newsletter conformation mail

We want to contact our registered customers in the newsletter confirmation mail with their names. Every template we tried to configure the names weren't shown in the mails. Anybody out there who's ...
1
vote
1answer
380 views

error on homepage: Notice: Undefined variable: percentage

We are having an error on the homepage by Notice: Undefined variable: percentage in /var/www/vhosts/live/kg-electronics/htdocs/app/design/ frontend/kg/default/template/catalog/product/price.phtml ...
0
votes
1answer
1k views

Class rewrite / extends and constant validity?

I try to implement a module in which I need to rewrite Mage_Catalog_Model_Product_Option. I then add the following file to the module <?php class Mine_Custoptiontype_Model_Catalog_Product_Option ...
0
votes
1answer
4k views

jQuery returning undefined for value in billing step on checkout

I use an extension, with which I broke down the checkout to 3/4 steps (logged in/ not logged in): 1. billing 2. payment method 3. order review In billing the customer is asked for the first name &...
3
votes
0answers
902 views

Magento: get variable from custom Model in a phtml file [closed]

I'm trying without success to get a custom variable (from a custom function and a custom Module). That's why I have tried (in a .phtml file) : $myModel = Mage::getModel('mymodule/MyClass'); $myVar ...
2
votes
1answer
627 views

Missing argument and undefined variable 'text'

Unsure on how to debug this issue. Recently started getting hundreds of these in system.log. 2013-08-30T11:20:46+00:00 ERR (3): Warning: Missing argument 1 for Mage_Core_Block_Text::setText() in /...