When I am saving simple products from the magento backend, the screen goes blank.
The error I am getting is
Fatal error: Call to a member function getStores() on a non-object in /home/public_html/app/code/core/Mage/Catalog/Model/Url.php on line 155
Any help would be much appreciated.
Thanks
Your Mage::getResourceModel('catalog/url') returns a non-object - check whether it is missing or rewritten by any 3-rd party module.
Latter can be done by searching the *.php files in the directory for this string: "extends Mage_Catalog_Model_Resource_Url"
Related
I am getting the following error when I want to access the wp-admin sites of my wordpress installation:
Fatal error: Cannot redeclare send_confirmation_on_profile_email() (previously declared in /wp-includes/user.php:2624) in /wp-admin/includes/ms.php on line 423
I looked around but couldn't find any help yet. Maybe someone of you knows how to fix this error.
Thanks.
It seems send_confirmation_on_profile_email() function is used more than once. So what you need, is to find that function and rename it to its relevant name but make sure it does not match with the send_confirmation_on_profile_email
Fatal error: Call to undefined method Exception::getClass()
Simply! You are calling a function which is not available
I assume it's OpenCart error. It might be seen after new extension is added or after OC version update as they recently changed some file paths.
The URL probably looks like:
http://example.com/index.php?route=exampleA/exampleB/exampleC
You need to correct the route. Start adding extension in front. It works in some cases.
The updated URL would be:
http://example.com/index.php?route=extension/exampleA/exampleB/exampleC
If that works fine, you need to correct path in your extension source. If not keep searching in documentation.
If you work with cart.php it was moved from system/library/cart.php to system/library/cart/cart.php together with some other files. Good luck and try to give us more details in the future.
I suddenly had this issue on my Prestashop project. When I'm opening the products list page, I have a blank page with this message :
Fatal error: Call to undefined method Product::getProductsImgs()...product-list.tpl.php on line 76
The error line : {$more_imgs = Product::getProductsImgs($product.id_product)}
You may want to check the following:
Advanced parameters > performance > debug mode > disable all overrides
check if it is set to no.
Check The following points first..
1) Did you try to modify the controller?
2) Did you add any custom code to product-list.tpl?
if yes post it and also a few lines above and below the line mentioned..
Call to undefined method means you don't have the file with the method referenced..
Fatal error: Class 'Mage_Checkout_Model_Mysql4_Setup' not found in /home/xxxxx/public_html/xxxxxx/includes/src/Mage_Core_Model_Resource_Setup.php on line 132
This is my magento site error when i am open front end and also backend. how did i am slove this error plz tel me any one
thanksenter code here
It looks like you are running Magento in 'compiled modus', but something went wrong. Have a look at /home/xxxxx/public_html/xxxxxx/includes/config.php. There are two define() statements in there. Comment them out and try again.
i have a mutisotre setup magento and each store has its own domain . since i upgrade to magento 1.4 i am getting error in my cart page ,suppose if you add a item to cart and try to check out ,you will see unit price and subtotal is not pulling up and i am gettign following error . i dont have any idea why is this hapning .Any help would be appreciated.
web link : dev.comitstore.com
error you will see when you reach : http://dev.comitstores.com/checkout/cart/
Note : At backend everything is set appropriately like price, inventory, Tax .
Error :
Fatal error: Call to a member function getGrandTotal() on a non-object in /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/app/code/core/Mage/Tax/Block/Checkout/Grandtotal.php
I think you should install xdebug so that you could have a stack trace instead of only one helpless line. This would certainly give you the name of a template you need to rewrite accordingly to 1.4 .