Replies: 1 comment
-
Ok - worked it out. There was a typo in my code above (an errant bracket), but I also added the following: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've just started out with this class, and I'm trying to implement RRule, however it is returning the following.
Fatal error: Uncaught Error: Class "RRule" not found
This is the exact code I am using:
$cal->event(Event::create($results[$i]['category'] . ' - ' . $results[$i]['title']) ->startsAt($dtStart) ->rrule(RRule::frequency(RecurrenceFrequency::daily())->times(10)) );
I tried loading the rlanvin/php-rrule code, but that doesn't look correct (get errors about RRule:frequency not found).
Can someone point me in the right direction?
Thanks,
Stuart
Beta Was this translation helpful? Give feedback.
All reactions