Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2361

Re: "Context does not exist" error

$
0
0
by Lilian hugues.  

Hi Patrick,

Many thanks for your response.

As you've recommanded, I've replaced " $enrolments = array( $enrolment ); " by " $enrolments = array( array($enrolment )); ".

it seems that I have a arry too...

<DEBUGINFO>enrolments =&gt; Valeur incorrecte de paramètre détectée: Missing required key in single structure: roleid</DEBUGINFO></EXCEPTION>
Array
(
    [enrolments] => Array
        (
            [0] => Array
                (
                    [0] => Array
                        (
                            [roleid] => 5
                            [userid] => 24
                            [courseid] => 69
                        )

                )

        )

)

I'm stil facing my issue sad

Viewing all articles
Browse latest Browse all 2361

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>