Title: Fatal error
Last modified: August 31, 2016

---

# Fatal error

 *  [twowheeler](https://wordpress.org/support/users/twowheeler/)
 * (@twowheeler)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-2018/)
 * Shortly after installation I get this:
 * > Fatal error: Class ‘civievent_Widget’ not found in wordpress/wp-content/plugins/
   > civievent-widget/civievent-single-widget.php on line 71
 * Civicrm 4.7.1 is installed working fine. Any suggestions?
 * [https://wordpress.org/plugins/civievent-widget/](https://wordpress.org/plugins/civievent-widget/)

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

 *  Plugin Author [Andie Hunt](https://wordpress.org/support/users/agh1/)
 * (@agh1)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-2018/#post-7089488)
 * Hmm–no idea. Is anything available when you go to your widgets page?
 *  Thread Starter [twowheeler](https://wordpress.org/support/users/twowheeler/)
 * (@twowheeler)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-2018/#post-7089493)
 * Yes the backend admin pages work, and I can drag and drop the civievent widget
   into various locations. The config dialog opens up in the widget. It only fails
   on the front end with the message above on a white screen.
 * I hacked the code a little to display the output of get_declared_classes(), and
   civievent_Widget is clearly there.
 * So as a temporary workaround I have commented out the single widget references
   in two places:
 *     ```
       // require_once 'civievent-single-widget.php';
   
       add_action( 'widgets_init', function() {
               register_widget( 'civievent_Widget' );
               // register_widget( 'civievent_single_Widget' );
               wp_register_style( 'civievent-widget-Stylesheet', plugins_url( 'civievevent-widget.css', __FILE__ ) );
       });
       ```
   
 * And now the rest of it works. Not a solution, but it will be ok until a solution
   is found. I don’t need the single widget anyway.

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

The topic ‘Fatal error’ is closed to new replies.

 * ![](https://ps.w.org/civievent-widget/assets/icon-256x256.png?rev=1190378)
 * [CiviEvent Widget](https://wordpress.org/plugins/civievent-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/civievent-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/civievent-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/civievent-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/civievent-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/civievent-widget/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [twowheeler](https://wordpress.org/support/users/twowheeler/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-2018/#post-7089493)
 * Status: not resolved