[ixpmanager] artisan rir:generate-object throws ksort() error

Yann Robin yann at islandbridgenetworks.ie
Mon Mar 4 07:39:35 GMT 2019


Hello,

Yes can you please open a github issue ?

Thanks

Leon Meßner wrote:
>
> 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
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: 
> https://www.inex.ie/mailman/listinfo/ixpmanager
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20190304/c43e24e1/attachment.html>


More information about the ixpmanager mailing list