• Hello there,

    Overall, this plugin has been awesome for quite some time! Thanks for all you do and I have recently donated to contribute to the cause.

    Everything has been working great on PHP 7.4 but during a recent upgrade to PHP 8.0, we are now getting fatal PHP errors that bring the site down. Others have mentioned similar errors. The error on my end looks like this:

    `[22-Nov-2022 20:30:33 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/wp-content/plugins/svg-support/svg-support.php:85
    Stack trace:
    #0 /var/www/wp-settings.php(447): include_once()
    #1 /var/www/wp-config.php(99): require_once(‘/var/www/wp-set…’)
    #2 /var/www/wp-load.php(50): require_once(‘/var/www/wp-con…’)
    #3 /var/www/wp-blog-header.php(13): require_once(‘/var/www/wp-loa…’)
    #4 /var/www/index.php(17): require(‘/var/www/wp-blo…’)
    #5 {main}
    thrown in /var/www/wp-content/plugins/svg-support/svg-support.php on line 85

Viewing 2 replies - 1 through 2 (of 2 total)
  • Similar but only started when upgrading PHP to 8.1.3 ( am running WP 6.1.1 and svg-support 2.5.4)
    PHP Warning: Trying to access array offset on value of type null in plugins\svg-support\functions\mime-types.php on line 22

    Got an eerily similar problem (svg-support version 2.5.5):

    Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /wp-content/plugins/svg-support/svg-support.php:90
    Stack trace:
    0 /wp-settings.php(392): include_once()
    1 /wp-config.php(132): require_once(‘…’)
    2 /wp-load.php(50): require_once(‘…’)
    3 /wp-admin/admin.php(34): require_once(‘…’)
    4 /wp-admin/network/admin.php(13): require_once(‘…’)
    5 /wp-admin/network/index.php(11): require_once(‘…’)
    6 {main}
    thrown in /wp-content/plugins/svg-support/svg-support.php on line 90

    This is when I try to open the Network-Admin page of a multi-site installation.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 8.0 & SVG Support 2.5.4’ is closed to new replies.