Fatal error: Uncaught TypeError: array_intersect(), mime-types.php line 28
-
It seems that the latest release broke something. I now get the following error (and I’m making no attempt to access and SVG file or anything):
Warning: Trying to access array offset on value of type null in /www/devph_206/public/wp-content/plugins/svg-support/functions/mime-types.php on line 22 Fatal error: Uncaught TypeError: array_intersect(): Argument #1 ($array) must be of type array, null given in /www/devph_206/public/wp-content/plugins/svg-support/functions/mime-types.php:28 Stack trace: #0 /www/devph_206/public/wp-content/plugins/svg-support/functions/mime-types.php(28): array_intersect(NULL, Array) #1 /www/devph_206/public/wp-includes/class-wp-hook.php(310): bodhi_svgs_upload_mimes(Array) #2 /www/devph_206/public/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #3 /www/devph_206/public/wp-includes/functions.php(3546): apply_filters('upload_mimes', Array, NULL) #4 /www/devph_206/public/wp-includes/block-editor.php(211): get_allowed_mime_types() #5 /www/devph_206/public/wp-includes/class-wp-theme-json-resolver.php(288): get_default_block_editor_settings() #6 /www/devph_206/public/wp-includes/class-wp-theme-json-resolver.php(540): WP_Theme_JSON_Resolver::get_theme_data() #7 /www/devph_206/public/wp-includes/script-loader.php(3205): WP_Theme_JSON_Resolver::get_merged_data() #8 /www/devph_206/public/wp-includes/script-loader.php(3401): {closure}() #9 /www/devph_206/public/wp-includes/class-wp-hook.php(308): {closure}('') #10 /www/devph_206/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #11 /www/devph_206/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #12 /www/devph_206/public/wp-settings.php(639): do_action('wp_loaded') #13 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1336): require('/www/devph_206/...') #14 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1254): WP_CLI\Runner->load_wordpress() #15 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start() #16 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState)) #17 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap() #18 phar:///usr/local/bin/wp/php/boot-phar.php(11): include('phar:///usr/loc...') #19 /usr/local/bin/wp(4): include('phar:///usr/loc...') #20 {main} thrown in /www/devph_206/public/wp-content/plugins/svg-support/functions/mime-types.php on line 28 Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Fatal error: Uncaught TypeError: array_intersect(), mime-types.php line 28’ is closed to new replies.