Settings page fatal error (PHP 8.2)
-
Hello,
I am experiencing a fatal error when accessing the settings page of the Print Invoice & Delivery Notes for WooCommerce plugin, which prevents me from changing or saving any settings.
Below are the details of my environment and the exact error message.
Environment
- WordPress: 6.9
- WooCommerce: 10.4.3
- PHP: 8.2.28
Error message
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /wp-content/plugins/woocommerce-delivery-notes/includes/class-wcdn-settings.php:328 Stack trace: #0 /wp-includes/class-wp-hook.php(341): WCDN_Settings->add_assets('') #1 /wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters('', Array) #2 /wp-includes/plugin.php(522): WP_Hook->do_action(Array) #3 /wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(176): do_action('woocommerce_settings_page_init') #4 /wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(358): WC_Admin_Settings::output() #5 /wp-includes/class-wp-hook.php(341): WC_Admin_Menus->settings_page('') #6 /wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters('', Array) #7 /wp-includes/plugin.php(522): WP_Hook->do_action(Array) #8 /wp-admin/admin.php(264): do_action('woocommerce_page_wc-settings') #9 {main}This error occurs consistently when opening the WooCommerce settings page related to this plugin.
Could you please advise whether this is a known compatibility issue with PHP 8.2 or WooCommerce 10.4.3, or if there is a recommended fix or workaround?
Thank you very much for your support.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.