Title: Fatal Error when submitting link
Last modified: September 1, 2016

---

# Fatal Error when submitting link

 *  Resolved [Christoph](https://wordpress.org/support/users/camthor/)
 * (@camthor)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-submitting-link/)
 * When I try to submit a link through the form (with shortcode) as anonymous user,
   I get the error:
 *     ```
       Fatal error: Class 'WPCF7_Submission' not found in /.../wp-content/plugins/link-library/usersubmission.php on line 574
       ```
   
 * Any idea what could be wrong? Thanks!
 * [https://wordpress.org/plugins/link-library/](https://wordpress.org/plugins/link-library/)

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

 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-submitting-link/#post-7667180)
 * Hmm… it seems that part of the spam validation code I added makes a reference
   to Contact Form 7. Since you do not have that plugin installed, it is throwing
   an error.
 * A quick fix until I have time to fully resolve the issue later this week would
   be to install and activate Contact Form 7, even if not used.
 * Alternatively, edit usersubmission.php in the link-library plugin folder and 
   delete lines 574 to 576.
 *  Thread Starter [Christoph](https://wordpress.org/support/users/camthor/)
 * (@camthor)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-submitting-link/#post-7667187)
 * Thanks! I already activated Contact Form 7, somehow I didn’t realize that it 
   is needed.
 * Now the PHP error disappears, but I get a “Link submission error” in the form.
 * I deleted the lines, as you wrote, but the “Link submission error” remains. I
   also turned on “Debug Mode”, just the same message.
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-submitting-link/#post-7667198)
 * Sorry about these problems. I should be able to investigate in next few days 
   and let you know what I find.
 * One thing to try quickly would be to uncheck the box called ‘Validate links with
   Akismet’ in the User Submission tab and see if it works then.
 *  Thread Starter [Christoph](https://wordpress.org/support/users/camthor/)
 * (@camthor)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-submitting-link/#post-7667207)
 * No problem!
 * Yes, disabling Akismet validation solved the problem! (Additionally to commenting
   out the lines as suggested above.)
 * Thank you for your fast help!
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-submitting-link/#post-7667221)
 * No trouble. Glad this did the trick for now. I will review as soon as possible
   for a better solution. Please consider to support this plugin’s development.
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-when-submitting-link/#post-7667479)
 * I just release a new version to fully fix this without needing to disable link
   validation through Akismet. Please update and validate that link submission works
   correctly on your site.
 * Please consider donating to support this plugin’s development.

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

The topic ‘Fatal Error when submitting link’ is closed to new replies.

 * ![](https://ps.w.org/link-library/assets/icon-256x256.jpg?rev=971117)
 * [Link Library](https://wordpress.org/plugins/link-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/link-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/link-library/)
 * [Active Topics](https://wordpress.org/support/plugin/link-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/link-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/link-library/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-when-submitting-link/#post-7667479)
 * Status: resolved