Title: Fatal Error &amp; memchached
Last modified: October 16, 2019

---

# Fatal Error & memchached

 *  Resolved [stoffpalast](https://wordpress.org/support/users/stoffpalast/)
 * (@stoffpalast)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-memchached/)
 * Hallo,
    ich habe folgendes Problem: sobald ich Memchached aktiviere, bekomme 
   ich eine Fehlermeldung bezüglich des PlugIns:
 * Fatal error: Uncaught Error:
    Call to a member function get_product_skus() on
   null in /home/meinverzeichnis/public_html/wp-content/plugins/woocommerce-germanized/
   templates/trusted-shops/product-widget.php:16
 * Ich habe Germanized und Germanized Pro am Laufen.
    Wir arbeiten mit Trusted Shops
   und haben das über das PlugIn konfiguriert. Gehosted wird bei SiteGround.
 * Gruß
    Oliver
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-memchached%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [vendidero](https://wordpress.org/support/users/vendidero/)
 * (@vendidero)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-memchached/#post-12039503)
 * Hi Oliver,
 * ich denke, dass das Problem daran liegt, dass wir in diesem Fall mit $GLOBALS
   arbeiten, da wir hier ein WooCommerce Template überschreiben müssen um das Feature
   zu aktivieren. Du kannst mal folgende Änderung in der Datei:
 * /home/meinverzeichnis/public_html/wp-content/plugins/woocommerce-germanized/templates/
   trusted-shops/product-widget.php
 * Vornehmen. Zeile:
    `$plugin = isset( $plugin ) ? $plugin : $GLOBALS['plugin'];`
 * ersetzen durch:
 * `$plugin = isset( $plugin ) ? $plugin : WC_trusted_shops()->trusted_shops;`
 * Ich werde sehen, dass wir die Änderung dann auch in das nächste Update einspielen.
 * Grüße
 *  Thread Starter [stoffpalast](https://wordpress.org/support/users/stoffpalast/)
 * (@stoffpalast)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-memchached/#post-12039723)
 * Hi,
    ich habe es ausprobiert, da sagt er dann leider direkt das Folgende:
 * Uncaught Error: Call to undefined function WC_trusted_shops() in /home/meinverzeichnis/
   public_html/wp-content/plugins/woocommerce-germanized/templates/trusted-shops/
   product-widget.php on line 14
 *  Plugin Author [vendidero](https://wordpress.org/support/users/vendidero/)
 * (@vendidero)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-memchached/#post-12042027)
 * Hi,
 * ja, das stimmt wohl – in der nächsten Major-Version von Germanized wird das möglich
   sein. Aktuell müsstest du stattdessen folgendermaßen aufrufen:
 * `$plugin = isset( $plugin ) ? $plugin : WC_germanized()->trusted_shops;`
 * Grüße
 *  Thread Starter [stoffpalast](https://wordpress.org/support/users/stoffpalast/)
 * (@stoffpalast)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-memchached/#post-12042051)
 * Ja sauber, funzt!
 *  Plugin Author [vendidero](https://wordpress.org/support/users/vendidero/)
 * (@vendidero)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-memchached/#post-12042098)
 * Hi,
 * okay, gut, dann werde ich das entsprechend in das nächste Update übernehmen. 
   Danke für die Meldung.
 * Grüße

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

The topic ‘Fatal Error & memchached’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [vendidero](https://wordpress.org/support/users/vendidero/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-memchached/#post-12042098)
 * Status: resolved