I have duplicated a WordPress plugin. Both plugins are working as I need, but the problem is that I can only activate one plugin at a time.
If one plugin is activated then the other plugin activation is not working without giving an error message. (I already have tried WP_DEBUG etc)
The plugin is a custom plugin so can't share the URL or name of the plugin.