laravel-onesignal icon indicating copy to clipboard operation
laravel-onesignal copied to clipboard

call to undefined function tap

Open manojrammurthy opened this issue 6 years ago • 5 comments

Hi i have integrated your library in october cms plugin and it shows Call to undefined function Berkayk\OneSignal\tap() on testing this is generated when called via sendnotofications method any reason to for this and how to solve it

manojrammurthy avatar Oct 31 '18 10:10 manojrammurthy

Same issue over here. Using laravel 5.1 and running php 7.1 on a local MAMP.

moutonpieter avatar Nov 12 '18 13:11 moutonpieter

Ok, weird. I changed nothing and right now it works...

moutonpieter avatar Nov 14 '18 19:11 moutonpieter

i was not able to figure it out so doing it via rest api calls directly

manojrammurthy avatar Nov 17 '18 07:11 manojrammurthy

Did you solve it?

jerearaujo03 avatar Dec 20 '18 12:12 jerearaujo03

It looks like tap() helper function is implemented from Laravel v5.5, that means this library is not compatible with versions below 5.5

niklaz avatar Jun 07 '19 11:06 niklaz