• Resolved G P

    (@wetapplemedia)


    Here are the logs that were sent to me this morning from the Plesj WordPress updater:

    Updates were not installed for the following items:
    
    1. Website "TestSite" (https://<redacted.com>): Failed to reset cache for the instance #7: PHP Warning: Trying to access array offset on value of type null in /var/www/vhosts/<redacted.com>/httpdocs/wp-content/plugins/svg-support/functions/mime-types.php on line 22
    Warning: Trying to access array offset on value of type null in /var/www/vhosts/<redacted.com>/httpdocs/wp-content/plugins/svg-support/functions/mime-types.php on line 22
    PHP Fatal error: Uncaught TypeError: array_intersect(): Argument #1 ($array) must be of type array, null given in /var/www/vhosts/<redacted.com>/httpdocs/wp-content/plugins/svg-support/functions/mime-types.php:28
    Stack trace:
    #0 /var/www/vhosts/<redacted.com>/httpdocs/wp-content/plugins/svg-support/functions/mime-types.php(28): array_intersect()
    #1 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-hook.php(310): bodhi_svgs_upload_mimes()
    #2 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #3 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/functions.php(3546): apply_filters()
    #4 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/block-editor.php(211): get_allowed_mime_types()
    #5 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-theme-json-resolver.php(288): get_default_block_editor_settings()
    #6 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-theme-json-resolver.php(540): WP_Theme_JSON_Resolver::get_theme_data()
    #7 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/script-loader.php(3205): WP_Theme_JSON_Resolver::get_merged_data()
    #8 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/script-loader.php(3401): {closure}()
    #9 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-hook.php(308): {closure}()
    #10 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #11 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #12 /var/www/vhosts/<redacted.com>/httpdocs/wp-settings.php(639): do_action()
    #13 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1291): require('...')
    #14 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1212): WP_CLI\Runner->load_wordpress()
    #15 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\Runner->start()
    #16 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(77): WP_CLI\Bootstrap\LaunchRunner->process()
    #17 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
    #18 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/boot-fs.php(17): require_once('...')
    #19 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wpt-wp-cli.php(31): require_once('...')
    #20 {main}
    thrown in /var/www/vhosts/<redacted.com>/httpdocs/wp-content/plugins/svg-support/functions/mime-types.php on line 28
    Fatal error: Uncaught TypeError: array_intersect(): Argument #1 ($array) must be of type array, null given in /var/www/vhosts/<redacted.com>/httpdocs/wp-content/plugins/svg-support/functions/mime-types.php:28
    Stack trace:
    #0 /var/www/vhosts/<redacted.com>/httpdocs/wp-content/plugins/svg-support/functions/mime-types.php(28): array_intersect()
    #1 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-hook.php(310): bodhi_svgs_upload_mimes()
    #2 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #3 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/functions.php(3546): apply_filters()
    #4 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/block-editor.php(211): get_allowed_mime_types()
    #5 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-theme-json-resolver.php(288): get_default_block_editor_settings()
    #6 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-theme-json-resolver.php(540): WP_Theme_JSON_Resolver::get_theme_data()
    #7 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/script-loader.php(3205): WP_Theme_JSON_Resolver::get_merged_data()
    #8 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/script-loader.php(3401): {closure}()
    #9 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-hook.php(308): {closure}()
    #10 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #11 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #12 /var/www/vhosts/<redacted.com>/httpdocs/wp-settings.php(639): do_action()
    #13 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1291): require('...')
    #14 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1212): WP_CLI\Runner->load_wordpress()
    #15 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\Runner->start()
    #16 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(77): WP_CLI\Bootstrap\LaunchRunner->process()
    #17 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
    #18 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/boot-fs.php(17): require_once('...')
    #19 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wpt-wp-cli.php(31): require_once('...')
    #20 {main}
    thrown in /var/www/vhosts/<redacted.com>/httpdocs/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 2 replies - 1 through 2 (of 2 total)
  • Thread Starter G P

    (@wetapplemedia)

    Looks like version 2.5.3 continues to have issues:

    Updates were not installed for the following items:
    
    1. Website "TestSite" (https://<redacted.com>): Failed to reset cache for the instance #7: PHP Warning: Trying to access array offset on value of type null in /var/www/vhosts/<redacted.com>/httpdocs/wp-content/plugins/svg-support/functions/mime-types.php on line 22
    Warning: Trying to access array offset on value of type null in /var/www/vhosts/<redacted.com>/httpdocs/wp-content/plugins/svg-support/functions/mime-types.php on line 22
    PHP Fatal error: Uncaught TypeError: array_intersect(): Argument #1 ($array) must be of type array, null given in /var/www/vhosts/<redacted.com>/httpdocs/wp-content/plugins/svg-support/functions/mime-types.php:28
    Stack trace:
    #0 /var/www/vhosts/<redacted.com>/httpdocs/wp-content/plugins/svg-support/functions/mime-types.php(28): array_intersect()
    #1 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-hook.php(310): bodhi_svgs_upload_mimes()
    #2 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #3 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/functions.php(3546): apply_filters()
    #4 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/block-editor.php(216): get_allowed_mime_types()
    #5 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-theme-json-resolver.php(297): get_default_block_editor_settings()
    #6 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-theme-json-resolver.php(561): WP_Theme_JSON_Resolver::get_theme_data()
    #7 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/script-loader.php(3205): WP_Theme_JSON_Resolver::get_merged_data()
    #8 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/script-loader.php(3401): {closure}()
    #9 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-hook.php(308): {closure}()
    #10 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #11 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #12 /var/www/vhosts/<redacted.com>/httpdocs/wp-settings.php(639): do_action()
    #13 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1291): require('...')
    #14 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1212): WP_CLI\Runner->load_wordpress()
    #15 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\Runner->start()
    #16 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(77): WP_CLI\Bootstrap\LaunchRunner->process()
    #17 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
    #18 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/boot-fs.php(17): require_once('...')
    #19 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wpt-wp-cli.php(31): require_once('...')
    #20 {main}
    thrown in /var/www/vhosts/<redacted.com>/httpdocs/wp-content/plugins/svg-support/functions/mime-types.php on line 28
    Fatal error: Uncaught TypeError: array_intersect(): Argument #1 ($array) must be of type array, null given in /var/www/vhosts/<redacted.com>/httpdocs/wp-content/plugins/svg-support/functions/mime-types.php:28
    Stack trace:
    #0 /var/www/vhosts/<redacted.com>/httpdocs/wp-content/plugins/svg-support/functions/mime-types.php(28): array_intersect()
    #1 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-hook.php(310): bodhi_svgs_upload_mimes()
    #2 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #3 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/functions.php(3546): apply_filters()
    #4 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/block-editor.php(216): get_allowed_mime_types()
    #5 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-theme-json-resolver.php(297): get_default_block_editor_settings()
    #6 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-theme-json-resolver.php(561): WP_Theme_JSON_Resolver::get_theme_data()
    #7 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/script-loader.php(3205): WP_Theme_JSON_Resolver::get_merged_data()
    #8 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/script-loader.php(3401): {closure}()
    #9 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-hook.php(308): {closure}()
    #10 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #11 /var/www/vhosts/<redacted.com>/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #12 /var/www/vhosts/<redacted.com>/httpdocs/wp-settings.php(639): do_action()
    #13 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1291): require('...')
    #14 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1212): WP_CLI\Runner->load_wordpress()
    #15 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\Runner->start()
    #16 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(77): WP_CLI\Bootstrap\LaunchRunner->process()
    #17 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
    #18 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/boot-fs.php(17): require_once('...')
    #19 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wpt-wp-cli.php(31): require_once('...')
    #20 {main}
    thrown in /var/www/vhosts/<redacted.com>/httpdocs/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.
    Thread Starter G P

    (@wetapplemedia)

    2.5.4 seems to fix this! Thank you! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SVG Support 2.5.2 Causes Update Crashes’ is closed to new replies.