Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Product alerts cron warnings: Notice: Undefined index: in app/code/core/Mage/Catalog/Model/Product/Type.php on li
 
VicHunter
Jr. Member
 
Avatar
Total Posts:  18
Joined:  2009-02-07
 

Hello,

Im trying to set up the cron but i get this error:

Product alerts cron warnings: Notice: Undefined index: in app/code/core/Mage/Catalog/Model/Product/Type.php on line 78


In that file this is what i found:
public static function factory($product$singleton false)
    
{
        $types 
self::getTypes();

        if (!empty(
$types[$product->getTypeId()]['model'])) {
            $typeModelName 
$types[$product->getTypeId()]['model'];
        
else {
            $typeModelName 
self::DEFAULT_TYPE_MODEL;
        
}

        
if ($singleton === true{
            $typeModel 
Mage::getSingleton($typeModelName);
        
}
        
else {
            $typeModel 
Mage::getModel($typeModelName);
            
$typeModel->setProduct($product);
        
}
-----------        $typeModel->setConfig($types[$product->getTypeId()]);-----------
        return 
$typeModel;
    
}

The line marked with------ is the 78 but im some lost with how to solve it, nobody has te same problem?

Thankyou very much

 
Magento Community Magento Community
Magento Community
Magento Community
 
rujmansroomate
Jr. Member
 
Total Posts:  17
Joined:  2009-02-02
 

I’m having this problem on magento 1.4.0.1

Did you find a solution yet?

 
Magento Community Magento Community
Magento Community
Magento Community
 
VicHunter
Jr. Member
 
Avatar
Total Posts:  18
Joined:  2009-02-07
 

no for the moment, appears to nobody has the same problem. Somebody else have this problem too?

 
Magento Community Magento Community
Magento Community
Magento Community
 
palanikumark
Member
 
Total Posts:  66
Joined:  2010-01-03
 

Im also facing the same problem. I can not login to my site. Trying to find out the solution rolleyes

 
Magento Community Magento Community
Magento Community
Magento Community
 
anis405
Jr. Member
 
Total Posts:  13
Joined:  2009-05-18
 

Hello Everyone..

Has anyone got the solution to the above problem please post it.

Thanks in adavance

 
Magento Community Magento Community
Magento Community
Magento Community
 
WiseManW
Jr. Member
 
Total Posts:  16
Joined:  2011-02-11
 

Having the same problem on Magento 1.4.1

Undefined indexin app/code/core/Mage/Catalog/Model/Product/Type.php on line 78

This error is somehow triggered by “productquestion” module.

Can’t find the way to fix it - please help.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top