[ixpmanager] artisan rir:generate-object throws ksort() error
Leon Meßner
l.messner at physik.tu-berlin.de
Sun Mar 3 11:31:01 GMT 2019
Hi,
running IXPM v4.9.2 i get the following error when generating any
template in the ${IXPROOT}/resources/views/api/v4/rir/ path:
# ./artisan rir:generate-object autnum
In Generator.php line 281:
ksort() expects parameter 1 to be array, null given
Lines around 281 of ${IXPROOT}/app/Tasks/Rir/Generator.php are:
280
281 ksort( $rsclients[ 'clients' ], SORT_NUMERIC );
282
283 return $rsclients;
284 }
When commenting line 281, output of './artisan rir:generate-object
autnum' seems reasonable (and sorted by ASN).
Has anyone encountered this error? I can open a github issue, if this is
of help and provide more output.
Regards,
Leon
More information about the ixpmanager
mailing list