Navigation überspringen

Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.

Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.

Heute stehen keine Supporter zur Arbeit im German-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Schlagwörter: 

Dieses Thema enthält 5 Antworten, hat 3 Stimmen.

Zuletzt aktualisiert von arnoD-3 Vor 1 Jahr, 5 Monate.

Assistiert von: Marcel.

Verfasser Beiträge
November 22, 2022 unter 2:56 pm #12512597

arnoD-3

Hello, i need to report an issue when using the plugin “WooCommerce – PDF Vouchers” by WPWeb and “WooCommerce Multilingual & Multi-Currency” Plugin from WPML in PHP 8.0.25 an higher. When the customer is on the woocommerce checkoutpage and clicks on the “place order button” an internal server error message appears. The order is placed anyway, but the customer does not notice until the confirmation e-mail arrives. This does happen with “downloadable” products as well as with none downloadable products. The website is running on Hello Elementor theme and Elementor pro and WPML. There are running several other plugins on the website, but deactivating all of them exept Woocommerce, WPML, WooCommerce Multilingual & Multi-Currency and WooCommerce – PDF Vouchers (which are essential) and switching back to Twenty Twenty-Three Theme the problem still appears. When switching the server to php 7.4.33 it works fine. Turning off WooCommerce Multilingual & Multi-Currency or Woocommerce PDF Vouchers it also works, but having activated both of them at the same time the error appears. I don’t know if the problem is Woocommerce PDF Vouchers or WooCommerce Multilingual & Multi-Currency, but i wanted to report the issue, hoping it will be fixed soon. I reported the problem to WPWeb aswell.

[22-Nov-2022 15:17:33 UTC] ] PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php:468
Stack trace:
#0 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php(468): method_exists()
#1 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php(433): WCML_Emails->get_order_id_from_email_object()
#2 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php(415): WCML_Emails->get_email_translated_string()
#3 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/class-wp-hook.php(310): WCML_Emails->filter_emails_strings()
#4 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#5 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(524): apply_filters()
#6 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(414): WC_Email->get_option()
#7 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce-pdf-vouchers/includes/admin/class-woo-vou-vendor-sale.php(74): WC_Email->get_subject()
#8 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/class-wp-hook.php(308): Woo_Vou_Vendor_Sale->trigger()
#9 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#10 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/plugin.php(565): WP_Hook->do_action()
#11 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce/includes/class-wc-emails.php(170): do_action_ref_array()
#12 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/class-wp-hook.php(308): WC_Emails::send_transactional_email()
#13 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#14 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/plugin.php(517): WP_Hook->do_action()
#15 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce-pdf-vouchers/includes/class-woo-vou-model.php(1230): do_action()
#16 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce-pdf-vouchers/includes/class-woo-vou-public.php(338): WOO_Vou_Model->woo_vou_vendor_sale_notification()
#17 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/class-wp-hook.php(310): WOO_Vou_Public->woo_vou_payment_process_or_complete()
#18 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#19 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/plugin.php(565): WP_Hook->do_action()
#20 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce/includes/class-wc-emails.php(170): do_action_ref_array()
#21 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/class-wp-hook.php(308): WC_Emails::send_transactional_email()
#22 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#23 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/plugin.php(517): WP_Hook->do_action()
#24 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce/includes/class-wc-order.php(396): do_action()
#25 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce/includes/class-wc-order.php(245): WC_Order->status_transition()
#26 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce/includes/class-wc-order.php(143): WC_Order->save()
#27 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce-gateway-stripe/includes/abstracts/abstract-wc-stripe-payment-gateway.php(536): WC_Order->payment_complete()
#28 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-gateway-stripe.php(480): WC_Stripe_Payment_Gateway->process_response()
#29 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(982): WC_Gateway_Stripe->process_payment()
#30 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1206): WC_Checkout->process_order_payment()
#31 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(481): WC_Checkout->process_checkout()
#32 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/class-wp-hook.php(308): WC_AJAX::checkout()
#33 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#34 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/plugin.php(517): WP_Hook->do_action()
#35 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(94): do_action()
#36 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/class-wp-hook.php(308): WC_AJAX::do_wc_ajax()
#37 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#38 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/plugin.php(517): WP_Hook->do_action()
#39 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-includes/template-loader.php(13): do_action()
#40 /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-blog-header.php(19): require_once('...')
#41 /var/www/vhosts/vertikale.it/staging.vertikale.it/index.php(17): require('...')
#42 {main}
thrown in /var/www/vhosts/vertikale.it/staging.vertikale.it/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php on line 468

November 22, 2022 unter 3:40 pm #12513189

Bruno Kos
Supporter

Sprachen: Englisch (English ) Deutsch (Deutsch ) Französisch (Français )

Zeitzone: Europe/Zagreb (GMT+02:00)

Hi,

Would you be willing to provide me with WordPress credentials so I could investigate the issue directly?

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

I marked your next reply as private so that you can safely add credentials.

Regards,
Bruno Kos

November 23, 2022 unter 4:50 pm #12521357

Marcel
Supporter

Sprachen: Englisch (English ) Deutsch (Deutsch )

Zeitzone: Europe/Madrid (GMT+02:00)

Hallo,

mein Name ist Marcel und ich übernehme Ihr Ticket.

Ich hatte bereits letzte Woche einen identischen Fehler für das YITH Auctions Plugin, welches hier denselben Fehler mit PHP 8.0 beim Mailversand zur Benachrichtigung des Auktionsgewinners ausgelöst hat.

Bitte prüfen Sie nach einem vollen Backup, oder der hier https://wpml.org/de/forums/topic/yith-auction-winner-e-mails/#post-12470115 genannte Workaround für Sie ebenso funktioniert.

Freundliche Grüße
Marcel

November 24, 2022 unter 10:37 am #12525987

arnoD-3

Lieber Marcel,
danke für die Hilfe.
Das Problem scheint nun vorerst gelöst zu sein.
Bleibt der ausgetauschte Code auch nach Plugin Updates erhalten?

LG

November 24, 2022 unter 10:54 am #12526217

Marcel
Supporter

Sprachen: Englisch (English ) Deutsch (Deutsch )

Zeitzone: Europe/Madrid (GMT+02:00)

Hallo,

nein, durch Updates wird das wieder überschrieben. Ich gebe Ihnen hier Bescheid, sobald dies gelöst wurde.

Freundliche Grüße
Marcel

November 24, 2022 unter 1:21 pm #12527343

arnoD-3

Okay, dann werde ich das so lange im Auge behalten! LG

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.