Title: PHP Error after recent update
Last modified: April 5, 2022

---

# PHP Error after recent update

 *  Resolved [rjjsr](https://wordpress.org/support/users/rjjsr/)
 * (@rjjsr)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-error-after-recent-update-2/)
 * 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](https://wordpress.org/support/users/dkotter/)
 * (@dkotter)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-error-after-recent-update-2/#post-15529577)
 * [@rjjsr](https://wordpress.org/support/users/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 WordPress.org 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.

 * ![](https://ps.w.org/safe-svg/assets/icon.svg?rev=2779013)
 * [Safe SVG](https://wordpress.org/plugins/safe-svg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/safe-svg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/safe-svg/)
 * [Active Topics](https://wordpress.org/support/plugin/safe-svg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/safe-svg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/safe-svg/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Darin Kotter](https://wordpress.org/support/users/dkotter/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/php-error-after-recent-update-2/#post-15529577)
 * Status: resolved