• Resolved RK

    (@rokask)


    Hi,

    For some reason, product pages deliver 505 errors. It worked fine before. I use Elementor Pro for single-product templates, however, even if I disable Elementor the problem persists. In fact, when I disable all plugins except Woo, the internal server error is gone, however, the website delivers only a top Nav bar and an empty white space where the product’s content should appear.

    Theme: Bimber 9.2.4, updated to the final release, the only outdated template:
    bimber/woocommerce/cart/cart.php?version?7.0.1?is out of date. The core version is 7.4.0

    The cart works fine though, it’s just the product pages.

    System Status:
    I can’t copy-paste it from Woo plugin to this post for some reason.

    Wp upload max sizes are over 700MB, PHP 8.0

    I am not comfortable sharing the website URL publicly. I can share it privately to someone from Woo team though.

    Thanks

    • This topic was modified 1 year, 6 months ago by RK.
    • This topic was modified 1 year, 6 months ago by RK.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @rokask ,

    Thanks for reaching out!

    I understand that you are encountering a 505 internal server error on your product page.

    Additionally, you mentioned that disabling all plugins except for WooCommerce resolves the 505 error however only a top nav bar and an empty white space appear where the product’s content should be, is this correct?

    I can’t copy-paste it from Woo plugin to this post for some reason.

    Since you are having difficulty sharing this directly in your response here, you can try to paste it via?https://gist.github.com/?and send the link here.

    Additionally, can you share a copy of any fatal error that may be found via WooCommerce?→?Status?→?Logs.

    Also, would you mind sharing a screenshot of both the error and the missing product content as you see it.

    Snipboard.io?can be used for easily sharing screenshots – please follow the instructions on that page, then paste the URL in your reply.

    Looking forward to your response!

    Thread Starter RK

    (@rokask)

    Hi Roxy,

    Here’s the status: https://gist.github.com/ssakcoR/215ec2f426273791b9c1a553bf466c42

    Yes, that is correct, the website delivers 505 it seems for product pages. I attach the screenshot when all plugins are active. I hid the logo and Navbar items (where the blue bg is) though. Link: https://snipboard.io/WXeRBV.jpg

    At this moment, I cannot disable all plugins to show you the empty white space and a visible nav bar when all plugins are OFF. It’s peak traffic time now, I don’t wanna disrupt the website, at this moment.

    The /shop/ works fine and displays all the products!

    You will find error log in the next comment.



    • This reply was modified 1 year, 6 months ago by RK.
    Thread Starter RK

    (@rokask)

    2023-05-07T19:00:58+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function Automattic\WooCommerce\Blocks\BlockTemplatesController::update_product_archive_title(), 1 passed in /public_html/wp-includes/class-wp-hook.php on line 308 and exactly 2 expected in /public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTemplatesController.php:643
    Stack trace:
    #0 /public_html/wp-includes/class-wp-hook.php(308): Automattic\WooCommerce\Blocks\BlockTemplatesController->update_product_archive_title('Products')
    #1 /public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('Products', Array)
    #2 /public_html/wp-content/themes/bimber/includes/front/lib/class-bimber-breadcrumbs.php(113): apply_filters('post_type_archi...', 'Products')
    #3 /public_html/wp-content/themes/bimber/includes/front/lib/class-bimber-breadcrumbs.php(395): Bimber_Breadcrumbs->get()
    #4 /public_html/wp-content/themes/bimber/includes/front/lib/class-bimber-breadcrumbs.php(451): Bimber_Breadcrumbs->capture()
    #5 /public_html/wp-content/themes/bimber/includes/post-template.php(1023): Bimber_Breadcrumbs->render()
    #6 /public_html/wp-content/themes/bimber/includes/plugins/woocommerce/woocommerce.php(545): bimber_render_breadcrumbs()
    #7 /public_html/wp-includes/class-wp-hook.php(308): bimber_wc_breadcrumbs('')
    #8 /public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #9 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #10 /public_html/wp-content/plugins/woocommerce/templates/content-single-product.php(27): do_action('woocommerce_bef...')
    #11 /public_html/wp-includes/template.php(785): require('/public_html/wp...')
    #12 /public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template('/public_html/wp...', false)
    #13 /public_html/wp-content/plugins/woocommerce/templates/single-product.php(37): wc_get_template_part('content', 'single-product')
    #14 /public_html/wp-includes/template-loader.php(106): include('/public_html/wp...')
    #15 /public_html/wp-blog-header.php(19): require_once('/public_html/wp...')
    #16 /public_html/index.php(17): require('/public_html/wp...')
    #17 {main}
    thrown in /public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTemplatesController.php on line 643
    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @rokask ,

    Thanks for sharing the above.

    In fact, when I disable all plugins except Woo, the internal server error is gone

    Since the issue is resolved when all plugins except WooCommerce are deactivated, you can enable your other plugins, one-by-one, checking after each, to determine which plugin is causing the 505 error on your site.

    Once you identify the culprit causing the 505 error, you’d need to reach out to the respective plugin developers for further help with this specific error.

    however, the website delivers only a top Nav bar and an empty white space where the product’s content should appear

    #2 /public_html/wp-content/themes/bimber/includes/front/lib/class-bimber-breadcrumbs.php(113): apply_filters('post_type_archi...', 'Products')
    #3 /public_html/wp-content/themes/bimber/includes/front/lib/class-bimber-breadcrumbs.php(395): Bimber_Breadcrumbs->get()
    #4 /public_html/wp-content/themes/bimber/includes/front/lib/class-bimber-breadcrumbs.php(451): Bimber_Breadcrumbs->capture()
    #5 /public_html/wp-content/themes/bimber/includes/post-template.php(1023): Bimber_Breadcrumbs->render()
    #6 /public_html/wp-content/themes/bimber/includes/plugins/woocommerce/woocommerce.php(545): bimber_render_breadcrumbs()

    It appears that your current theme is causing some errors, does switching your theme to a default theme such as Storefront resolve the nav bar and white space issue?

    If you do not want to test on your live site, I’d recommend cloning your site to a staging environment using the free WP Staging plugin and performing the tests described in this guide.

    Theme: Bimber 9.2.4, updated to the final release, the only outdated template:
    bimber/woocommerce/cart/cart.php version 7.0.1 is out of date. The core version is 7.4.0

    I understand that it is only the bimber/woocommerce/cart/cart.php that is outdated, however, this theme overrides the bimber/woocommerce/single-product templates which indicates that the issue is more than likely being caused by the Bimber theme.

    Cheers!

    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @rokask ,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – feel free to create a new topic  should you need any further help.

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Single Product Page Deliver 505 Server Error’ is closed to new replies.