• Resolved boxity

    (@boxity)


    Hello,
    I want to report that the extention as of version 1.7 is not compatible with php 8.
    Shipping label generation will not work because of each() method that was removed from php 8.
    it Is used in lib/FDPI/fdpi.php

        
    while (list($k, $v) = each($value[1])) {
                        $this->_straightOut($k . ' ');
                        $this->_writeValue($v);
                    }
    

    For people looking for a workaround, replace it with a foreach()

        
    foreach($value[1] as $k=>$v) {
                        $this->_straightOut($k . ' ');
                        $this->_writeValue($v);
                    }
    
  • The topic ‘Php 8 incompatibility’ is closed to new replies.