Title: Multiple errors
Last modified: August 22, 2016

---

# Multiple errors

 *  Resolved [topsolutions](https://wordpress.org/support/users/topsolutions/)
 * (@topsolutions)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/multiple-errors-4/)
 * Hi,
 * When activating your plugin in the last WP (4.0) and last woocommerce (2.2.7)
   there’s a lot of errors in the admin interface and site frontend :
    Deprecated:
   Assigning the return value of new by reference is deprecated in /wp-content/plugins/
   multibanco-ifthen-software-gateway-for-woocommerce/multibanco_ifthen_for_woocommerce.
   php on line 241
 * Deprecated: Assigning the return value of new by reference is deprecated in /
   wp-content/plugins/multibanco-ifthen-software-gateway-for-woocommerce/multibanco_ifthen_for_woocommerce.
   php on line 408
 * Deprecated: Assigning the return value of new by reference is deprecated in /
   wp-content/plugins/multibanco-ifthen-software-gateway-for-woocommerce/multibanco_ifthen_for_woocommerce.
   php on line 555
 * Deprecated: Assigning the return value of new by reference is deprecated in /
   wp-content/plugins/multibanco-ifthen-software-gateway-for-woocommerce/multibanco_ifthen_for_woocommerce.
   php on line 618
 * Can you please correct these errors ?
 * Best regards,
    Adriano
 * [https://wordpress.org/plugins/multibanco-ifthen-software-gateway-for-woocommerce/](https://wordpress.org/plugins/multibanco-ifthen-software-gateway-for-woocommerce/)

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

 *  Plugin Author [Marco Almeida | Webdados](https://wordpress.org/support/users/webdados/)
 * (@webdados)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/multiple-errors-4/#post-5430338)
 * Hi there “topsolutions”,
 * We’ve been working on a new website for a client in a server that also has “Deprecated”
   errors visible and fixed this issue.
 * We’re just checking 1 or 2 things before releasing a new version.
 * Thanks for your feedback.
 *  Thread Starter [topsolutions](https://wordpress.org/support/users/topsolutions/)
 * (@topsolutions)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/multiple-errors-4/#post-5430340)
 * ok, thanks.
 * Looking forward for the new release.
 * Regards,
    Adriano
 *  Plugin Author [Marco Almeida | Webdados](https://wordpress.org/support/users/webdados/)
 * (@webdados)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/multiple-errors-4/#post-5430356)
 * Please install 1.5 that fixes this issue.
 *  [Ivo Barbosa](https://wordpress.org/support/users/institutocriap/)
 * (@institutocriap)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/multiple-errors-4/#post-5430494)
 * Bom dia,
    Uso a versão 1.5 do plugin e tenho o modo debug ativo e estou sempre
   a receber Avisos.
 * Notice: Woocommerce->logger não é usado desde a versão 2.1! Use new WC_Logger()
   em substituição. in /wp-includes/functions.php on line 3201
    Pelo consegui apurar,
   usam essa função no ficheiro multibanco_ifthen_for_woocommerce.php na linha 105.“
   if ($this->debug) $this->log = $woocommerce->logger();”. Uso a versão 4.0 do 
   WordPress e a loja WooCommerce versão 2.2.8. Podem por favor resolver o problema?
   Obrigado. Ivo Barbosa
 *  [Ivo Barbosa](https://wordpress.org/support/users/institutocriap/)
 * (@institutocriap)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/multiple-errors-4/#post-5430495)
 * Penso que a solução seja alterar a linha que dá erro
    de “if ($this->debug) $
   this->log = $woocommerce->logger();” para “if ($this->debug) $this->log = new
   WC_Logger();”
 *  Plugin Author [Marco Almeida | Webdados](https://wordpress.org/support/users/webdados/)
 * (@webdados)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/multiple-errors-4/#post-5430542)
 * Resolvido na versão 1.5.1
 * Obrigado

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

The topic ‘Multiple errors’ is closed to new replies.

 * ![](https://ps.w.org/multibanco-ifthen-software-gateway-for-woocommerce/assets/
   icon-256x256.gif?rev=3439612)
 * [Multibanco, MB WAY, Credit card, Apple Pay, Google Pay, Payshop, Cofidis Pay, and PIX (ifthenpay) for WooCommerce](https://wordpress.org/plugins/multibanco-ifthen-software-gateway-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multibanco-ifthen-software-gateway-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multibanco-ifthen-software-gateway-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/multibanco-ifthen-software-gateway-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multibanco-ifthen-software-gateway-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multibanco-ifthen-software-gateway-for-woocommerce/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Marco Almeida | Webdados](https://wordpress.org/support/users/webdados/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/multiple-errors-4/#post-5430542)
 * Status: resolved