Title: Internal Server Error 500
Last modified: October 20, 2021

---

# Internal Server Error 500

 *  Resolved [mediaburg](https://wordpress.org/support/users/mediaburg/)
 * (@mediaburg)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/internal-server-error-500-39/)
 * Hi,
 * in Verbindung mit dem Plugin “WooCommerce Product Bundles” und einem Variablem
   Produkt kommt es zu einem Server Error 500 weil die Funktion in einen Loop reinläuft.
 * Datei: wp-content/plugins/woocommerce-germanized/includes/abstracts/abstract-
   wc-gzd-product.php
    Funktion: hide_shopmarks_due_to_missing_price
 * Code alt:
 *     ```
       if ( ! doing_action( 'woocommerce_get_price_html' ) ) {
         $price_html_checked = ( '' === $this->child->get_price_html() );
       }
       ```
   
 * Gefixt habe ich es mit einer weiteren Abfrage:
 *     ```
       if ( ! doing_action( 'woocommerce_get_price_html' ) && ! doing_action( 'woocommerce_bundled_item_price_html' ) ) {
         $price_html_checked = ( '' === $this->child->get_price_html() );
       }
       ```
   
 * Könnt ihr das bitte im Code fixen und in das nächste Release übernehmen?
 * Danke!

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [vendidero](https://wordpress.org/support/users/vendidero/)
 * (@vendidero)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/internal-server-error-500-39/#post-14991623)
 * Hi,
 * danke für deine Meldung. Das haben wir hier gefixt, du kannst es gern testen 
   und mir ggf. eine kurze Rückmeldung geben: [https://github.com/vendidero/woocommerce-germanized/commit/7944c27a3449ce11e26c52f789fb46e92e3a9a9e](https://github.com/vendidero/woocommerce-germanized/commit/7944c27a3449ce11e26c52f789fb46e92e3a9a9e)
 * Grüße
 *  Thread Starter [mediaburg](https://wordpress.org/support/users/mediaburg/)
 * (@mediaburg)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/internal-server-error-500-39/#post-14991967)
 * Hi,
 * mit der Version funktioniert es nun. Vielen Dank für den schnellen Fix!
 * Mir ist noch etwas anderes aufgefallen im Zusammenhang mit dem Bundle Plugin.
   Wenn ich einen Rabatt beim Bundle erstelle wird der Einheitspreis nicht berechnet:
 * Hier ein Beispielbild: [https://ibb.co/sHwPrbW](https://ibb.co/sHwPrbW)
 * Grüsse
 *  Plugin Author [vendidero](https://wordpress.org/support/users/vendidero/)
 * (@vendidero)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/internal-server-error-500-39/#post-14992006)
 * Hi,
 * hast du denn die automatische Berechnung für die Grundpreise aktiviert?
 * Grüße
 *  Thread Starter [mediaburg](https://wordpress.org/support/users/mediaburg/)
 * (@mediaburg)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/internal-server-error-500-39/#post-14992029)
 * Hi,
 * die automatische Berechnung vom Grundpreise gibt es ja nur in dem Pro Plugin 
   möglich.
 * Der Grundpreise wird bei einem Produkt richtig berechnet wenn ich im Produkt 
   den Angebotspreis setze… es wird daher richtig und automatisch berechnet. In 
   Verbindung mit dem Bundle funktioniert es aber nicht.
 * In dem Beispiel habe ich den Angebotspreis nicht gesetzt, sondern in dem Bundle
   Plugin für das Produkt “Unterprodukt 1” einen “Discount %” eingestellt.
 * Grüsse
 *  Plugin Author [vendidero](https://wordpress.org/support/users/vendidero/)
 * (@vendidero)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/internal-server-error-500-39/#post-14992036)
 * Hi,
 * > In dem Beispiel habe ich den Angebotspreis nicht gesetzt, sondern in dem Bundle
   > Plugin für das Produkt “Unterprodukt 1” einen “Discount %” eingestellt.
 * Hm, verstehe. Das ist vermutlich etwas komplexer, da hier eine Bundle-spezifische
   Berechnung erfolgt. Das werde ich mir mal genauer ansehen müssen.
 * Grüße
 *  Plugin Author [vendidero](https://wordpress.org/support/users/vendidero/)
 * (@vendidero)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/internal-server-error-500-39/#post-14992140)
 * Hi,
 * das haben wir hier gefixt: [https://github.com/vendidero/woocommerce-germanized/commit/3739c69d6e90a8c812e0173214e94480f5cf94d2](https://github.com/vendidero/woocommerce-germanized/commit/3739c69d6e90a8c812e0173214e94480f5cf94d2)
 * Grüße
 *  Thread Starter [mediaburg](https://wordpress.org/support/users/mediaburg/)
 * (@mediaburg)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/internal-server-error-500-39/#post-14992164)
 * Hi,
 * das funktioniert. Danke für den schnellen Fix!!
 * Grüsse
 *  Plugin Author [vendidero](https://wordpress.org/support/users/vendidero/)
 * (@vendidero)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/internal-server-error-500-39/#post-14992235)
 * Hi,
 * gern! Wir übernehmen das in das nächste Patch-Update.
 * Wenn du mit unserem Support und Germanized zufrieden bist, würden wir uns sehr
   über eine [Bewertung](https://wordpress.org/support/plugin/woocommerce-germanized/reviews/#new-post)
   freuen.
 * Grüße

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Internal Server Error 500’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-germanized/assets/icon.svg?rev=2377234)
 * [Germanized for WooCommerce](https://wordpress.org/plugins/woocommerce-germanized/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-germanized/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-germanized/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-germanized/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-germanized/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-germanized/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [vendidero](https://wordpress.org/support/users/vendidero/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/internal-server-error-500-39/#post-14992235)
 * Status: resolved