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

showCustomerInfo Fatal Error
 
lotusleen
Jr. Member
 
Total Posts:  3
Joined:  2012-05-20
 

Hi,

I’m getting this error when I tried to do anything with the subscriber module. It works before however today when I logged-in, I’m starting to get this error just for the Newsletter function. All other functions work fine

When I try to see subscriber list, my error log recorded this

PHP Fatal error:  Call to a member function useOnlyActual() on a non-object in /home/mydomain/public_html/magento/app/code/core/Mage/Adminhtml/Block/Newsletter/Subscriber/Grid.php on line 59

The code when I open it was this

protected function _prepareCollection()
    
{
        $collection 
Mage::getResourceSingleton('newsletter/subscriber_collection');
        
/* @var $collection Mage_Newsletter_Model_Mysql4_Subscriber_Collection */
        
$collection
            
->showCustomerInfo(true)
            ->
addSubscriberTypeField()
            ->
showStoreInfo();

line 59 was the ->showCustomerInfo(true)

when I tried looking at specific customer info through customer module, all I see was a blank page

I didn’t do any changes to any code prior to this error. As I’m not an expert on PHP can somebody points to me what is wrong.

 
Magento Community Magento Community
Magento Community
Magento Community
 
lotusleen
Jr. Member
 
Total Posts:  3
Joined:  2012-05-20
 

I happen to solved this problem by reinstalling these four

Interface_Adminhtml_Default
Mage_All_Latest
Mage_Core_Modules
Mage_Core_Adminhtml

Although I still don’t know what cause the original error in the first place.

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