• Resolved goxxy

    (@goxxy)


    I love the plugin and I use it quite often, but after the PHP update to 7.4 media library completely stopped working and the only thing helping it run again is deactivating the Safe SVG plugin. The console in Chrome returns HTTP 500. Here’s the error I caught in the log file:

    PHP Fatal error: Uncaught Error: Call to undefined function simplexml_load_file() in /var/www2/boldthemes/avantage/wp-content/plugins/safe-svg/safe-svg.php:424

    I also caught the same issue on other plugins, so I have to say that it has something to do with WP / PHP and how the plugins use this function.

    An update to the plugin would be highly regarded Daryll, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Daryll Doyle

    (@enshrined)

    Hi @goxxy,

    I’m sorry to hear you’re having issues. Safe SVG relies heavily on the PHP XML Libraries and so I’d imagine you’re getting this error due to something being missing.

    Can you confirm that you have php-xml installed and active? We specifically need to know that libxml support is active.

    Whilst the standard is to have it enabled by default, I have seen a few people talk about needing to install it specifically.

    Cheers,
    Daryll

    Thread Starter goxxy

    (@goxxy)

    Hi @enshrined,

    No worries, issues are something I’m used to. It does seem that our server did come without PHP XML library, so once we got it installed the plugin and Media Library started working once again.

    to be precise, once our server got upgraded to 7.4, PHP XML for somewhat unknown reason wasn’t included and when we got that library installed – it started working once again.

    And many thanks for your prompt reply – love it when author backs their amazing product. You can tick this one as resolved ??

    Cheers and all the best,
    Goxxy

    Plugin Contributor Daryll Doyle

    (@enshrined)

    Awesome, thanks for the follow-up and I’m glad you got to the bottom of the issue!

    Cheers,
    Daryll

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP 7.4 incompatibility’ is closed to new replies.