Skip Navigation

[Resolved] PHP Fatal error: Class 'WPDD_layout_cell' not found

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Beda 5 years, 5 months ago.

Assigned support staff: Beda.

Author
Posts
#384400

When calling a custom layout cell with a layouts version higher than 1.5 I am getting a "PHP Fatal error: Class 'WPDD_layout_cell' not found in /dd-layouts-cells/cell-types/layouts-widget-zone.php on line 3".
In the file on line 3 it says "class WPDD_layout_cell_widget_area extends WPDD_layout_cell {".
This code has worked for quite sometime, but now seems to be broken. Do you have a suggestion on how to solve this problem?

#384909

I created some Custom Cells myself for some WebSites in past and updating to Layouts 1.5+ did not cause this issue.

Your Custom Code must have a flaw somewhere.

Can you consult this Documentation to see how to set the Cells up?
https://toolset.com/documentation/user-guides/creating-custom-cells-unique-functionality/
https://toolset.com/documentation/user-guides/layouts-cells-api/

I can not debug the code for you, this is not something we support.

But I will be happy to help you learn how to debug it, using our API Documentation we have for construction such cells.

Please let me know if you need help with this instructions.

Thank you