Skip to content

2.0.25: @

Choose a tag to compare

@gp247net gp247net released this 20 Aug 04:55
· 16 commits to master since this release
Add SocialAccountTrait::socialAccountEnabled() guard helper

Gate LoginSocial usage on the real operating condition — SocialAccount
class autoloads AND its backing table exists — not just class presence.
The plugin source ships under app/GP247, so class_exists() stays true
even when the plugin was never installed at the DB layer; eager-loading
the socialAccount() relation in that state crashes. Core counterpart of
the shop-side dashboard guard.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@