Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2010
    Posts
    265
    Plugin Contributions
    1

    Default Best sellers, and featured products not displaying on main page

    ZC 2.0
    PHP 8.1
    Using Bootstrap template
    redsautorehab.com/2.0/

    I just installed 2.0 in a separate directory, merged my previous database with the new one, and am in the process of making sure everything works before switching my main page over, and both the featured products, and the best sellers boxes do not display at all. I am not sure if filezilla missed a file, I messed something up, or this is a bug. Here is what's in the log file:

    [12-Apr-2024 08:59:07 America/Boise] Request URI: /2.0/index.php?main_page=index, IP address: ***********, Language id 1
    #0 /home1/redsauto/public_html/2.0/includes/functions/functions_prices.php(468): zen_debug_error_handler()
    #1 /home1/redsauto/public_html/2.0/includes/functions/functions_prices.php(186): zen_get_products_base_price()
    #2 /home1/redsauto/public_html/2.0/includes/modules/bootstrap/centerboxes/featured_products.php(69): zen_get_products_display_price()
    #3 /home1/redsauto/public_html/2.0/includes/templates/bootstrap/centerboxes/tpl_modules_featured_products.php(13): require('/home1/redsauto...')
    #4 /home1/redsauto/public_html/2.0/includes/templates/bootstrap/templates/tpl_index_default.php(56): require('/home1/redsauto...')
    #5 /home1/redsauto/public_html/2.0/includes/modules/pages/index/main_template_vars.php(232): require('/home1/redsauto...')
    #6 /home1/redsauto/public_html/2.0/includes/templates/bootstrap/common/tpl_main_page.php(216): require('/home1/redsauto...')
    #7 /home1/redsauto/public_html/2.0/index.php(94): require('/home1/redsauto...')
    --> PHP Warning: Undefined array key "products_price_w" in /home1/redsauto/public_html/2.0/includes/functions/functions_prices.php on line 468.

    [12-Apr-2024 08:59:07 America/Boise] PHP Fatal error: Uncaught TypeError: zen_get_retail_or_wholesale_price(): Argument #2 ($wholesale_pricing_tier) must be of type string, null given, called in /home1/redsauto/public_html/2.0/includes/functions/functions_prices.php on line 468 and defined in /home1/redsauto/public_html/2.0/includes/functions/functions_prices.php:1637
    Stack trace:
    #0 /home1/redsauto/public_html/2.0/includes/functions/functions_prices.php(468): zen_get_retail_or_wholesale_price('324.9500', NULL)
    #1 /home1/redsauto/public_html/2.0/includes/functions/functions_prices.php(186): zen_get_products_base_price('4')
    #2 /home1/redsauto/public_html/2.0/includes/modules/bootstrap/centerboxes/featured_products.php(69): zen_get_products_display_price('4')
    #3 /home1/redsauto/public_html/2.0/includes/templates/bootstrap/centerboxes/tpl_modules_featured_products.php(13): require('/home1/redsauto...')
    #4 /home1/redsauto/public_html/2.0/includes/templates/bootstrap/templates/tpl_index_default.php(56): require('/home1/redsauto...')
    #5 /home1/redsauto/public_html/2.0/includes/modules/pages/index/main_template_vars.php(232): require('/home1/redsauto...')
    #6 /home1/redsauto/public_html/2.0/includes/templates/bootstrap/common/tpl_main_page.php(216): require('/home1/redsauto...')
    #7 /home1/redsauto/public_html/2.0/index.php(94): require('/home1/redsauto...')
    #8 {main}
    thrown in /home1/redsauto/public_html/2.0/includes/functions/functions_prices.php on line 1637

    [12-Apr-2024 08:59:07 America/Boise] Request URI: /2.0/index.php?main_page=index, IP address: 71.223.48.160
    --> PHP Fatal error: Uncaught TypeError: zen_get_retail_or_wholesale_price(): Argument #2 ($wholesale_pricing_tier) must be of type string, null given, called in /home1/redsauto/public_html/2.0/includes/functions/functions_prices.php on line 468 and defined in /home1/redsauto/public_html/2.0/includes/functions/functions_prices.php:1637
    Stack trace:
    #0 /home1/redsauto/public_html/2.0/includes/functions/functions_prices.php(468): zen_get_retail_or_wholesale_price('324.9500', NULL)
    #1 /home1/redsauto/public_html/2.0/includes/functions/functions_prices.php(186): zen_get_products_base_price('4')
    #2 /home1/redsauto/public_html/2.0/includes/modules/bootstrap/centerboxes/featured_products.php(69): zen_get_products_display_price('4')
    #3 /home1/redsauto/public_html/2.0/includes/templates/bootstrap/centerboxes/tpl_modules_featured_products.php(13): require('/home1/redsauto...')
    #4 /home1/redsauto/public_html/2.0/includes/templates/bootstrap/templates/tpl_index_default.php(56): require('/home1/redsauto...')
    #5 /home1/redsauto/public_html/2.0/includes/modules/pages/index/main_template_vars.php(232): require('/home1/redsauto...')
    #6 /home1/redsauto/public_html/2.0/includes/templates/bootstrap/common/tpl_main_page.php(216): require('/home1/redsauto...')
    #7 /home1/redsauto/public_html/2.0/index.php(94): require('/home1/redsauto...')
    #8 {main}
    thrown in /home1/redsauto/public_html/2.0/includes/functions/functions_prices.php on line 1637.

    [12-Apr-2024 08:59:07 America/Boise] Request URI: /2.0/index.php?main_page=index, IP address: 71.223.48.160
    --> PHP Fatal error: Uncaught TypeError: zen_get_retail_or_wholesale_price(): Argument #2 ($wholesale_pricing_tier) must be of type string, null given, called in /home1/redsauto/public_html/2.0/includes/functions/functions_prices.php on line 468 and defined in /home1/redsauto/public_html/2.0/includes/functions/functions_prices.php:1637
    Stack trace:
    #0 /home1/redsauto/public_html/2.0/includes/functions/functions_prices.php(468): zen_get_retail_or_wholesale_price('324.9500', NULL)
    #1 /home1/redsauto/public_html/2.0/includes/functions/functions_prices.php(186): zen_get_products_base_price('4')
    #2 /home1/redsauto/public_html/2.0/includes/modules/bootstrap/centerboxes/featured_products.php(69): zen_get_products_display_price('4')
    #3 /home1/redsauto/public_html/2.0/includes/templates/bootstrap/centerboxes/tpl_modules_featured_products.php(13): require('/home1/redsauto...')
    #4 /home1/redsauto/public_html/2.0/includes/templates/bootstrap/templates/tpl_index_default.php(56): require('/home1/redsauto...')
    #5 /home1/redsauto/public_html/2.0/includes/modules/pages/index/main_template_vars.php(232): require('/home1/redsauto...')
    #6 /home1/redsauto/public_html/2.0/includes/templates/bootstrap/common/tpl_main_page.php(216): require('/home1/redsauto...')
    #7 /home1/redsauto/public_html/2.0/index.php(94): require('/home1/redsauto...')
    #8 {main}
    thrown in /home1/redsauto/public_html/2.0/includes/functions/functions_prices.php on line 1637.

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,694
    Plugin Contributions
    9

    Default Re: Best sellers, and featured products not displaying on main page

    filezilla never misses anything. it only does what you tell it.

    v2.0.0 is well vetted, and a gross bug like this would have been caught. less gross bugs are no doubt out there.

    from the looks of it, the database has not been properly updated.

    i would look to update the database again.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Apr 2010
    Posts
    265
    Plugin Contributions
    1

    Default Re: Best sellers, and featured products not displaying on main page

    That was it. Ran the 2.0 sql, and it fixed that issue.

  4. #4
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Best sellers, and featured products not displaying on main page

    Missed something in the posting information requested by the posting tips. This may or may not be the full solution. From what version was the store being upgraded? If from 1.5.8, then yes only the 2.0.0 upgrade script was needed, but when going from major version to major version the zc_install process is highly advised.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v153 Intelligent All, Featured, Best Sellers, New, and Specials Links
    By mikeel100 in forum General Questions
    Replies: 1
    Last Post: 24 Nov 2015, 08:46 PM
  2. Replies: 0
    Last Post: 5 Aug 2010, 10:44 AM
  3. Featured Products and Best Sellers on EZ Pages
    By Nick1973 in forum Basic Configuration
    Replies: 0
    Last Post: 4 Aug 2010, 09:06 PM
  4. Best sellers and Featured Products
    By SteveDuncan in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Jan 2010, 06:10 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