Fatal Error Due to Duplicate Function Declaration in Code Snippets Plugin
-
Hello,
I am facing a fatal error on my WordPress website after activating the “Code Snippets” plugin. The error message displayed is:
“Fatal error: Cannot redeclare convert_order_item_total_to_bhd()”.
This error indicates that there is a conflict caused by redeclaring the function
convert_order_item_total_to_bhd()within the code added via the “Code Snippets” plugin. As a result, I cannot access the WordPress admin dashboard, and the site is showing as down.I need help either disabling the plugin or modifying the code to prevent the function from being declared multiple times.
Additional Information:
- Site URL: generalbahrain.com
- WordPress Version: 6.7.1
- Plugin causing the issue: Code Snippets (version 3.6.8)
- PHP Version: 8.1.31
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.