aspirepress / AspireUpdate

A plugin that allows for rewriting the URLs used to fetch updates from WordPress.org to some other endpoint
15 stars 4 forks source link

Fatal error: Uncaught TypeError: AspirePress_Debug::logData() #13

Open asirota opened 11 hours ago

asirota commented 11 hours ago

Getting

Fatal error: Uncaught TypeError: AspirePress_Debug::logData(): Argument #1 ($type) must be of type string, null given, called in /wordpress/wp-content/plugins/AspireUpdate-playground-ready/classes/AspirePress_Debug.php on line 83 and defined in /wordpress/wp-content/plugins/AspireUpdate-playground-ready/classes/AspirePress_Debug.php:95 Stack trace: #0 /wordpress/wp-content/plugins/AspireUpdate-playground-ready/classes/AspirePress_Debug.php(83): AspirePress_Debug::logData(NULL, 'Target API Foun...') #1 /wordpress/wp-content/plugins/AspireUpdate-playground-ready/aspirepress-updater.php(146): AspirePress_Debug::logString('Target API Foun...', 'string') #2 /wordpress/wp-includes/class-wp-hook.php(3): {closure}(false, Array, 'https://api.wor...') #3 /wordpress/wp-includes/plugin.php(2): WP_Hook->apply_filters(false, Array) #4 /wordpress/wp-includes/class-wp-http.php(3): apply_filters('pre_http_reques...', false, Array, 'https://api.wor...') #5 /wordpress/wp-includes/class-wp-http.php(3): WP_Http->request('https://api.wor...', Array) #6 /wordpress/wp-includes/http.php(2): WP_Http->post('https://api.wor...', Array) #7 /wordpress/wp-includes/update.php(2): wp_remote_post('https://api.wor...', Array) #8 /wordpress/wp-includes/update.php(2): wp_version_check() #9 /wordpress/wp-includes/class-wp-hook.php(3): _maybe_update_core('') #10 /wordpress/wp-includes/class-wp-hook.php(3): WP_Hook->apply_filters(true, Array) #11 /wordpress/wp-includes/plugin.php(2): WP_Hook->do_action(Array) #12 /wordpress/wp-admin/admin.php(2): do_action('admin_init') #13 {main} thrown in /wordpress/wp-content/plugins/AspireUpdate-playground-ready/classes/AspirePress_Debug.php on line 95