Title: Latest version fatal error
Last modified: October 6, 2026

---

# Latest version fatal error

 *  [ubeo](https://wordpress.org/support/users/ubeo/)
 * (@ubeo)
 * [1 day, 1 hour ago](https://wordpress.org/support/topic/latest-version-fatal-error-2/)
 * All our websites using Contact Form 7 are down now with the following error :
 *     ```wp-block-code
       Got error 'PHP message: PHP Fatal error:  Uncaught Error: Class \"RockLobsterInc\\\\Swv\\\\CompositeRule\" not found in ******/wp-content/plugins/contact-form-7/includes/swv/swv.php
       ```
   
 * If I remove the plugin completely and reinstall it, it seems ok. The problem 
   is that we have alot of websites using it. Is there something we can do ?

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [23 hours, 57 minutes ago](https://wordpress.org/support/topic/latest-version-fatal-error-2/#post-19037565)
 * Where can we see the website in question? And where did you get the error message?
 *  [garymarkfuller](https://wordpress.org/support/users/garymarkfuller/)
 * (@garymarkfuller)
 * [23 hours, 51 minutes ago](https://wordpress.org/support/topic/latest-version-fatal-error-2/#post-19037570)
 * I’m having the same error on multiple websites and have downgraded to 6.1.7 for
   now.
 * `Got error 'PHP message: PHP Fatal error: Uncaught Error: Class "RockLobsterInc\
   Swv\CompositeRule" not found wp-content/plugins/contact-form-7/includes/swv/swv.
   php:129`
 *  [Bábelhal Support](https://wordpress.org/support/users/babelhalsupport/)
 * (@babelhalsupport)
 * [23 hours, 45 minutes ago](https://wordpress.org/support/topic/latest-version-fatal-error-2/#post-19037579)
 * **Quick fix (temp solution):**
   Edit the _…/plugins/contact-form-7/load.php_ fileOld
   line:`require 'vendor/autoload.php';`New line:`require WPCF7_PLUGIN_DIR . '/vendor/
   autoload.php';`
 *  [supertomate](https://wordpress.org/support/users/supertomate/)
 * (@supertomate)
 * [23 hours, 43 minutes ago](https://wordpress.org/support/topic/latest-version-fatal-error-2/#post-19037581)
 * I had the same problem with a ‘vendor’ folder at the root of the WordPress site
   and WordPress in a ‘wp’ directory.
 *  Thread Starter [ubeo](https://wordpress.org/support/users/ubeo/)
 * (@ubeo)
 * [23 hours, 29 minutes ago](https://wordpress.org/support/topic/latest-version-fatal-error-2/#post-19037590)
 * [@takayukister](https://wordpress.org/support/users/takayukister/) it is happening
   on many sites, and it breaks the entire site, frontend and backend. Even if I
   give you the URL, all you will see is the default WordPress error page. You have
   the complete error above. It seems to be related to sites using composer.
 *  [Simon Mista](https://wordpress.org/support/users/simonmista/)
 * (@simonmista)
 * [20 hours, 55 minutes ago](https://wordpress.org/support/topic/latest-version-fatal-error-2/#post-19037757)
 * Hi [@takayukister](https://wordpress.org/support/users/takayukister/),
 * Same error with 6.2 on a **Bedrock** install. It also happens when activating
   via WP-CLI from the project root, which has its own `vendor/autoload.php`.
 * **Cause:** In `load.php`, the relative `require 'vendor/autoload.php';` loads
   the project’s root Composer autoloader instead of the plugin’s.
 * **Confirmed fix:**
 * php
 *     ```wp-block-code
       require WPCF7_PLUGIN_DIR . '/vendor/autoload.php';
       ```
   
 * Please include this in the next release and test with Bedrock setups. Thanks!
 *  [Niraj Shah](https://wordpress.org/support/users/nirajshah-1/)
 * (@nirajshah-1)
 * [15 hours, 59 minutes ago](https://wordpress.org/support/topic/latest-version-fatal-error-2/#post-19038032)
 * Getting the same error due to auto update of the plugin. Thank you for the fix
   above, it worked. Bad form on the developers part for such a basic error. Makes
   me want to disabled auto-updates, to prevent issues like this in the future.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flatest-version-fatal-error-2%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 7 replies
 * 7 participants
 * Last reply from: [Niraj Shah](https://wordpress.org/support/users/nirajshah-1/)
 * Last activity: [15 hours, 59 minutes ago](https://wordpress.org/support/topic/latest-version-fatal-error-2/#post-19038032)
 * Status: not resolved