Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2007
    Location
    Texas, USA
    Posts
    1,400
    Plugin Contributions
    1

    red flag myDEBUG file created from responsive classic template (stock)

    Zen Cart 1.5.6a

    Database Patch Level: 1.5.6

    PHP Version: 7.2.17 (Zend: 3.2.0)

    modules
    backup_mysql
    encrypted_master_password
    keep_cart
    numinix-google-analytics
    remember me
    usu-3.0


    [22-Apr-2019 12:01:12 America/Chicago] Request URI: /XXX-p-5.html, IP address: 66.249.XX.XX
    #1 sizeof() called at [/home/shrimps/public_html/includes/templates/responsive_classic/templates/tpl_modules_mobile_menu.php:129]
    #2 require(/home/shrimps/public_html/includes/templates/responsive_classic/templates/tpl_modules_mobile_menu.php) called at [/home/shrimps/public_html/includes/templates/responsive_classic/common/tpl_main_page.php:258]
    #3 require(/home/shrimps/public_html/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/home/shrimps/public_html/index.php:97]
    --> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/shrimps/public_html/includes/templates/responsive_classic/templates/tpl_modules_mobile_menu.php on line 129.


    Thank you!

  2. #2
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: myDEBUG file created from responsive classic template (stock)

    change line 129 of /home/shrimps/public_html/includes/templates/responsive_classic/templates/tpl_modules_mobile_menu.php to
    PHP Code:
    if (!empty($var_linksList)) { 
    ps, I made a PR on github to fix this
    https://github.com/zencart/zencart/pull/2285
    Last edited by Design75; 22 Apr 2019 at 06:40 PM.

  3. #3
    Join Date
    Jun 2007
    Location
    Texas, USA
    Posts
    1,400
    Plugin Contributions
    1

    Default Re: myDEBUG file created from responsive classic template (stock)

    Thank you!

 

 

Similar Threads

  1. v155 Method to show only subcategories in mobile menu Responsive Classic Stock 1.55f
    By twitchtoo in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Oct 2020, 08:40 PM
  2. v155 ? on Customizing Responsive-Classic template v1.5.5f
    By byakudan in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 21 Oct 2018, 10:34 AM
  3. menus for responsive classic template
    By karine in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 27 Jun 2018, 09:26 PM
  4. v155 Classic Responsive Template - file permissions
    By karine in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Jun 2018, 03:54 PM
  5. v151 Responsive Classic Contemporary Silver Template for 1.5.x
    By rbarbour in forum Addon Templates
    Replies: 28
    Last Post: 19 Feb 2016, 04:04 PM

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