• Hi. I installed this plugin because it is recommended to me by a market site to check my plugin against some problems. My plugin uses a few composer packages and they have helper functions, as you have in this plugin, such as dd() function. All of the composer packages I have first check whether the helper function already exists or not before they define it, and this is how it should be. I cannot even see this plugin’s page because it gives an error that “dd() is already defined”.

    My problem is that this plugin is used to check some other plugins by some market sites where you can sell your plugin, and it causes an error I am not responsible for. However, the person who checks my plugin may think that the error is due to my plugin and my plugin may get a reject.

    So, please check your helper functions if they exist before defining them. This costs a lot to me, since I use composer to keep my plugin up-to-date and now I have to manually remove helper functions from the packages, which takes away the benefits of using composer.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘You should check if your helper functions exist’ is closed to new replies.