There are a couple of things I don't fully understand in your infobox code, see below, but there are also 2 missing right curly brackets. Maybe that fixes everything. Since the template is protected, I cannot test it.
There are missing right brackets where the red arrows point to.
Also:
There is no need for {{!}} at the positions "2".
I really don't know what the blue highlighted code at "1" is supposed to be for?
I don't fully understand that complicated "ifexist -> expr -> if -> ifeq -> explode" construct at position "3" and highlighted in green, but I think it's where the error is coming from.
Try replacing the above part with this:
<data source="P">
<default>{{#if: {{{P|}}} | [[Épisode {{{P}}}|Suivant →]] | {{#ifexpr:{{#len:{{PAGENAME}}}} < 13 | {{#ifexist:Épisode {{#expr:{{ #if: {{{#|}}} | {{{#}}} | {{#ifeq:{{#explode:{{PAGENAME}} || 0}} |Épisode| {{#explode: {{PAGENAME}} || 1 }}}} }} +1}} | [[Épisode {{#expr:{{#if:{{{#|}}} | {{{#}}} | {{#explode:{{PAGENAME}} || 1}}}} +1}}{{!}}Suivant →]] | Suivant →}} | [[Épisode {{{P}}}|Suivant →]]}}}}</default>
</data>
Maybe that solves it.