wpsmith / genesis-sandbox-featured-content-widget

Genesis Sandbox Featured Content Widget. Based on Nick Croft's Genesis Featured Widget Amplified for additional functionality which allows support for custom post types, taxonomies, and extends the flexibility of the widget via action hooks to allow the elements to be re-positioned or other elements to be added.
39 stars 21 forks source link

Fatal error if Genesis is not active #32

Open marcochiesi opened 10 years ago

marcochiesi commented 10 years ago

I tried this plugin (v. 1.1.8) and I forgot to activate a Genesis theme before enabling the plugin. The result was a fatal error, which completely crashed the backend (I had to rename the plugin's folder via FTP to bring it back). I think this situation should be prevented by the plugin performing a check for the presence of Genesis while activating (as other Genesis plugins do). By the way, the error message is the following and it appears on a blank screen: Fatal error: Call to undefined function genesis_get_option() in /home/[...]/public_html/wp-content/plugins/genesis-featured-content-widget/gs-featured-content-widget.php on line 86

lmartins commented 10 years ago

Im getting the same error, although in my case im trying to activate the plugin in the Network site of multisite install. Any way to get around this?

bostonchic commented 9 years ago

I'm getting same error on multisite when creating a new site. It worked fine on my development server but after migration getting this issue. The imported existing sites work fine, it's when I try to create a new one.