Home Page Throwing Fatal Error – Please help!

Hi Peeps,

I am getting the following error:

Code:

Fatal error: Call to a member function xpath() on a non-object in /usr/www/users/itfuture/itfuture.co.za/magento/app/code/core/Mage/Core/Model/Layout.php on line 154

I updated the home page xml via CMS -> Pages in the admin panel, and when I refreshed the home page I got the error.

The following is the current XML code I have:

Code:

<reference name=\"mass-top\">
	<block type=\"joomlart_jmslideshow/list\" name=\"jmslideshow\" />
</reference>
<reference name=\"content-top\">
    <block type=\"joomlart_jmproductsslider/list\" name=\"jmproductsslider\" />
</reference>  
    <reference name=\"content\">            
    <block type=\"joomlart_jmtabs/core\" name=\"jmtabs\">
        <action method=\"addTabs_block\">                    
            <title>Best choice for home users</title>
            <block>joomlart_jmproducts/list</block>
            <template>joomlart/jmproducts/list.phtml</template>
            <alias>tab1-jmproducts</alias>
        </action>
        <action method=\"addTabs_block\">                    
            <title>Most Reviewed</title>
            <block>joomlart_jmcategorylist/list</block>
            <template>joomlart/jmcategorylist/list.phtml</template>
            <alias>tab2-jmcategorylist</alias>
        </action>
    </block>
</reference>

For some reason its adding in the backslash in, I tried removing it and also removing the quotation marks but nothing. My other pages are showing fine, just the home is failing.

Any suggestions? Tx

Rob

1 answer

Profile photo of thangnn1510 0.00 $tone June 22, 2011
Public

I think this problem because your host turn on magic_quotes. Please ask the hosting to turn it off:

magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off

Tell me the result please.

#1

Please login or Register to Submit Answer

Written By

Comments