Conversation
supportHi, I encountered the critical update right after updating this plugin. Please help Error Details ============= An error of type E_ERROR was caused in line 50 of the file /wp-content/plugins/dokan-kits/includes/Core/Data/Models/Settings.php. Error message: Uncaught TypeError: DokanKits\Core\Data\Models\Settings::__construct(): Argument #1 ($data) must be of type array, int given, called in /wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php on line 146 and defined in /wp-content/plugins/dokan-kits/includes/Core/Data/Models/Settings.php:50 Stack trace: #0 /wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(146): DokanKits\Core\Data\Models\Settings->__construct() #1 [internal function]: WC_Data->__wakeup() #2 /wp-includes/functions.php(656): unserialize() #3 /wp-content/plugins/litespeed-cache/src/object.lib.php(781): maybe_unserialize() #4 /wp-content/plugins/litespeed-cache/src/object.lib.php(160): WP_Object_Cache->get() #5 /wp-content/plugins/dokan-kits/includes/Core/Data/Stores/SettingsDataStore.php(517): wp_cache_get() #6 /wp-content/plugins/dokan-kits/includes/Setup/Migrator.php(126): DokanKits\Core\Data\Stores\SettingsDataStore->get_settings_by_name() #7 /wp-content/plugins/dokan-kits/includes/Setup/Migrator.php(80): DokanKits\Setup\Migrator->has_migration_run() #8 /wp-content/plugins/dokan-kits/includes/Setup/Migrator.php(49): DokanKits\Setup\Migrator->needs_migration() #9 /wp-content/plugins/dokan-kits/includes/Core/Bootstrap.php(190): DokanKits\Setup\Migrator->run() #10 /wp-content/plugins/dokan-kits/includes/Core/Bootstrap.php(45): DokanKits\Core\Bootstrap->init_migrations() #11 /wp-content/plugins/dokan-kits/class-dokan-kits.php(297): DokanKits\Core\Bootstrap->boot() #12 /wp-includes/class-wp-hook.php(324): Dokan_Kits->boot() #13 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #14 /wp-includes/plugin.php(517): WP_Hook->do_action() #15 /wp-settings.php(727): do_action() #16 /wp-config.php(105): require_once('...') #17 /wp-load.php(50): require_once('...') #18 /wp-blog-header.php(13): require_once('...') #19 /index.php(17): require('...') #20 {main} thrown
Hi @d88pak , It seems that you did not update the Dokan Kits plugin to the latest version before updating to version 3.0.0. I recommend deleting the existing Dokan Kits plugin from your website and reinstalling it from the WordPress.org repository. Please let us know if the issue persists after completing this process. Thanks!
Thanks!
Hi @tanvirh , I am still having all the issues i have mentioned with the new updates and now when i came to check for a solution or fix all the replies have been deleted. Can you please provide me with a clear instruction on how to fix this issue.
Hi again, today I get another email with critical problem from dokan.kit An E_ERROR type error occurred on line 884 of the file: /home/platne/[hidden-server]/public_html/[hidden-site]/wp-content/plugins/dokan-kits/includes/Core/Data/Stores/SettingsDataStore.php Error message : Uncaught TypeError: Cannot access offset of type string on string in /home/platne/[hidden-server]/public_html/[hidden-site]/wp-content/plugins/dokan-kits/includes/Core/Data/Stores/SettingsDataStore.php:884 Stack trace: #0 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-content/plugins/dokan-kits/class-dokan-kits.php(328): DokanKits\Core\Data\Stores\SettingsDataStore->update_db_version() #1 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-content/plugins/dokan-kits/class-dokan-kits.php(293): Dokan_Kits->initialize_data_stores() #2 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-includes/class-wp-hook.php(324): Dokan_Kits->boot() #3 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-content/plugins/dokan-lite/dokan-class.php(250): do_action() #6 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-includes/class-wp-hook.php(324): WeDevs_Dokan->init_plugin() #7 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-content/plugins/woocommerce/includes/class-woocommerce.php(257): do_action() #10 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-includes/class-wp-hook.php(324): WooCommerce->on_plugins_loaded() #11 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #12 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-includes/plugin.php(517): WP_Hook->do_action() #13 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-settings.php(578): do_action() #14 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-config.php(118): require_once('...') #15 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-load.php(50): require_once('...') #16 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-admin/admin-ajax.php(22): require_once('...') #17 {main} thrown System Diagnostics ✓ Success7/17/2025, 11:02:13 PM Message: System diagnostics completed successfully. System Status Overview WordPress: 6.8.1 PHP: 8.3.21 Plugin: 3.0.3 System Check: Pass I still cannot use this plugin because every time I’ve tried to change some settings and save I got an error: “Failed to save settings. Please try again.” This reply was modified 11 months, 3 weeks ago by mateo0 .
Hi @d88pak , It seems that you did not update the Dokan Kits plugin to the latest version before updating to version 3.0.0. I recommend deleting the existing Dokan Kits plugin from your website and reinstalling it from the WordPress.org repository. Please let us know if the issue persists after completing this process. Thanks!
Thanks!
Hi @tanvirh , I am still having all the issues i have mentioned with the new updates and now when i came to check for a solution or fix all the replies have been deleted. Can you please provide me with a clear instruction on how to fix this issue.
Hi again, today I get another email with critical problem from dokan.kit An E_ERROR type error occurred on line 884 of the file: /home/platne/[hidden-server]/public_html/[hidden-site]/wp-content/plugins/dokan-kits/includes/Core/Data/Stores/SettingsDataStore.php Error message : Uncaught TypeError: Cannot access offset of type string on string in /home/platne/[hidden-server]/public_html/[hidden-site]/wp-content/plugins/dokan-kits/includes/Core/Data/Stores/SettingsDataStore.php:884 Stack trace: #0 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-content/plugins/dokan-kits/class-dokan-kits.php(328): DokanKits\Core\Data\Stores\SettingsDataStore->update_db_version() #1 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-content/plugins/dokan-kits/class-dokan-kits.php(293): Dokan_Kits->initialize_data_stores() #2 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-includes/class-wp-hook.php(324): Dokan_Kits->boot() #3 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-content/plugins/dokan-lite/dokan-class.php(250): do_action() #6 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-includes/class-wp-hook.php(324): WeDevs_Dokan->init_plugin() #7 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-content/plugins/woocommerce/includes/class-woocommerce.php(257): do_action() #10 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-includes/class-wp-hook.php(324): WooCommerce->on_plugins_loaded() #11 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #12 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-includes/plugin.php(517): WP_Hook->do_action() #13 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-settings.php(578): do_action() #14 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-config.php(118): require_once('...') #15 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-load.php(50): require_once('...') #16 /home/platne/[hidden-server]/public_html/[hidden-site]/wp-admin/admin-ajax.php(22): require_once('...') #17 {main} thrown System Diagnostics ✓ Success7/17/2025, 11:02:13 PM Message: System diagnostics completed successfully. System Status Overview WordPress: 6.8.1 PHP: 8.3.21 Plugin: 3.0.3 System Check: Pass I still cannot use this plugin because every time I’ve tried to change some settings and save I got an error: “Failed to save settings. Please try again.” This reply was modified 11 months, 3 weeks ago by mateo0 .