xfrocks
Well-known member
Fatal error will occur if both of these happens:
For views, when $class is missing, $fakeNeeded will be set to true. Add-on #2 wants to extend the view, this line will run...
Because $class is empty, the eval will failed because of syntax error. Leading to further errors down the line because $createClass is also empty.
- Some add-on (#1) use responseView without a view class
- Some other add-on (#2) use load_class_view to extend the empty view class (I know it doesn't make sense but it's possible to do that)
For views, when $class is missing, $fakeNeeded will be set to true. Add-on #2 wants to extend the view, this line will run...
PHP:
eval('class '. $class .' extends '. $fakeBase .' {}');
Because $class is empty, the eval will failed because of syntax error. Leading to further errors down the line because $createClass is also empty.
Last edited: