• Resolved wpblogwriter

    (@wpblogwriter)


    Hello,

    It looks like the plugin in the current version leads an issue on the checkout page. The checkout block ist displayed 3 or 4 times on top of each other.

    When disabling only Germanized, everything looks fine.

    When disabling only Price by Country, the error is still there..

    Error with all plugins on:

    2024/05/28 16:13:12 [error] 878901#878901: *42 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_type() on bool in /var/www/wp-content/plugins/price-by-country/includes/frontend/class-frontend.php:115
    Stack trace: 0 /var/www/wp-content/plugins/price-by-country/includes/frontend/class-frontend.php(81): CBP_Country_Frontend->get_price_by_category() 1 /var/www/wp-includes/class-wp-hook.php(324): CBP_Country_Frontend->custom_product_price() 2 /var/www/wp-includes/plugin.php(205): WP_Hook->apply_filters() 3 /var/www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(884): apply_filters() 4 /var/www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(270): WC_Data->get_prop() 5 /var/www/wp-content/plugins/woocommerce-germanized/includes/abstracts/abstract-wc-gzd-product” while reading response header from upstream, client: 37.24.244.89, server: similimum.de, request: “GET /checkout/?et_fb=1&PageSpeed=off HTTP/2.0”, upstream: “fastcgi://unix:/var/lib/php7.4-fpm/web1485.sock:”, host: “www.similimum.de”, referrer: “https://www.similimum.de/wp-admin/post.php?post=755&action=edit”

    Disabled Price by Country: no error in php Log, but the error asa described, the checkout block is displayed multiple times.

    Website is using DIVI as page builder. All core, theme and plugins are up to date.

    Best regards,
    WBW

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author vendidero

    (@vendidero)

    Hi there,

    are the 2 issues described here independent from each other? Seems like one issue (checkout blocks) is related to your Divi theme and the other (error message) is related to your Price by Country plugin? Is that right? Could you please test that in an isolated way, e.g. disable all plugins (but Woo + Germanized) and try again? Does the checkout block issue disappear?

    Regarding the error message:

    I can’t find any relation with Germanized here – seems like the WPC plugin does not check whether the product really exists before using it’s methods..

    PS: Could you please specify which price per country plugin you are currently using?

    Best,
    Dennis

    • This reply was modified 6 months ago by vendidero.
    Thread Starter wpblogwriter

    (@wpblogwriter)

    Hello Dennis,

    I have manually downgraded Germanized for WooCommerce and it worked fine after that.

    The Price by Country plugin is the one you can also find in the WooCommerce store:
    https://woocommerce.com/de/products/price-by-country/

    Sorry I am not trying out all the other options but I would need a clone as the website is a live commercial site and all this testing takes quite some time.

    Via private messaging I may grant you an access to the backend so you can have a look at the site.

    Best regards,
    WBW

    Plugin Author vendidero

    (@vendidero)

    I was able to reproduce the Divi issue and fixed here: https://github.com/vendidero/woocommerce-germanized/commit/6af0ddfe1b7926801f5dee5951def33109617e91

    This fix will be included within our next update.

    Regarding Price by Country: I do not have access to this particular plugin so testing it locally does not work – you may contact the Woo customer support though.

    Best,
    Dennis

    Thread Starter wpblogwriter

    (@wpblogwriter)

    Hi Dennis,

    Unfortunately, the error with the mulitple checkout blocks still occurs on the checkout page, after upgrading from 3.16.5 to .3.16.7.

    I have reverted now directly to the backup before upgrading, so the error cannot be seen live.

    There is no error in the logs…

    Best regards,
    WBW

    Plugin Author vendidero

    (@vendidero)

    Hi there,

    this fix is not included within our latest version (currently only available via the commit in GitHub) – it will be part of our next update (to be released) though. As I said:

    This fix will be included within our next update.

    ??

    Best,
    Dennis

    Thread Starter wpblogwriter

    (@wpblogwriter)

    Ah, OK I thought 3.16.7 was already the next (as I reported on 3.16.6) ??
    Thank you for your quick replies
    WBW

    Thread Starter wpblogwriter

    (@wpblogwriter)

    Just to confirm that the issue is fixed!!

    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.