Magento News

 

Fatal error: Uncaught SoapFault exception: [103] Attribute "include_in_menu" is required

“Fatal error: Uncaught SoapFault exception: [103] Attribute “include_in_menu” is required.” was throwed when I using Magento API to create a category.

In the magento API, it says I need an array like this,

         array(
            'name'=>'Newopenerp',
            'is_active'=>1,
            'include_in_menu'=>2,
            'available_sort_by'=>'position',
            'default_sort_by'=>'position'
           )

When I run my script in localhost with Magento 1.5.1, everything looks fine. While in the server with Magento 1.5.0, this exception was throwed. I am wondering if this is caused by version change.

I tried my best to debug this, got nothing after one day. I make sure this is a problem of Magento API, maybe there is a another data type for ‘include_in_menu’ in Magento 1.5.0.

I really want to know what happened here!

PS:
I got some usefull information at http://sourceforge.net/projects/jtlmage/forums/forum/1009350/topic/4028894. But it’s not english so I cannt get what it means. Hope it’s helefull for anyone’s help!

Thanks in advance.

Fatal error: Uncaught SoapFault exception: [103] Attribute "include_in_menu" is required

Possibly Related Posts:


 

Leave a Reply