WPIntell

Source evidence

Fatal error

CiviEvent Widget · support · 2016-02-21T13:20:00+00:00

complaintsentiment
highseverity
1.0relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

7 / 35 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
twowheeler unresolved
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/ Hmm–no idea. Is anything available when you go to your widgets page? 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.

Comments

2 shown
Andie Hunt 2016-03-04T17:12:00+00:00

Hmm–no idea. Is anything available when you go to your widgets page?

twowheeler 2016-03-05T20:54:00+00:00

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.