Fatal error – Line 364
-
Hi,
I updated the plugin to the latest version, and the page has a fatal error. I had to disable it via the server.
Here the error received:
An E_ERROR error occurred on line 364 of the /**/public_html/wp-content/plugins/pepro-bacs-receipt-upload-for-woocommerce/wc-upload-reciept.php file. Error message: Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, array given in /**/public_html/wp-content/plugins/pepro-bacs-receipt-upload-for- woocommerce/wc-upload-receipt.php:364 Stack trace: 0 /**/public_html/wp-content/plugins/pepro-bacs-receipt-upload-for-woocommerce/wc-upload-receipt.php(364): trim() 1 /**/public_html/wp-includes/class-wp-hook.php(308): peproDev_UploadReceiptWC->admin_menu() 2 /**/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 3 /**/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 4 /**/public_html/wp-admin/includes/menu.php(155): do_action() 5 /**/public_html/wp-admin/menu.php(420): require_once('/home/**/…') 6 /**/public_html/wp-admin/admin.php(158): require('/home/**/…') 7 /**/public_html/wp-admin/index.php(10): require_once('/home/**/…') 8 {main} thrown
I am waiting for the solution.
Thank you,
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fatal error – Line 364’ is closed to new replies.