Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/html/public/wp-content/plugins/woocommerce/includes/class-wc-product-download.php on line 307 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/public/wp-content/plugins/woocommerce/includes/class-wc-download-handler.php on line 296 Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/public/wp-content/plugins/woocommerce/includes/class-wc-product-download.php on line 70 Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/public/wp-content/plugins/woocommerce/includes/class-wc-product-download.php on line 183 Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/public/wp-content/plugins/woocommerce/includes/class-wc-product-download.php on line 70 Fatal error: Uncaught TypeError: Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Register::is_valid_path(): Argument #1 ($download_url) must be of type string, null given, called in /var/www/html/public/wp-content/plugins/woocommerce/includes/class-wc-product-download.php on line 221 and defined in /var/www/html/public/wp-content/plugins/woocommerce/src/Internal/ProductDownloads/ApprovedDirectories/Register.php:240 Stack trace: #0 /var/www/html/public/wp-content/plugins/woocommerce/includes/class-wc-product-download.php(221): Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Register->is_valid_path(NULL) #1 /var/www/html/public/wp-content/plugins/woocommerce/includes/class-wc-product-download.php(136): WC_Product_Download->approved_directory_checks(false) #2 /var/www/html/public/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1273): WC_Product_Download->check_is_valid(false) #3 /var/www/html/public/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php(582): WC_Product->set_downloads(Array) #4 /var/www/html/public/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-variation-data-store-cpt.php(80): WC_Product_Data_Store_CPT->read_downloads(Object(WC_Product_Variation)) #5 /var/www/html/public/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Product_Variation_Data_Store_CPT->read(Object(WC_Product_Variation)) #6 /var/www/html/public/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(139): WC_Data_Store->read(Object(WC_Product_Variation)) #7 /var/www/html/public/wp-content/plugins/woocommerce/includes/class-wc-product-simple.php(24): WC_Product->__construct(152) #8 /var/www/html/public/wp-content/plugins/woocommerce/includes/class-wc-product-variation.php(54): WC_Product_Simple->__construct(152) #9 /var/www/html/public/wp-content/plugins/woocommerce/includes/class-wc-product-factory.php(46): WC_Product_Variation->__construct(152, Array) #10 /var/www/html/public/wp-content/plugins/woocommerce/includes/wc-product-functions.php(73): WC_Product_Factory->get_product(152, Array) #11 /var/www/html/public/wp-content/plugins/cp-get-updates-zip-from-license-server/cp-get-updates-zip-from-license-server.php(286): wc_get_product(152) #12 /var/www/html/public/wp-content/plugins/cp-get-updates-zip-from-license-server/cp-get-updates-zip-from-license-server.php(250): cpfm_update_product_download_url(61, 'https://my-back...') #13 /var/www/html/public/wp-content/plugins/cp-get-updates-zip-from-license-server/cp-get-updates-zip-from-license-server.php(81): cpfm_check_versions_update(Array) #14 /var/www/html/public/wp-content/plugins/cp-get-updates-zip-from-license-server/cp-get-updates-zip-from-license-server.php(68): cpfm_get_data_from_the_database(Array) #15 /var/www/html/public/wp-includes/class-wp-hook.php(324): cpfm_get_data_from_licenser('') #16 /var/www/html/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #17 /var/www/html/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #18 /var/www/html/public/wp-settings.php(700): do_action('init') #19 /var/www/html/wp-config.php(128): require_once('/var/www/html/p...') #20 /var/www/html/public/wp-load.php(55): require_once('/var/www/html/w...') #21 /var/www/html/public/wp-blog-header.php(13): require_once('/var/www/html/p...') #22 /var/www/html/public/index.php(17): require('/var/www/html/p...') #23 {main} thrown in /var/www/html/public/wp-content/plugins/woocommerce/src/Internal/ProductDownloads/ApprovedDirectories/Register.php on line 240