Fatal error: Uncaught TypeError: StomilDystrybucja\Services\SyncRabat::__construct(): Argument #3 ($syncRabatGroupRepository) must be of type StomilDystrybucja\Repository\SyncRabatGroupRepository, StomilDystrybucja\Services\CreateRabat given, called in /var/www/html/wp-content/plugins/stomil-dystrybucja/app.php on line 270 and defined in /var/www/html/wp-content/plugins/stomil-dystrybucja/src/Services/SyncRabat.php:17 Stack trace: #0 /var/www/html/wp-content/plugins/stomil-dystrybucja/app.php(270): StomilDystrybucja\Services\SyncRabat->__construct(Object(StomilDystrybucja\Repository\RepositoryRabatGlobal), Object(StomilDystrybucja\Repository\RepositoryRabatGroupGlobal), Object(StomilDystrybucja\Services\CreateRabat), Object(StomilDystrybucja\Repository\SyncUsersRepository), Object(StomilDystrybucja\Repository\SyncTableRepository), Object(StomilDystrybucja\Repository\SyncRabatRepository), Object(StomilDystrybucja\Utils\Logger)) #1 /var/www/html/wp-includes/class-wp-hook.php(341): StomilDystrybucja\{closure}('') #2 /var/www/html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters('', Array) #3 /var/www/html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #4 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-post-types.php(592): do_action('woocommerce_aft...') #5 /var/www/html/wp-includes/class-wp-hook.php(341): WC_Post_Types::register_post_types('') #6 /var/www/html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array) #7 /var/www/html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #8 /var/www/html/wp-settings.php(742): do_action('init') #9 /var/www/html/wp-config.php(139): require_once('/var/www/html/w...') #10 /var/www/html/wp-load.php(50): require_once('/var/www/html/w...') #11 /var/www/html/wp-blog-header.php(13): require_once('/var/www/html/w...') #12 /var/www/html/index.php(17): require('/var/www/html/w...') #13 {main} thrown in /var/www/html/wp-content/plugins/stomil-dystrybucja/src/Services/SyncRabat.php on line 17 Fatal error: Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /var/www/html/wp-admin/includes/class-wp-filesystem-ftpext.php:438 Stack trace: #0 /var/www/html/wp-admin/includes/class-wp-filesystem-ftpext.php(438): ftp_nlist(NULL, '/var/www/html/w...') #1 /var/www/html/wp-admin/includes/class-wp-filesystem-ftpext.php(456): WP_Filesystem_FTPext->exists('/var/www/html/w...') #2 /var/www/html/wp-admin/includes/class-wp-filesystem-ftpext.php(265): WP_Filesystem_FTPext->is_file('/var/www/html/w...') #3 /var/www/html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(417): WP_Filesystem_FTPext->chmod('/var/www/html/w...') #4 /var/www/html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(438): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->create() #5 /var/www/html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php(135): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->write('2026-04-30T10:1...') #6 /var/www/html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/LogHandlerFileV2.php(62): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController->write_to_file('fatal-errors', '2026-04-30T10:1...', 1777543903) #7 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-logger.php(189): Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2->handle(1777543903, 'critical', 'Uncaught TypeEr...', Array) #8 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-logger.php(236): WC_Logger->log('critical', 'Uncaught TypeEr...', Array) #9 /var/www/html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(482): WC_Logger->critical('Uncaught TypeEr...', Array) #10 [internal function]: WooCommerce->log_errors() #11 {main} thrown in /var/www/html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438