Hi
installing wordplay hosted payments 2.2 on 2.3.4.1 CE bootstrap 4 with php - 7.2.14
There are a couple of depreciated PHP elements in includes/modules/payment/rbsworldpay_hosted.php
The first being line 16 -
Function rbsworldpay_hosted {
I changed to
function __construct() {
and that solved that one, but there is also a "Each" issue
line number 153
while (list(, $value) = each($order_total_modules->modules)) {
I have messed about with it but cannot get it to work, i know it has to be swapped around and be "foreach" but my amateur attempts are not working in this case
my last attempt is
foreach($order_total_modules->modules as (array $value)) {
anyone with a bit more knowledge of PHP be able to correct it for me and the next person who will undoubtedly have the same issue
Thank you for looking
David