Page 15 of 15 FirstFirst ... 5131415
Results 141 to 143 of 143
  1. #141
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,691
    Plugin Contributions
    9

    Default Re: Category Drop Down SELECT Menu Sidebox Mod.

    Quote Originally Posted by earp View Post
    Not so fast, earp. The plugin does indeed work, but creates numerous error logs that say this:

    Code:
    [16-Apr-2023 18:46:16 America/Detroit] PHP Warning:  Undefined global variable $_SESSION in /home/thatearp/public_html/includes/extra_configures/enable_error_logging.php on line 84
    [16-Apr-2023 18:46:16 America/Detroit] PHP Warning:  Trying to access array offset on value of type null in /home/thatearp/public_html/includes/extra_configures/enable_error_logging.php on line 84
    [16-Apr-2023 18:46:16 America/Detroit] Request URI: /index.php?main_page=product_info&products_id=5, IP address: 52.167.144.73, Language id 
    #0 /home/thatearp/public_html/includes/modules/extra_functions.php(36): zen_debug_error_handler()
    #1 /home/thatearp/public_html/includes/modules/extra_functions.php(36): include()
    #2 /home/thatearp/public_html/includes/init_includes/init_general_funcs.php(38): include('/home/thatearp/...')
    #3 /home/thatearp/public_html/includes/autoload_func.php(40): require_once('/home/thatearp/...')
    #4 /home/thatearp/public_html/includes/application_top.php(237): require('/home/thatearp/...')
    #5 /home/thatearp/public_html/index.php(25): require('/home/thatearp/...')
    --> PHP Deprecated: Optional parameter $parent_id declared before required parameter $show_subcategories is implicitly treated as a required parameter in /home/thatearp/public_html/includes/functions/extra_functions/categories_select.php on line 11.
    If I switch to PHP 7.4, it still works and there are no errors, so I guess this non-programmer's question is: do I use PHP 7.4 (deprecated, I know)or switch back to PHP 8.1 and live with cleaning out the logs folder every day?
    change line 11 of home/thatearp/public_html/includes/functions/extra_functions/categories_select.php to:

    Code:
    function zen_get_categories_select($categories_array ='', $parent_id='', $parent_link = '', $indent = '', $show_subcategories = false) {
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  2. #142
    Join Date
    Dec 2020
    Location
    Ohio
    Posts
    30
    Plugin Contributions
    2

    Default Re: Category Drop Down SELECT Menu Sidebox Mod.

    Perfect. Thanks.

  3. #143
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,691
    Plugin Contributions
    9

    Default Re: Category Drop Down SELECT Menu Sidebox Mod.

    Quote Originally Posted by earp View Post
    Perfect. Thanks.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 
Page 15 of 15 FirstFirst ... 5131415

Similar Threads

  1. Select an accessory drop-down menu
    By DML73 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 24 Nov 2013, 06:40 PM
  2. How do I change the music genre select sidebar to use a drop down menu???
    By vicariousk in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Apr 2011, 10:04 PM
  3. Adding a drop down menu to a sidebox
    By BigNath in forum Basic Configuration
    Replies: 2
    Last Post: 17 Jul 2008, 06:15 PM
  4. Mod CC month drop down menu?
    By re_active in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 9 Sep 2006, 08:21 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