Fatal error when creating new user
-
Error while creating new user who should receive welcome e-mail from plugin.
current plugin: ShopMagic for WooCommerce (version 2.37.4) PHP version 7.3.29-1 + focal Error Details =============== An error of type E_ERROR occurred in line 105 in file /var/www/templehair.dk/wp-content/plugins/shopmagic-for-woocommerce/src/Event/UserCommonEvent.php. Error Message: Uncaught Error: Call to a member function get_id () on null in /var/www/templehair.dk/wp-content/plugins/shopmagic-for-woocommerce/src/Event/UserCommonEvent.php:105 Stack trace: # 0 /var/www/templehair.dk/wp-content/plugins/shopmagic-for-woocommerce/src/Event/UserCommonEvent.php(80): WPDesk\ShopMagic\Event\UserCommonEvent-> get_customer () # 1/var/www/templehair.dk/wp-content/plugins/shopmagic-for-woocommerce/src/DataSharing/ProviderHelper/DataProviderMerger.php (45): WPDesk\ShopMagic\Event\UserCommonEvent-> get_provided_data () # 2 [internal function]: WPDesk\ShopMagic\DataSharing\ProviderHelper\DataProviderMerger-> WPDesk\ShopMagic\DataSharing\ProviderHelper\{closure} (Object (WPDesk\ShopMagic\Event\Builtin\CustomerAccountCreated)) # 3 /var/www/templehair.dk /plugins/shopmagic-for-woocommerce/src/DataSharing/ProviderHelper/DataProviderMerger.php(47): array_map (Object (Closure), Array) # 4 /var/www/templehair.dk/wp-content/plugins/shopmagic- for-woocommerce/src/DataSharing/Prov iderHelper/DataProviderMerger.php (45
- The topic ‘Fatal error when creating new user’ is closed to new replies.