Questions tagged [undefined-variable]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

Issue while editing the grouped products from backend Notice: Undefined index: link_type after upgrade site from magento 2.2.4 to magento 2.3.5-p1

Facing issue after upgrade my Magento site from 2.2.4 to 2.3.5-p1. Notice: Undefined index: link_type in /vendor/magento/module-catalog/Model/ProductLink/ProductLinkQuery.php on line 177
2
votes
1answer
39 views

Magneto 2 edit configurable products sku and product undefined

New product creating configurable product step 1: Select Attributes - selected color then, Step 2: Attribute Values - selected 2 colors then. Step 3: Selected Skip image uploading at this time Step 4: ...
1
vote
0answers
73 views

Firebase undefined

I'm trying to build a cloud messaging module working with firebase. I have followed the magento dev docs tutorial on how to implement 3rd party javascript resources, I used requirejs. And yet, ...
0
votes
1answer
71 views

The undefined / null data comes in the shipping field

On the second step of the checkout, there is delivery data on the right, null data comes to the name of the type shipping. I also use the module Shipping Table Rates by Amasty 1.6.4 After turning on ...
2
votes
1answer
135 views

Variable @button__shadow-active is undefined while running deploy static content in Magento 2

I am getting this error whenever running php bin/magento setup:static-content:deploy. It showing variable @button__shadow-active is undefined in file en_US/css/source/_extends.less in _extends.less. ...
0
votes
1answer
205 views

Magento 2 variable @mobile-cart-padding is undefined (Porto Theme)

I Cloned Magento 2 project from GitHub without any error. After I configured env files with DB details. when I deploy the project getting variable @mobile-cart-padding is an undefined error. I am ...
1
vote
0answers
142 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
179 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
179 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
229 views

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

I'm getting this error in homepage. Any help!
2
votes
4answers
963 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
1k 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
726 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
522 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
1k 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
319 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
424 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
2k 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
921 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
663 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 /...