Snippets

Undefined offset: 110 in /html/joomla/plugins/system/sn​ippets/src/Replace.php on line 177

5 months 2 weeks ago #93749

Johannes Nicknig's Avatar Johannes Nicknig

Using Snippets in an Article getting this Error Messages.

Undefined offset: 110 in /html/joomla/plugins/system/snippets/src/Replace.php on line 177
and same with other Snippets and different ID´s
Some Snippets have an Number as an ID.
Also i got an interesting Example:

Got 2 Snippets:
ID=1 with Snippet_ID=110 and ID=5 with Snippet_ID = 1 -> On the Page if i include the Snippet with the Snippet_ID=1(ID=5) it appears the Snippet with the ID = 1 and not the one i called(Snippet_ID=1)
I changed the Snippet with the Snippet_ID = 1 into a name(not number), now this one works fine. But before i updated this Plugin the last 2 versions, it works all fine.

2nd Error Message is:
array_merge(): Expected parameter 1 to be an array, null given in /html/joomla/plugins/system/snippets/src/Replace.php on line 177

5 months 2 weeks ago #93752

Peter van Westen's Avatar Peter van Westen Admin

Please try the latest development version from:
www.regularlabs.com/development-releases

5 months 2 weeks ago #93756

Johannes Nicknig's Avatar Johannes Nicknig

Thanks works fine 🙂
Great Support!

5 months 2 weeks ago #93757

Peter van Westen's Avatar Peter van Westen Admin

Ok, great!
The fix will be included in the next release.