Fatal error, duplicate class
-
Hi Sushil,
Your plugin caused a fatal error on my site (www.iCanitaCake.com) and WordPress automatically deactivated it to prevent a crash. Here are the details.
Error: PHP Fatal error, Cannot declare class Themes_Pack_Custom_Control because the name is already in use
File: wp-content/plugins/styles-and-layouts-for-gravity-forms/helpers/customizer-controls/custom-controls.php, line 7
Plugin version: 6.1
WordPress version: 7.1
PHP version: 8.3.32
Theme: Avada Child
This happened when visiting the Customizer page (wp-admin/customize.php). It looks like the class is being declared twice somewhere in the plugin’s loading, possibly the file is being included more than once. Could you take a look? Happy to provide more details if needed.
Thanks
You must be logged in to reply to this topic.