Title: fatal error
Last modified: August 21, 2016

---

# fatal error

 *  Resolved [brett2000](https://wordpress.org/support/users/brett2000/)
 * (@brett2000)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/fatal-error-779/)
 * Hi
 * Using your latest version, on my Page tab (at bottom) I see this:
    —- Fatal error:
   Class ‘photohero-home-slider-widget’ not found in C:\xampp\htdocs\mywebsite.com\
   wp-content\plugins\siteorigin-panels\tpl\metabox-panels.php on line 9 —
 * Does your plugin handle requires in the widget files? I have this at the top 
   of that widget file:
    — require(‘widget-frame.php’); —
 * What do I need to do to get this to work? It seems that Page builder is trying
   to initialize a widget and is having trouble?
 * Thanks,
    -Brett
 * [http://wordpress.org/extend/plugins/siteorigin-panels/](http://wordpress.org/extend/plugins/siteorigin-panels/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Greg – SiteOrigin](https://wordpress.org/support/users/gpriday/)
 * (@gpriday)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/fatal-error-779/#post-3854812)
 * Hi Brett
 * I’m not entirely sure what’s going on there, but from the looks of things a widget
   is registering itself incorrectly.
 * Page Builder itself doesn’t really manage widget and their includes, but if you
   have a widget in a plugin and properly register it using [register_widget](http://codex.wordpress.org/Function_Reference/register_widget),
   Page Builder should handle it. What theme/plugin are you using to provide this
   widget?
 * All I can do on my side is make sure Page Builder handles this issue better. 
   I’ve added a few lines of code to make it more robust against this sort of issue,
   but all it’ll do is ignore improperly defined widgets.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/siteorigin-panels/assets/icon.svg?rev=2556869)
 * [Page Builder by SiteOrigin](https://wordpress.org/plugins/siteorigin-panels/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/siteorigin-panels/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/siteorigin-panels/)
 * [Active Topics](https://wordpress.org/support/plugin/siteorigin-panels/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/siteorigin-panels/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/siteorigin-panels/reviews/)

## Tags

 * [Theme Widget](https://wordpress.org/support/topic-tag/theme-widget/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 1 reply
 * 2 participants
 * Last reply from: [Greg – SiteOrigin](https://wordpress.org/support/users/gpriday/)
 * Last activity: [12 years, 12 months ago](https://wordpress.org/support/topic/fatal-error-779/#post-3854812)
 * Status: resolved