Title: Concatenation bug in php8
Last modified: September 29, 2022

---

# Concatenation bug in php8

 *  [kfwebmaster](https://wordpress.org/support/users/kfwebmaster/)
 * (@kfwebmaster)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/concatenation-bug-in-php8/)
 * We found a bug when upgrading from PHP 7 to PHP 8.
 * The bug is on `woo-vipps\WC_Gateway_Vipps.class.php:1684`
    `$msg = $msg + __("-
   order does not need processing", 'woo-vipps');`
 * The plus operator is used for concatenating strings, it should be a period.
 * PHP 8 is stricter about this and caused our site to crash. Everything worked 
   fine when we change the plus to a period.
 * Please fix this 🙂

Viewing 1 replies (of 1 total)

 *  Plugin Author [Iver Odin Kvello](https://wordpress.org/support/users/iverok/)
 * (@iverok)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/concatenation-bug-in-php8/#post-16054411)
 * You are absolutely right; sorry! Version 1.11.2 is being uploaded right now. 
   Thank you for debugging and reporting.

Viewing 1 replies (of 1 total)

The topic ‘Concatenation bug in php8’ is closed to new replies.

 * ![](https://ps.w.org/woo-vipps/assets/icon-256x256.png?rev=3025665)
 * [Pay with Vipps and MobilePay for WooCommerce](https://wordpress.org/plugins/woo-vipps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-vipps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-vipps/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-vipps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-vipps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-vipps/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Iver Odin Kvello](https://wordpress.org/support/users/iverok/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/concatenation-bug-in-php8/#post-16054411)
 * Status: not resolved