Title: Error ContainerInterface funtion
Last modified: September 3, 2020

---

# Error ContainerInterface funtion

 *  Resolved [dogdaysofsummer](https://wordpress.org/support/users/dogdaysofsummer/)
 * (@dogdaysofsummer)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-containerinterface-funtion/)
 * Hy,
 * I am having trouble with the redirection of one of our subdomains. [http://www.dogdaysofsummer.at](http://www.dogdaysofsummer.at)
   should be redirected to shop.dogdaysofsummer.at, however there is always an error
   coming up that says:
 * Parse error: syntax error, unexpected ‘:’, expecting ‘{‘ in /data/web/e43400/
   html/apps/wordpress-70982/wp-content/plugins/woocommerce/woocommerce.php on line
   56
 * On line 56 in the sheet it says:
 * function wc_get_container() : \Psr\Container\ContainerInterface {
    return $GLOBALS[‘
   wc_container’]; }
 * can may somebody help us what is the problem here?
 * all the best
    Clarissa
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-containerinterface-funtion%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [mother.of.code](https://wordpress.org/support/users/imazed/)
 * (@imazed)
 * The Mother of Code
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-containerinterface-funtion/#post-13356162)
 * Hey Clarissa,
 * That sounds like you are running into a conflict.
      The best way to determine
   this is to:
    - 
    - Disable all plugins except for WooCommerce
    - Repeat the action that is causing the problem
 * This is best done on a staging site. That’s a copy of your live site, so you 
   can test things out without making changes to your actual site. Some hosting 
   companies offer a staging site service within their hosting plans. If yours does
   not, there is a great free plugin that will allow you to build a complete staging
   site with a few button clicks: [https://wordpress.org/plugins/wp-staging](https://wordpress.org/plugins/wp-staging).
 * 
 *  [tohumankind](https://wordpress.org/support/users/tohumankind/)
 * (@tohumankind)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-containerinterface-funtion/#post-13357291)
 * I’m actually having the same problem, but I don’t have access to the Dashboard
   to install plugins? Is there a way to create a staging site using the plugin 
   without access to the Dashboard?
 *  Plugin Support [Damianne P (a11n)](https://wordpress.org/support/users/drwpcom/)
 * (@drwpcom)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/error-containerinterface-funtion/#post-13557396)
 * Hi [@dogdaysofsummer](https://wordpress.org/support/users/dogdaysofsummer/). 
   Did you get a chance to do some conflict testing as my colleague recommended 
   above? Would you mind sharing what the issue was? I am now redirected to [https://shop.dogdaysofsummer.at/](https://shop.dogdaysofsummer.at/)
   when I go to [http://www.dogdaysofsummer.at/](http://www.dogdaysofsummer.at/).
 * [@tohumankind](https://wordpress.org/support/users/tohumankind/) I’m afraid it’s
   not possible to use the WP Staging extension if you don’t have access to the 
   Dashboard.
 *  Plugin Support [Damianne P (a11n)](https://wordpress.org/support/users/drwpcom/)
 * (@drwpcom)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/error-containerinterface-funtion/#post-13587012)
 * We haven’t heard from you in a while so I’m going to go ahead and mark this thread
   as resolved. If you still need help with this issue or have any other questions
   about the WooCommerce plugin, please start a new thread.

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

The topic ‘Error ContainerInterface funtion’ is closed to new replies.

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

## Tags

 * [redirect](https://wordpress.org/support/topic-tag/redirect/)

 * 4 replies
 * 4 participants
 * Last reply from: [Damianne P (a11n)](https://wordpress.org/support/users/drwpcom/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/error-containerinterface-funtion/#post-13587012)
 * Status: resolved