Can’t send out e-cards – site crashes.
-
Hi,
I tried earlier to install the free version to test it first. I’ve had it working on another site but this site with WPML isn’t doing great.
When trying to push out an e-mail with the gift card code site crashes.
https://prnt.sc/s6s9gpI had wordpress.com help out and collect error message. This is what I got.
[27-Apr-2020 13:41:15 UTC] PHP Fatal error: Uncaught Error: Call to undefined method YITH_YWGC_Gift_Card::get_id() in /srv/htdocs/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php:395
Stack trace:
#0 /srv/htdocs/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php(375): WCML_Emails->get_email_translated_string(‘subject’, Object(YITH_YWGC_Email_Send_Gift_Card), NULL)
#1 /wordpress/core/5.4/wp-includes/class-wp-hook.php(289): WCML_Emails->filter_emails_strings(‘Du har f\xC3\xA5tt et…’, Object(YITH_YWGC_Email_Send_Gift_Card), ‘Du har f\xC3\xA5tt et…’, ‘subject’)
#2 /wordpress/core/5.4/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘Du har f\xC3\xA5tt et…’, Array)
#3 /srv/htdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(490): apply_filters(‘woocommerce_ema…’, ‘Du harf\xC3\xA5tt et…’, Object(YITH_YWGC_Email_Send_Gift_Card), ‘Du har f\xC3\xA5tt et…’, ‘subject’, ‘[{site_title}] …’)
#4 /srv/htdocs/wp-content/plugins/yith-woocommerce-gift-cards/lib/emails/class-yith-ywgc-email-send-gift-card.php(78): WC_Email->get_option(‘subject’, ‘[{site_title}] …’)
#5 /srv/htdocs/wp-content/plugins/yith-woocommerce-gift-cards/lib/emails/class-yith-ywgc-email-send-gift-card.php(177): YITH_YWGC_Email_Send_Gift_Card->get_subject()
#6 /wordpress/core/5.4/wp-includes/class-wp-hook.php(287): YITH_YWGC_Email_Send_Gift_Card->trigger(Object(YITH_YWGC_Gift_Card), ‘recipient’)
#7 /wordpress/core/5.4/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#8 /wordpress/core/5.4/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#9 /srv/htdocs/wp-content/plugins/yith-woocommerce-gift-cards/lib/class-yith-ywgc-emails.php(145): do_action(‘ywgc-email-send…’,Object(YITH_YWGC_Gift_Card), ‘recipient’)
#10 /srv/htdocs/wp-content/plugins/yith-woocommerce-gift-cards/lib/class-yith-ywgc-backend.php(1036): YITH_YWGC_Emails->send_gift_card_email(Object(YITH_YWGC_Gift_Card), false)
#11 /wordpress/core/5.4/wp-includes/class-wp-hook.php(287): YITH_YWGC_Backend->redirect_gift_cards_link(”)
#12 /wordpress/core/5.4/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#13 /wordpress/core/5.4/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#14 /wordpress/core/5.4/wp-settings.php(540): do_action(‘init’)
#15 /srv/htdocs/wp-config.php(84): require_once(‘/wordpress/core…’)
#16 /wordpress/core/5.4/wp-load.php(42): require_once(‘/srv/htdocs/wp-…’)
#17 /wordpress/core/5.4/wp-admin/admin.php(34): require_once(‘/wordpress/core…’)
#18 /wordpress/core/5.4/wp-admin/edit.php(10): require_once(‘/wordpress/core…’)
#19 {main}
thrown in /srv/htdocs/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php on line 395You’ll need to reach out to the plugin developer and share that error message with them
—
Please what is the cause?The page I need help with: [log in to see the link]
- The topic ‘Can’t send out e-cards – site crashes.’ is closed to new replies.