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

  1. Brett2000
    Posted 3 years ago #


    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:

    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?



  2. Greg Priday
    Plugin Author

    Posted 3 years 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

  • Page Builder by SiteOrigin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic