Getting some error after going to checkout page

Getting a error while entering the checkout page, attached below is the screenshot.

enter image description here

Below is the code inside the file.

$mobileHelper = $this->helper('Meetanshi\Mobilelogin\Helper\Data');
if ($helper->isMobileloginEnabled()) {

if (!$mobileHelper->customerLoggedIn()) { ?>
    <div class="check-loginlink">
        <button class="action action-auth-toggle"
                id="checkoutlogin"><?php echo __('Already Have an Account? Click here to login') ?>
<?php } ?>
<script type="text/javascript">
    require(['jquery', 'jquery/ui'], function ($) {
        $(document).ready(function ($) {
            $('#checkoutlogin').on('click', function () {
    .authentication-wrapper {
        display: none;

    .check-loginlink {
        width: 100%;
        text-align: right;

I had tried re-installing the plugin, but its still the same. Please if anyone can help me out that would be great.


Line 3, Replace

 if ($helper->isMobileloginEnabled()) { 


if ($mobileHelper->isMobileloginEnabled()) {

Similar questions

AJAX category page navigation and going back from product page (Magento 1.9.3)
I'm wondering if this is even possible to do: I have ajax category pages navigation and url stays the same no matter what page you are on. Is it possible to redirect to that certain page where the product was chosen and when clicking browser "back" button on product page. For example I choose product on the 4th page and click back, and I will be on...
Gatling load testing strategy for going through checkout with form key?
I am interested in doing some Gatling performance testing but am a bit unsure of how to do this considering Magento's use of form keys to prevent CSRF. I know there are a number of people out there who have used Gatling for load testing but in my own brief testing and with my understanding of Magento's forms, a valid form key needs to be provided f...
Magento send order email wihout going to checkout
What I want to do is. Any idea really appreciate...
Magento keeps going to install after migration
I have recently made a duplicate copy of a customers Magento installation and put it into a subdirectory of the root. I did a dump of the database and imported it into a new database. I changed the local.xml file to reflect the new database. Now my issue comes when I try to view the site under the new subdirectory to keeps invoking the install as i...
CSS not properly load after going http to https in Magento
After using SSL certificate, there is problem in frontend. How to resolve that problem, i have done all setting in backend like this
Images uploading, going to the /media/tmp, but not saving in media/catalog after saving category magento 2
I have created custom image attribute. This is displaying perfect. But when i save category, it is not saving. Images are uploading perfectly, Saving at /media/tmp, but not saving in media/catalog after saving category magento 2.

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.