Magento Cash on Delivery success page throwing error after upgarding to 1.9.2 - magento

After upgrading to magento 1.9.2 and also updating the theme, when I was checking the payment option after i selected the cashondelivery payment option and clicked on place an order got a message that "Your order has been received.
Thank you for your purchase!" but below that page I got this error -
Fatal error: Call to a member function loadByIncrementId() on a non-object in /public_html/app/design/frontend/theme/default/template/checkout/success.phtml on line 87
Could someone please help me to resolve this issue?

I debugged success.phtml and found that the google conversion tracking code was causing the error. I removed it and the error is not coming up anymore.

I debugged checkout/success.phtml and found that the some useless code for send order mail which not found helper class so I found fatal error. I removed it and the error is not coming up anymore.

Related

Laravel unable to get HTTP_X_SHOPIFY_HMAC_SHA256 header from shopify

I've been following the documentation for the webhook verification to get our app verified and keep getting error saying Undefined index: HTTP_X_SHOPIFY_HMAC_SHA256
Tried getting it using laravel builtin function $request->header('HTTP_X_SHOPIFY_HMAC_SHA256') and also $_SERVER['HTTP_X_SHOPIFY_HMAC_SHA256'] but both are still returning the same error.
Can anyone point me to a solution to this, been stuck with this problem for a week now.
Thanks

Magento installation issue

Am getting below error before installing magento could any one help me on this
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 67392566
Go to var/report and open file with this number 67392566 and see the exact error then send me so I can help you exactly with your query.

PrestaShop Smarty fatal error

I am really new to PrestaShop and am facing trouble debugging an error in PrestaShop 1.6.1.3
It was working just fine, until I have changed some localization and delivery settings in admin panel.
Now, whenever I make an order, and try to proceed with bank wire payment, I receive the following error:
Fatal error: Call to undefined method Tools::getInvoiceProductName() in /home/makede/domains/manokede.lt/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 36
Any help or guidance for how to solve it or at least debug deeper is much appreciated.
by default class Tools have no method called getInvoiceProductName in Presta, if you added this line (where method called), just comment/delete it
Can you please try clearing your cache and then check again?

Magento getReadConnection() Error in /app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php on line 134

There is an error suddenly started popping up. The error occurs on various part of website like cart area, product detail page etc..
I am running my site on local server.
the error is as follows:
Fatal error: Call to a member function getReadConnection() on boolean in app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php on line 134
I have googled the issue but that didn't helped either.
You have to define the class and the resource model. Please check this link. I hope solve your problem.

Error loading in Magento admin

When I load my Magento admin I get the error.
Fatal error: Call to a member function isLoggedIn() on a non-object
in /home/xxx/public_html/app/code/community/TM/Core/Model/Observer.php
on line 12
I think it happened when I replaced some files somewhere in app/code/...
I’m really stuck on this and need desperate help.
Error is in your extension file TM/Core/Model/Observer.php
Disable extension and check after refresh cache
This was fixed by the Full Page Cache Extension people.
I don't know what they did but it was their extension which broke my magento however they fixed it for me right away

Resources