PHP Fatal error Uncaught Error: Unknown named parameter $invoice_type
-
Dear support,
I’m having issues with the Woocommerce Szamlazz.hu plugin on my WP website. It works fine in overall but I noticed that I can’t create bulk invoices to my orders.
If I open a single order I can generate an invoice and it works just fine.
If I select 2 orders (from Woocommerce -> Orders table) they work fine as well.
If I select more eg 4 orders it starts a scheduler to generate the invoices, I can see a loader in the top right corner saying your invoices are being generated. After couple of seconds it finishes and says your invoices are ready refresh to see them.However nothing happens I can’t see the invoices next to the order and even on the szamlazz.hu’s website they are nowhere to found. I managed to dig out some logs:
2021-06-07 08:21:49 +0000 feladat létrehozva 2021-06-07 08:23:10 +0000 action started via Async Request 2021-06-07 08:23:10 +0000 unexpected shutdown: PHP Fatal error Uncaught Error: Unknown named parameter $invoice_type in /home/www/toyscompany.hu/htdocs/wp-includes/class-wp-hook.php:292 Stack trace: #0 /home/www/toyscompany.hu/htdocs/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #1 /home/www/toyscompany.hu/htdocs/wp-includes/plugin.php(551): WP_Hook->do_action() #2 /home/www/toyscompany.hu/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/actions/ActionScheduler_Action.php(22): do_action_ref_array() #3 /home/www/toyscompany.hu/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute() #4 /home/www/toyscompany.hu/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(162): ActionScheduler_Abstract_QueueRunner->process_action() #5 /home/www/toyscompany.hu/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(132): ActionScheduler_QueueRunner->do_batch() #6 /home/www/toyscompany.hu/htdocs/wp-includes/class-wp-hook.php(292): ActionScheduler_QueueRunner->run() #7 /home/www/toyscompany.hu/htdocs/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #8 /home/www/toyscompany.hu/htdocs/wp-includes/plugin.php(484): WP_Hook->do_action() #9 /home/www/toyscompany.hu/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php(52): do_action() #10 /home/www/toyscompany.hu/htdocs/wp-content/plugins/woocommerce/includes/libraries/wp-async-request.php(147): ActionScheduler_AsyncRequest_QueueRunner->handle() #11 /home/www/toyscompany.hu/htdocs/wp-includes/class-wp-hook.php(292): WP_Async_Request->maybe_handle() #12 /home/www/toyscompany.hu/htdocs/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #13 /home/www/toyscompany.hu/htdocs/wp-includes/plugin.php(484): WP_Hook->do_action() #14 /home/www/toyscompany.hu/htdocs/wp-admin/admin-ajax.php(187): do_action() #15 {main} thrown in /home/www/toyscompany.hu/htdocs/wp-includes/class-wp-hook.php on line 292
This was working fine until we switched our hosting provider. Previously we had PHP 7.4 and now this one is working with PHP8 I don’t know if this can be related.
Thank you!
### WordPress Environment ### WordPress address (URL): https://toyscompany.hu Site address (URL): https://toyscompany.hu WC Version: 5.3.0 REST API Version: ? 5.3.0 WC Blocks Version: ? 4.9.1 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 2.2.6 Log Directory Writable: ? WP Version: 5.7.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: ? WP Cron: ? Language: hu_HU External object cache: – ### Server Environment ### Server Info: Apache/2.4.41 (Ubuntu) PHP Version: 8.0.5 PHP Post Max Size: 256 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.68.0 OpenSSL/1.1.1f SUHOSIN Installed: – MySQL Version: 8.0.25-0ubuntu0.20.04.1 Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? A szerver nem rendelkezik megfelel? jogosultsággal: SoapClient - egyes b?vítmények (amelyek SOAP-ot használnak) hibásan m?k?dhetnek. DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.3.0 WC Database Prefix: wp_ Teljes adatbázis mérete: 55.07MB Adatbázis adatok mérete: 45.07MB Adatbázis index mérete: 10.00MB wp_woocommerce_sessions: Data: 0.38MB + Index: 0.02MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Data: 0.20MB + Index: 0.11MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 1.30MB + Index: 0.97MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_actions: Data: 0.52MB + Index: 0.55MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.45MB + Index: 0.28MB + Engine InnoDB wp_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_aepc_custom_audiences: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_aepc_logs: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_aioseo_posts: Data: 3.52MB + Index: 0.19MB + Engine InnoDB wp_cartflows_ca_cart_abandonment: Data: 0.08MB + Index: 0.02MB + Engine InnoDB wp_cartflows_ca_email_history: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_comments: Data: 1.21MB + Index: 0.41MB + Engine MyISAM wp_css_js_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gdpr_cc_options: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_options: Data: 4.15MB + Index: 0.10MB + Engine MyISAM wp_postmeta: Data: 15.07MB + Index: 3.64MB + Engine MyISAM wp_posts: Data: 3.14MB + Index: 0.65MB + Engine MyISAM wp_revslider_css: Data: 0.09MB + Index: 0.00MB + Engine MyISAM wp_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_sliders: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_revslider_slides: Data: 0.06MB + Index: 0.00MB + Engine MyISAM wp_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_term_relationships: Data: 0.10MB + Index: 0.18MB + Engine MyISAM wp_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_termmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_usermeta: Data: 0.08MB + Index: 0.04MB + Engine MyISAM wp_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.11MB + Index: 0.08MB + Engine InnoDB wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.17MB + Index: 0.19MB + Engine InnoDB wp_wc_order_stats: Data: 0.13MB + Index: 0.16MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.14MB + Index: 0.30MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wdr_order_item_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 1.45MB + Index: 0.00MB + Engine InnoDB wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Data: 4.52MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 0.08MB + Index: 0.05MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.05MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Data: 0.22MB + Index: 0.06MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.14MB + Index: 0.09MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Data: 3.52MB + Index: 0.83MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.19MB + Index: 0.25MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Data: 0.09MB + Index: 0.06MB + Engine InnoDB ### Post Type Counts ### attachment: 2137 cookielawinfo: 6 custom_css: 1 custom_order_status: 3 customize_changeset: 1 elementor_library: 4382 jet-menu: 1 jet-smart-filters: 6 jet-theme-core: 2 jet-woo-builder: 2 jetpack_migration: 2 jp_img_sitemap: 1 jp_sitemap: 1 jp_sitemap_master: 1 logoshowcase: 11 nav_menu_item: 152 page: 23 portfolio: 8 post: 8 product: 869 revision: 47 shop_order: 964 team: 4 wpcf7_contact_form: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (35) ### Query Monitor: írta John Blackbourn – 3.7.1 Autoptimize: írta Frank Goossens (futtta) – 2.8.4 Classic Editor: írta WordPress Contributors – 1.6 Contact Form 7: írta Takayuki Miyoshi – 5.4.1 Custom Order Status for WooCommerce: írta Tyche Softwares – 2.0.2 Disable WooCommerce Bloat: írta ospiotr – 2.4.8 Yoast Duplicate Post: írta Enrico Battocchi & Team Yoast – 4.1.2 Google Tag Manager for WordPress: írta Thomas Geiger – 1.13.1 Elementor: írta Elementor.com – 3.2.4 The Official Facebook Chat Plugin: írta Facebook – 2.1 GDPR Cookie Compliance (CCPA, PIPEDA ready): írta Moove Agency – 4.5.5 iLogistic Fulfillment Order and Product Sync: írta Cyclick Kft. – 1.6.7 WooCommerce Számlázz.hu Integráció: írta Viszt Péter – 5.4.1.1 JetBlocks For Elementor: írta Crocoblock – 1.2.4 JetElements For Elementor: írta Crocoblock – 2.3.3 JetMenu: írta Crocoblock – 2.0.5 JetThemeCore: írta Crocoblock – 1.1.24 JetWooBuilder For Elementor: írta Crocoblock – 1.6.5 JetProductGallery For Elementor: írta Crocoblock – 1.1.5 Listamester: írta Listamester – 2.2.2 Loco Translate: írta Tim Whitlock – 2.5.2 Barion Payment Gateway for WooCommerce: írta Peter Szel – 3.4.0 Pixel Caffeine: írta AdEspresso – 2.3.3 UpdraftPlus - Backup/Restore: írta UpdraftPlus.Com DavidAnderson – 1.16.56 WooCommerce Cart Abandonment Recovery: írta CartFlows Inc – 1.2.12 Advanced Order Export For WooCommerce: írta AlgolPlus – 3.1.8 Product Feed PRO for WooCommerce: írta AdTribes.io – 10.2.0 Extra Charges To Payment Gateway For WooCommerce (Standard): írta hemsingh1 – 2.0.2.1 WooCommerce: írta Automattic – 5.3.0 Toyscompany Woocommerce Settings | woojw: írta Gabor Kerenyi – 1.0.2 Woostroid Theme Wizard: írta Zemez – 1.0.0 Wordfence Security: írta Wordfence – 7.5.3 WordPress importáló: írta wordpressdotorg – 0.7 Yoast SEO: írta Yoast csapata – 16.4 WP Fastest Cache: írta Emre Vona – 0.9.1.8 ### Inactive Plugins (0) ### ### Settings ### API Enabled: – Force SSL: – Currency: HUF (Ft) Currency Position: right_space Thousand Separator: Decimal Separator: , Number of Decimals: 0 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Webshop f?oldal: #11 - /webshop/ Kosár: #12 - /kosar/ Pénztár: #13 - /penztar/ A fiókom: #987 - /fiokom/ általános Szerz?dési Feltételek: #3 - /adatvedelem-es-aszf/ ### Theme ### Name: Woostroid2 Child Version: 1.0.0 Author URL: https://www.templatemonster.com/ Child Theme: ? Parent Theme Name: Woostroid2 Parent Theme Version: 1.0.9 Parent Theme Author URL: https://zemez.io/ WooCommerce Support: ? ### Templates ### Overrides: – ### Számlázz.hu ### útvonal: /home/www/toyscompany.hu/htdocs/wp-content/uploads/wc_szamlazz Fizetési módok: Array ( [bacs] => Array ( [deadline] => [complete] => [proform] => [deposit] => [name] => [auto_disabled] => ) [cod] => Array ( [deadline] => [complete] => [proform] => [deposit] => [name] => [auto_disabled] => ) [barion] => Array ( [deadline] => [complete] => [proform] => [deposit] => [name] => [auto_disabled] => ) ) ### Action Scheduler ### Megszakítva: 3 Oldest: 2021-06-04 06:39:34 +0000 Newest: 2021-06-04 06:39:34 +0000 Teljesítve: 1?720 Oldest: 2021-05-07 13:11:27 +0000 Newest: 2021-06-07 08:50:18 +0000 Sikertelen: 55 Oldest: 2021-06-04 06:31:13 +0000 Newest: 2021-06-07 08:46:59 +0000 Függ?ben: 2 Oldest: 2021-06-07 12:46:40 +0000 Newest: 2021-06-08 07:38:08 +0000 ### Status report information ### Generated at: 2021-06-07 09:00:15 +00:00
The page I need help with: [log in to see the link]
- The topic ‘PHP Fatal error Uncaught Error: Unknown named parameter $invoice_type’ is closed to new replies.