kilbot / WooCommerce-POS

:bangbang: All development now at https://github.com/wcpos.
http://wcpos.com
GNU General Public License v3.0
354 stars 126 forks source link

duplicated class #237

Open itspanama opened 3 years ago

itspanama commented 3 years ago

Hi, Mr I have the following error since a php class conflicts with a deposit plugin, I leave the error:

[27-Aug-2020` 09:08:16 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /home/itspanama/demo.itspanama.net/dejavu/wp-includes/class-wp-hook.php on line 287
[27-Aug-2020 09:08:16 UTC] PHP Fatal error:  Cannot declare class WC_Deposits_Emails, because the name is already in use in /home/itspanama/demo.itspanama.net/dejavu/wp-content/plugins/woocommerce-deposits/includes/class-wc-deposits-emails.php on line 17

Let's see if you can give me some light to move forward if you need some information, please let me know

thanks