Uncaught ArgumentCountError
-
Hello guys, how are you?
First of all, your plugin is amazing. I’am using it for a long time and I really love it.
Today, after upgrade to version 2.10.2 I began to receive this fatal error message from WordPress Core. According to the log we have the following:Error details
================
An error type E_ERROR was caused in line 121 from the file **/wp-content/plugins/paid-member-subscriptions/includes/admin/functions-admin.php. Error Message: Uncaught ArgumentCountError: Too few arguments to function pms_cpt_last_modified_date_fromat(), 2 passed in **/wp-includes/class-wp-hook.php on line 310 and exactly 4 expected in **/wp-content/plugins/paid-member-subscriptions/includes/admin/functions-admin.php:121
Stack trace:
#0 **/wp-includes/class-wp-hook.php(310): pms_cpt_last_modified_date_fromat()
#1 **/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 **/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/admin/meta-boxes/views/html-related-orders-row.php(39): apply_filters()
#3 **/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/admin/meta-boxes/class-wcs-meta-box-related-orders.php(174): include(‘…’)
#4 /**/wp-includes/class-wp-hook.php(310): WCS_Meta_Box_Related_Orders::output_rows()
#5 **/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#6 **/wp-includes/plugin.php(517): WP_Hook->do_action()
#7 **/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/admin/meta-boxes/views/html-related-orders-table.php(49): do_action()
#8 **/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/admin/meta-boxes/class-wcs-meta-box-related-orders.php(31): include_once(‘…’)
#9 **/wp-admin/includes/template.php(1443): WCS_Meta_Box_Related_Orders::output()
#10 **/wp-admin/edit-form-advanced.php(688): do_meta_boxes()
#11 **/wp-admin/post.php(206): require(‘…’)
#12 {main}
thrownPS: For security purposes I changed the full path address from my server to **
Visually, everything in my frontend looks normal, except in WooCommerce Order Details (Admin Dashboard), which is showing an error message after purchase details.
Can you help us?
Best regards,
Patrick
The topic ‘Uncaught ArgumentCountError’ is closed to new replies.