{"id":60,"date":"2011-01-11T23:02:00","date_gmt":"2011-01-11T23:02:00","guid":{"rendered":"http:\/\/www.codeboss.in\/web-funda\/?p=60"},"modified":"2011-01-11T23:02:00","modified_gmt":"2011-01-11T23:02:00","slug":"magento-problem-in-creating-new-product","status":"publish","type":"post","link":"https:\/\/codeboss.in\/web-funda\/2011\/01\/11\/magento-problem-in-creating-new-product\/","title":{"rendered":"Magento Problem In Creating New Product"},"content":{"rendered":"<p>In the last few Magento releases (I have personally faced the issue in versions 1.4.1.1 and 1.4.2.0) when trying to create a new product in the back end Magento returns an error and products are not created.<\/p>\n<p>The error message is<\/p>\n<p><b>Fatal error<\/b>:  Call to a member function deletePriceData() on a non-object in <b>\\app\\code\\core\\Mage\\Catalog\\Model\\Product\\Attribute\\Backend\\Tierprice.php<\/b> on line <b>238<\/b> <\/p>\n<p><b>Solution<\/b><\/p>\n<p>This error is given because in these Magento releases one file is missing. Actually it is present but the extension is .ph in place of .php<br \/>The file is located at<br \/>\\app\\code\\core\\Mage\\Catalog\\Model\\Resource\\Eav\\Mysql4\\Product\\Attribute\\Backend<br \/>In this folder rename <b><i>Tierprice.ph<\/i><\/b> to <b><i>Tierprice.php <\/i><\/b><\/p>\n<p>Its funny how this error persisted across versions but with the above solution you can forget about that \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the last few Magento releases (I have personally faced the issue in versions 1.4.1.1 and 1.4.2.0) when trying to create a new product in the back end Magento returns an error and products are not created. The error message is Fatal error: Call to a member function deletePriceData() on a non-object in \\app\\code\\core\\Mage\\Catalog\\Model\\Product\\Attribute\\Backend\\Tierprice.php on&hellip; <a class=\"more-link\" href=\"https:\/\/codeboss.in\/web-funda\/2011\/01\/11\/magento-problem-in-creating-new-product\/\">Continue reading <span class=\"screen-reader-text\">Magento Problem In Creating New Product<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[54,57],"class_list":["post-60","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-magento","tag-php","entry"],"_links":{"self":[{"href":"https:\/\/codeboss.in\/web-funda\/wp-json\/wp\/v2\/posts\/60","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codeboss.in\/web-funda\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codeboss.in\/web-funda\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codeboss.in\/web-funda\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codeboss.in\/web-funda\/wp-json\/wp\/v2\/comments?post=60"}],"version-history":[{"count":0,"href":"https:\/\/codeboss.in\/web-funda\/wp-json\/wp\/v2\/posts\/60\/revisions"}],"wp:attachment":[{"href":"https:\/\/codeboss.in\/web-funda\/wp-json\/wp\/v2\/media?parent=60"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codeboss.in\/web-funda\/wp-json\/wp\/v2\/categories?post=60"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codeboss.in\/web-funda\/wp-json\/wp\/v2\/tags?post=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}