Posted: February 19, 2015 at 9:09 am
|
When I try to view invoice pdf, I get the following errors at the top of the pdf page: (version 4.6.10p) Warning: Missing argument 1 for EE_Transaction_Shortcodes::_get_payment_method(), called in /home3/kellycoj/public_html/wpk/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 281 and defined in /home3/kellycoj/public_html/wpk/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 328 Warning: Missing argument 1 for EE_Transaction_Shortcodes::_get_payment_method(), called in /home3/kellycoj/public_html/wpk/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 317 and defined in /home3/kellycoj/public_html/wpk/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 328 Warning: Missing argument 1 for EE_Transaction_Shortcodes::_get_payment_method(), called in /home3/kellycoj/public_html/wpk/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 405 and defined in /home3/kellycoj/public_html/wpk/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 328 Warning: Missing argument 1 for EE_Transaction_Shortcodes::_get_payment_method(), called in /home3/kellycoj/public_html/wpk/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 352 and defined in /home3/kellycoj/public_html/wpk/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 328 Warning: Missing argument 1 for EE_Transaction_Shortcodes::_get_payment_method(), called in /home3/kellycoj/public_html/wpk/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 374 and defined in /home3/kellycoj/public_html/wpk/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 328 |
|
Downloaded the pdf file, unable to open, error from Adobe reader X, “File is damaged” |
|
Switch to Invoice button, displays the same error codes. |
|
Not sure if this is an error, so may need to be broken out as a separate issue. This should really be paypal payment transaction method cancelled, would you like to download an invoice. And provide option to download invoice. |
|
Same here! Worked great before. When downloading Invoice: |
|
Please fix quick! |
Hi kcray, The Warnings have been fixed in the next version of Event Espresso, currently if you disable WP_Debug on the site the PDF’s should generate correctly. It is currently expected that cancelling the payment within Paypal will cancel the registration, I’ll check in with the developers as to why this is the case. |
|
|
Have set WP_Debug to “define(‘WP_DEBUG’, false);” |
If the error message is still displayed then it is likely your sever is set to display errors, so disabling WP_Debug doesn’t disable that setting. You can add soemthing like this: define( 'WP_DEBUG', true ); // Or false if ( WP_DEBUG ) { define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 ); } Which (when set to true) disables errors from being displayed but logs them within a debug.log file in uploads. |
|
|
That helped! |
|
Hi Tony, On the Paypal cancelled issue: I believe from a business flow, we need to still provide the option to receive an invoice on paypal cancellation, rather than cancel the whole registration. Note that the registration is still displayed in the registrations db, and is locked, and status is Pending, rather than cancelled. So I believe the intent is that the customer should still have an option to download an invoice. |
Thank you for the feedback. I do agree that this could be a good enhancement to the current behaviour so I have created a feature request ticket for this to be considered for a future version of Event Espresso. |
|
|
How do I remove the locked registrations as a result of the cancelled paypal transactions? There is a lock shown against the record, have not been able to delete it. |
|
My Apologies, just saw the alert messages. Found payment details, ticked box for email to be sent, set status to cancelled, then clicked to apply, and looks like its hanging. Shows processing at bottom right corner of jquery window. |
Hmm, is this with WP_Debug disabled? Can you got if the Registration Cancelled message type is active please. Go to Event Espresso -> Messages -> Settings. Check if the registration cancelled message is in the Inactive Message types box on the right. |
|
|
No Messages are in the inactive box. |
|
I did enter the code you posted for Debug, which now places debug on but does not display error messages. |
Normally when the ajax spinner just keeps spinning there has been a notice/warning/error thrown during the ajax call (which causes it to fail and continue spinning indefinitely) The snippet I posted above enabled WP_Debug and should place any errors within a debug.log in /wp-content/ The update with the fix I mentioned above has now been release, if you update to the latest version of Event Espresso (currently 4.6.11.p) does the same happen? |
|
The support post ‘Errors on Invoice view (versions 4.6.10p)’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.