Fatal error after update (v2.37.4)
-
Hi,
A fatal error appears when a customer tries registering a new account, this happened since updating from version 2.37.3 to 2.37.4
Fatal error: Uncaught Error: Call to a member function get_id() on null in /home/prestaslotsclub/public_html/wp-content/plugins/shopmagic-for-woocommerce/src/Event/UserCommonEvent.php:105 Stack trace: #0 /home/prestaslotsclub/public_html/wp-content/plugins/shopmagic-for-woocommerce/src/Event/UserCommonEvent.php(80): WPDesk\ShopMagic\Event\UserCommonEvent->get_customer() #1 /home/prestaslotsclub/public_html/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 /home/prestaslotsclub/public_html/wp-content/plugins/shopmagic-for-woocommerce/src/DataSharing/ProviderHelper/DataProviderMerger.php(47): array_map(Object(Closure), Array) #4 /home/prestaslotsclub/public_html/wp-content/plugins/shopmagic-for-woocommerce/s in /home/prestaslotsclub/public_html/wp-content/plugins/shopmagic-for-woocommerce/src/Event/UserCommonEvent.php on line 105
—–
The fatal error log in WP shows the following;
2022-04-29T14:32:04+00:00 CRITICAL Uncaught Error: Call to a member function get_id() on null in /home/prestaslotsclub/public_html/wp-content/plugins/shopmagic-for-woocommerce/src/Event/UserCommonEvent.php:105
Stack trace:
#0 /home/prestaslotsclub/public_html/wp-content/plugins/shopmagic-for-woocommerce/src/Event/UserCommonEvent.php(80): WPDesk\ShopMagic\Event\UserCommonEvent->get_customer()
#1 /home/prestaslotsclub/public_html/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 /home/prestaslotsclub/public_html/wp-content/plugins/shopmagic-for-woocommerce/src/DataSharing/ProviderHelper/DataProviderMerger.php(47): array_map(Object(Closure), Array)
#4 /home/prestaslotsclub/public_html/wp-content/plugins/shopmagic-for-woocommerce/s in /home/prestaslotsclub/public_html/wp-content/plugins/shopmagic-for-woocommerce/src/Event/UserCommonEvent.php on line 105—–
Please assist, thanks!
The page I need help with: [log in to see the link]
- The topic ‘Fatal error after update (v2.37.4)’ is closed to new replies.