• Hi all,

    Just installed freshly this plugin, but cannot access Settings page. Is there anyone else getting below error? any help to assist solve it?

    Fatal error: Uncaught Error: Cannot use object of type WC_Settings_Aodsi_Invoices as array in /public_html/wp-content/plugins/shipping-zones-by-drawing-for-woocommerce/classes/class-szbd-settings.php:103 Stack trace: #0 /public_html/wp-includes/class-wp-hook.php(310): SZbD_Add_Tab() #1 /public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #2 /public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(62): apply_filters() #3 /public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(143): WC_Admin_Settings::get_settings_pages() #4 /public_html/wp-includes/class-wp-hook.php(310): WC_Admin_Menus->save_settings() #5 /public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #6 /public_html/wp-includes/plugin.php(517): W in /public_html/wp-content/plugins/shipping-zones-by-drawing-for-woocommerce/classes/class-szbd-settings.php on line 103

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author arosoft

    (@arosoft)

    Hi, Aodsi_Invoices is some plugin? They should define their settings as an array. Now they makes it impossible to add our settings.

    Thread Starter krikis

    (@krikis)

    It is Sequential Invoice Numbers plugin. I do see it returns value as per below. How can I make it to return as an array?

    return new WC_Settings_aodsi_invoices();

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Settings page Error’ is closed to new replies.