Fatal Error – Class Name Collisions
-
Hi
maybe i am wrong of course, but it looks like the plugin includes/requires the sofort libraries and classes all the time / everywhere instead of only where they are needed.
If someone has installed 2 different shop systems (i.e woocommerce and another one)
but both have a sofort checkout process and use/bundle the sofort libraries, you end up with fatal errors like class already declared or similar.Unless I am mistaken, and please correct me if I’m wrong – may i respectfully suggest to only require/include the sofort libs where and when they are needed please?
(i.e just before thenew Sofortueberweisung($configkey)and wherever else is appropriate instead of globally)thanks
The topic ‘Fatal Error – Class Name Collisions’ is closed to new replies.