I just inserted this line ini_set(“memory_limit”,”64M”);
as shown below in woo plugin/classes/class-wc-emails.php
and error gone!!
you should find your root file that is shown in fatal error message.
and insert the ini_set(“memory_limit”,”64M”);
In my case it was happening with all php that was included in email folder of Woocommerce.
……………………………………………………………
class hooks in all emails that can be sent.
*
* @access
public
* @return void
*/
function __construct() {
// Include email classes
include_once( ‘abstracts/abstract-wc-email.php’ );
`ini_set(“memory_limit”,”64M”);
include_once( ’emails/class-wc-email-customer-completed-order.php’ );
include_once(
’emails/class-wc-email-customer-invoice.php’ );
include_once( ’emails/class-wc-email-customer-
new-account.php’ );
include_once( ’emails/class-wc-email-customer-note.php’ );
include_once( ’emails/class-wc-email-customer-reset-password.php’ );