Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2007
    Location
    Illinois, USA
    Posts
    312
    Plugin Contributions
    0

    Default Uncaught Error: Call to a member function isMobile() on null

    ZC 1.5.7c php7.3

    I'm getting this error code, and it may be related to why the "My Account" is returning no content. Any help to isolate would be appreciated.

    [24-Jun-2021 23:18:44 UTC] PHP Fatal error: Uncaught Error: Call to a member function isMobile() on null in /includes/templates/ntobs20/templates/tpl_account_default.php:16
    Stack trace:
    #0 /includes/templates/ntobs20/common/tpl_main_page.php(195): require()
    #1 /index.php(94): require('/home/feadmin/p...')
    #2 {main}
    thrown in /includes/templates/ntobs20/templates/tpl_account_default.php on line 16

    [24-Jun-2021 23:18:44 UTC] Request URI: /index.php?main_page=account, IP address: xxxxxxx
    --> PHP Fatal error: Uncaught Error: Call to a member function isMobile() on null in /includes/templates/ntobs20/templates/tpl_account_default.php:16
    Stack trace:
    #0 /includes/templates/ntobs20/common/tpl_main_page.php(195): require()
    #1 /index.php(94): require('/home/feadmin/p...')
    #2 {main}
    thrown in /includes/templates/ntobs20/templates/tpl_account_default.php on line 16.
    NTO: building a better network thru collaboration
    www.needtoorder.com | www.coffeewitheinstein.com

  2. #2
    Join Date
    Jan 2007
    Location
    Illinois, USA
    Posts
    312
    Plugin Contributions
    0

    Default Re: BLANK MY ACCOUNT: PHP Fatal error: Uncaught Error: Call to a member function

    ***UPDATE*** RESOLVED - the file from the 1.5.7c update was missing in the template file.
    NTO: building a better network thru collaboration
    www.needtoorder.com | www.coffeewitheinstein.com

  3. #3
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: BLANK MY ACCOUNT: PHP Fatal error: Uncaught Error: Call to a member function

    Quote Originally Posted by Carbonless View Post
    ***UPDATE*** RESOLVED - the file from the 1.5.7c update was missing in the template file.
    When you say the 1.5.7c update, can you clarify for inquiring minds? It looks like *A* file was there with that name, but from where was this "updated" file obtained?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,623
    Plugin Contributions
    123

    Default Re: BLANK MY ACCOUNT: PHP Fatal error: Uncaught Error: Call to a member function

    Sounds like he updated one of the files in includes/templates/ntobs20/common to create a Mobile_Detect object.
    You can see this in

    html_header.php
    main_template_vars.php

    in includes/templates/responsive_classic/common
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Jan 2007
    Location
    Illinois, USA
    Posts
    312
    Plugin Contributions
    0

    Default Re: BLANK MY ACCOUNT: PHP Fatal error: Uncaught Error: Call to a member function

    The file failed to upload when I did the upgrade to 1.5.7c -- as soon as I dropped it in, it resolved.
    NTO: building a better network thru collaboration
    www.needtoorder.com | www.coffeewitheinstein.com

 

 

Similar Threads

  1. Replies: 14
    Last Post: 2 Jan 2024, 08:32 PM
  2. v157 Fatal error: Call to a member function ec_step1() on null in /ipn_main_handler.php:75
    By noppie in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 25 Feb 2021, 04:49 AM
  3. v155 Call to a member function get_template_part() on null
    By jeking in forum General Questions
    Replies: 3
    Last Post: 14 Dec 2020, 02:55 AM
  4. v156 Call to a member function format() on null
    By jeking in forum Upgrading to 1.5.x
    Replies: 15
    Last Post: 8 Feb 2019, 08:05 PM
  5. v155 PHP Fatal error: Call to a member function isMobile() on null
    By asdco in forum Basic Configuration
    Replies: 5
    Last Post: 12 Oct 2018, 11:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR