I'd like to ask for the fastest way to get the column value of 'is_active' from 'customer_entity' table. It could be using object_manager or something.
Thank you in advance
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Can you try fetching user using Collection?
// include customer collection use Magento\Customer\Model\ResourceModel\Customer\Collection; // inject in your class public function __construct( Collection $collection ) $customer = $this->collection->getItemById(6); // change this number please to match yours var_dump($customer->getData('is_active'));