WordPress.org

Ready to get started?Download WordPress

Forums

Page Builder by SiteOrigin
[resolved] fatal error (2 posts)

  1. Brett2000
    Member
    Posted 1 year ago #

    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/

  2. Greg Priday
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic