Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal exception for timezone in wp #35

Closed
dme1sc opened this issue Jan 24, 2022 · 0 comments
Closed

fatal exception for timezone in wp #35

dme1sc opened this issue Jan 24, 2022 · 0 comments

Comments

@dme1sc
Copy link

dme1sc commented Jan 24, 2022

wc-invoice.pdf - version 1.5.4; woocommerce 6.1.1

After creating my first few invoices, I cannot list the invoices any longer and get a fatal exception error. I also got this error when clicking the B2C checkbox and Payment Interval for yearly.
Invoices

Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone () in /home/customer/www/mortonbusinessconsulting.com/public_html/wp-content/plugins/wc-invoice-pdf/menu/invoice-menu.php:120 Stack trace: #0 /home/customer/www/mortonbusinessconsulting.com/public_html/wp-content/plugins/wc-invoice-pdf/menu/invoice-menu.php(120): DateTimeZone->__construct('') #1 /home/customer/www/mortonbusinessconsulting.com/public_html/wp-includes/class-wp-hook.php(303): WCInvoicePdf\Menu\InvoiceMenu->DisplayInvoices('') #2 /home/customer/www/mortonbusinessconsulting.com/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array) #3 /home/customer/www/mortonbusinessconsulting.com/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #4 /home/customer/www/mortonbusinessconsulting.com/public_html/wp-admin/admin.php(259): do_action('wc-invoices_pag...') #5 {main} thrown in /home/customer/www/mortonbusinessconsulting.com/public_html/wp-content/plugins/wc-invoice-pdf/menu/invoice-menu.php on line 120

There has been a critical error on this website.


I changed the timezone from UTC-5 to New York and that fixed it. Thought you might want to know...

@dme1sc dme1sc closed this as completed Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant