WordPress.org

Support

Support » Plugins and Hacks » [Resolved] fatal error

[Resolved] fatal error

  • 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/

Viewing 1 replies (of 1 total)
  • Plugin Author Greg Priday

    @gpriday

    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, 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 ‘[Resolved] fatal error’ is closed to new replies.