foreach
iterates the $parts
array by $index => $part
and at the last iteration step the $parts[$index + 1]
array element simply does not exist, hence the error.$parts[$index + 1][0]
check as far as $part
is neither equal to <
nor to [
.Thanks.pierredu wrote: Fri Apr 26, 2024 5:19 am Thanks for this pointer.
I'll try to understand what is going on.
Thanks for trying. Were you at least able to replicate the problem?pierredu wrote: Sat Apr 27, 2024 3:45 pm I Installed the magicogp extension on my test server but could not find any explanation for the misbehaviour you're describing.
I supposed that this extension and mine would subscribe to the same event and therefore get in conflict. In such a case, the solution is to step back in the subscription process. But this is not true.
I'll try to contact the author to see whether he has ideas about that.
Are you sure? Maybe I didn't describe it right. If you post a link with MagicOGP enabled, it should appear as a big banner across the page. If you then enable an autolink in that same forum, the banner will disappear and be replaced by an ordinary link.
You just enable it like any other extension, don't you?pierredu wrote: Sun Apr 28, 2024 9:22 am I understand what you told me. But I couldn't reproduce the problem, because I don't know what to do exactly to enable the magicOGP.
You don't understand how this extension works. It's not for embeddable media.