Error – Undefined variable identifier

Hi,
 
can anyone help with this? I am getting any product view I try, for example:
http://barcellosipanema.com.br/gregario/bicicleta-trek-ciclocross-crockett-5-disc.html
 
I get the follwing error:

Notice: Undefined variable: identifier  in /var/www/html/gregario/app/design/frontend/default/jm_travelgear/template/catalog/product/view.phtml on line 185

#0 /var/www/html/gregario/app/design/frontend/default/jm_travelgear/template/catalog/product/view.phtml(185): mageCoreErrorHandler(8, 'Undefined varia...', '/var/www/html/g...', 185, Array)
#1 /var/www/html/gregario/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/html/g...')
#2 /var/www/html/gregario/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#3 /var/www/html/gregario/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#4 /var/www/html/gregario/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#5 /var/www/html/gregario/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#6 /var/www/html/gregario/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Text_List->_toHtml()
#7 /var/www/html/gregario/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#8 /var/www/html/gregario/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#9 /var/www/html/gregario/app/design/frontend/default/jm_travelgear/template/page/2columns-right.phtml(134): Mage_Core_Block_Abstract->getChildHtml('content')
#10 /var/www/html/gregario/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/html/g...')
#11 /var/www/html/gregario/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#12 /var/www/html/gregario/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#13 /var/www/html/gregario/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#14 /var/www/html/gregario/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#15 /var/www/html/gregario/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#16 /var/www/html/gregario/app/code/core/Mage/Cms/Helper/Page.php(137): Mage_Core_Controller_Varien_Action->renderLayout()
#17 /var/www/html/gregario/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'no-route')
#18 /var/www/html/gregario/app/code/core/Mage/Cms/controllers/IndexController.php(75): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'no-route')
#19 /var/www/html/gregario/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Cms_IndexController->noRouteAction()
#20 /var/www/html/gregario/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('noRoute')
#21 /var/www/html/gregario/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#22 /var/www/html/gregario/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#23 /var/www/html/gregario/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#24 /var/www/html/gregario/index.php(84): Mage::run('', 'store')
#25 {main}

 
I already tried a full restore of my system and no success.
 
Thanks for any help.

6 answers

Profile photo of fabiooliveira 480.00 $tone September 12, 2016
Public

Can anyone help me with that? What should be the normal behaviour of this routine? I believe whoever wrote it would be more qualified to know that.

Many thanks for the help. I basically already tried everything. From now on I will have to start debugging this…

#1
Profile photo of Ziven Staff 100280.00 $tone September 14, 2016
Public

Hi There,
The issue has been fixed. I have to change the file: /var/www/html/gregario/app/design/frontend/default/jm_travelgear/template/catalog/product/view.phtml
Best Regard,
Ziven.

#4
Profile photo of fabiooliveira 480.00 $tone September 14, 2016
Public

Hi Ziven,
 
would it be too much to ask, what happened? It made no sense for me. Should I be worried this problem happens again? Was it some outdated code or just a problem that you never saw before… Anyway, if you could tell me what happened.
 
Thanks

#5
Profile photo of Ziven Staff 100280.00 $tone September 14, 2016
Public

Hi There,
This is the new bug and we never see in the before. For next time we will update it soon. About the change. Please go to the file: app\design\frontend\default\jm_travelgear\template\catalog\product\view.phtml at line 182. I added new code $identifier = “”;
Please let me  know if you need help further.
Best Regards,
Ziven.

#6

Please login or Register to Submit Answer

Written By

Comments