Hi,
I’m encountering a critical error with the Product Layouts plugin on my WordPress site. The error message is as follows:
An error of type E_ERROR was caused in line 74 of the file /wp-content/plugins/product-layouts/Layouts/Tabs/Frontend/Layout1.php. Error message: Uncaught Error: Class “\WPTE_PRODUCT_LAYOUT\Layouts\Frontend\Layout” not found in /wp-content/plugins/product-layouts/Layouts/Tabs/Frontend/Layout1.php:74
Stack trace: 0 /wp-content/plugins/product-layouts/Includes/Helper/Public_Render.php(158): WPTE_PRODUCT_LAYOUT\Layouts\Tabs\Frontend\Layout1->layout_render(Array, ‘admin’) 1 /wp-content/plugins/product-layouts/Includes/Helper/Public_Render.php(119): WPTE_PRODUCT_LAYOUT\Includes\Helper\Public_Render->render() 2 /wp-content/plugins/product-layouts/Includes/Helper/Public_Render.php(108): WPTE_PRODUCT_LAYOUT\Includes\Helper\Public_Render->hooks() 3 /wp-content/plugins/product-layouts/Includes/Helper/Public_Render.php(93): WPTE_PRODUCT_LAYOUT\Includes\Helper\Public_Render->loader() 4 /wp-content/plugins/product-layouts/Includes/Admin/Pages/Create.php(202): WPTE_PRODUCT_LAYOUT\Includes\Helper\Public_Render->__construct(Array) 5 /wp-content/plugins/product-layouts/Includes/Admin/Pages/Create.php(143): WPTE_PRODUCT_LAYOUT\Includes\Admin\Pages\Create->template() 6 /wp-content/plugins/product-layouts/Includes/Admin/Pages/Create.php(66): WPTE_PRODUCT_LAYOUT\Includes\Admin\Pages\Create->render() 7 /wp-content/plugins/product-layouts/Includes/Admin/Plugin_Page.php(63): WPTE_PRODUCT_LAYOUT\Includes\Admin\Pages\Create->__construct() 8 /wp-content/plugins/product-layouts/Includes/Admin/Menu.php(55): WPTE_PRODUCT_LAYOUT\Includes\Admin\Plugin_Page->module_page() 9 /wp-includes/class-wp-hook.php(324): WPTE_PRODUCT_LAYOUT\Includes\Admin\Menu->plugin_page(”) 10 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 11 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) 12 /wp-admin/admin.php(259): do_action(‘toplevel_page_p…’) 13 {main}
thrown
It appears that the class \WPTE_PRODUCT_LAYOUT\Layouts\Frontend\Layout
is not found. This could be due to:
- A typo in the class name or namespace.
- The class file not being included or missing.
- Incorrect file path.
Could you please assist in resolving this issue? Any guidance on how to ensure the class is correctly defined and included would be greatly appreciated.
Thank you!