• Resolved rjjsr

    (@rjjsr)


    I received the following error after updating to the latest version.

    An error of type E_COMPILE_ERROR was caused in line 15 of the file /nas/content/live/sern2021/wp-content/plugins/safe-svg/safe-svg.php. Error message: require(): Failed opening required ‘lib/vendor/autoload.php’ (include_path=’.:/usr/share/pear/php:/usr/share/php

Viewing 1 replies (of 1 total)
  • Plugin Support Darin Kotter

    (@dkotter)

    @rjjsr Can you provide more information on this? Wondering what version you were running previously and what version you updated to? Did you install the plugin from the ww.wp.xz.cn Plugin Directory or straight from Github?

    I just tried installing the latest version (v1.9.10) on a new site and it worked fine. I then installed the version before that (v1.9.9) and it also worked. I then ran a normal update to bring it up to v1.9.10 and that worked as well.

    What’s curious is your error message points to line 15 in the safe-svg.php file. In v1.9.9, that line does include a file: require 'lib/vendor/autoload.php';. So if that file doesn’t exist, it would cause the error you’re seeing. But if you’re updating to the latest version (v1.9.10) line 15 is different now and wouldn’t be able to cause any errors (as that line is now just a code comment). So if you are updating to the latest version and still seeing that error, seems like something may have gone wrong in the update process.

Viewing 1 replies (of 1 total)

The topic ‘PHP Error after recent update’ is closed to new replies.