Call to undefined method VirtueMartControllerInvoice::getInvoicePDF() - joomla

i'm using joomla 2.5.11 and virtuemart 2.0.26a
getting a error in virtuemart when a order is changed to Confrimed Status..
Call to undefined method VirtueMartControllerInvoice::getInvoicePDF()
sometimes i'm getting
500: Internal Server Error
but when the order status is changed to Pending or something else..And mail to client is delivered without PDF.

Related

AEM Magento Integration sample project ,cart icon is missing and the below error is coming in the console

The integration with magento was done and the categories and products are showing up. However, the shopping cart icon is missing and the below errors were observed :
POST http://localhost:4502/magento/graphql 403 (Forbidden) (anonymous) # react-components.js:16
react-components.js:16 Error: Network error: Unexpected token < in JSON at position 0
react-components.js:16 Uncaught (in promise) Error: Network error: Unexpected token < in JSON at position 0
Cart will not be even visible until and unless you do not setup a dispatcher as shown here in this video. The mini cart is actually a react component which directly communicates with Back-end Magento and to avoid CORS issue you have to set up proxy through a Dispatcher.

PHP Warning throws ErrorException

A unit test is failing because an ErrorException about an undefined property is thrown. However, this happens in a connected shop system's core files which i cannot change.
My controller has a try ... catch block that catches the generic Exception object. But i don't want that catch to fire because of an undefined property.
I figured out the error is converted to an ErrorException in HandleExceptions.php in method handleError
How can i make phpunit ignore notices and warnings coming from code pieces i can't touch?
What i've already tried
In phpunit.xml
convertErrorsToExceptions="false"
convertNoticesToExceptions="false"
convertWarningsToExceptions="false"
Set APP_DEBUG=false as well as API_DEBUG=false for dingo.
I am using Dingo 1.0.x with Laravel 5.4 and phpunit 5.7.26.

REST API from Javascript - Invalid HTTP status code 405

new Parse developer here looking for some help.
I'm trying to call the REST API from my app to log custom analytics, but for some reason the XMLHttpRequest I'm making fails with the error message:
XMLHttpRequest cannot load https://api.parse.com/1/events/marker. Invalid HTTP status code 405
Here is the code I am using to make the request:
xmlhttp.open("POST", "https://api.parse.com/1/events/marker", true);
xmlhttp.setRequestHeader("X-Parse-Application-Id","appidhere");
xmlhttp.setRequestHeader("X-Parse-REST-API-Key","apikeyhere");
xmlhttp.setRequestHeader("Content-Type","application/json");
xmlhttp.send('{"dimensions":{"action":"showDetails"}}');
This is the console output:
OPTIONS https://api.parse.com/1/events/marker (index):3639(anonymous function) (index):3639S.trigger main.js:15(anonymous function) VM625:31(anonymous function) VM623:11S.trigger main.js:15L.zc VM622:132L.nn VM622:132(anonymous function) main.js:13S.trigger main.js:15L.kl VM622:116(anonymous function) main.js:16
XMLHttpRequest cannot load https://api.parse.com/1/events/marker. Invalid HTTP status code 405`
The strangest thing though is that when I make the request using the curl example in the documentation it works perfectly fine. :/ Any ideas what I'm doing wrong? Hoping it's something simple that I'm overlooking. Thanks!
An HTTP 405 error is Method Not Allowed. The resource you're trying to hit does not accept the POST method.
Be certain that the resource you're trying to hit supports POST; if it doesn't, you'll have to change your XMLHttpRequest accordingly.

Paypal I am not getting login page I have redirected to paypal controller

I have got console error like this:
Failed to load resource https://www.sandbox.paypal.com/MERCHANTPAYMENTWEB-640-20140614-1/Checkout/js/min/widgets.js
Uncaught TypeError: Cannot set property 'CSS_HEADER' of undefined checkout.js:164
Uncaught TypeError: Cannot call method 'init' of undefined login.js:7
body.scrollTop is deprecated in strict mode. Please use 'documentElement.scrollTop' if in strict mode and 'body.scrollTop' only if in quirks mode.
Any body please help I am not getting
It is due to the setting error in the chrome of my computer . some unwanted apps got installed . I need reset my chrome setting .It is blocking secured information over there .
Thank you friends

Magento Bug In Mage_Paypal_Model_Ipn

I am using Magento Community 1.5.0.1 and when I receive a PayPal IPN message to /paypal/ipn, the transaction information in coming in successfully, and the order is automatically moved to paid and a invoice is generated.
However, in my PHP logs I get this message:
[28-Jul-2011 06:42:36] PHP Fatal error: Call to a member function getIncrementId() on a non-object in /app/code/core/Mage/Paypal/Model/Ipn.php on line 390
[28-Jul-2011 06:42:36] PHP Fatal error: Class 'Mage' not found in /app/code/core/Mage/Core/Model/Mysql4/Session.php on line 0
Also, a email is sent to our admin email (since I have it enabled to have invoices sent to us), however, a email is not sent to the customer.
I imagine these are related.
Any ideas on how to fix this? It makes no sense for a error to be returned since when I echo $creditmemo->getIncrementId(); just before the line causing the error, the ID is clearly being returned!
This is bad because as a fatal error, it
Obviously it is not a good idea to modify core files, but see if it works by changing the following line:
if ($invoice = $payment->getCreatedInvoice() && !$this->_order->getEmailSent()) {
to the following:
if (($invoice = $payment->getCreatedInvoice()) && !$this->_order->getEmailSent()) {

Categories

Resources