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 error: Uncaught Error: Call to a member function format_i18n() on null #206

Closed
remcotolsma opened this issue Sep 6, 2021 · 0 comments
Labels

Comments

@remcotolsma
Copy link
Member

Fatal error: Uncaught Error: Call to a member function format_i18n() on null in public_html/wp-content/plugins/pronamic-ideal/vendor/wp-pay/core/views/meta-box-subscription-payments.php:85 Stack trace: #0 public_html/wp-content/plugins/pronamic-ideal/vendor/wp-pay/core/src/Admin/AdminSubscriptionPostType.php(653): include() #1 public_html/wp-admin/includes/template.php(1395): Pronamic\WordPress\Pay\Admin\AdminSubscriptionPostType->meta_box_payments(Object(WP_Post), Array) #2 public_html/wp-admin/edit-form-advanced.php(688): do_meta_boxes(Object(WP_Screen), 'normal', Object(WP_Post)) #3 public_html/wp-admin/post.php(206): require('/home/customer/...') #4 {main} thrown in public_html/wp-content/plugins/pronamic-ideal/vendor/wp-pay/core/views/meta-box-subscription-payments.php on line 85

https://restrictcontentpro-mollie.wp-pay.org/wp-admin/post.php?post=49&action=edit

Check on null is required on https://github.com/pronamic/wp-pay-core/blob/12f813d42870d314d5f40fae5279e182f1486a20/views/meta-box-subscription-payments.php#L85.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant