MyCalendar

Month, Week, and List calendar for displaying events on your site.

Back to MyCalendar Support

Sam
Sam

Hi,

I am getting this error when trying to add a new event, "Class 'Recurr\Rule' not found" on line 298 of ~PATH\plugins\kurtjensen\mycalendar\models\Event.php"

Can you please have a look at this.

Kind Regards

KurtJensen
KurtJensen

Did you install this from market or from git?

It looks like the Recurr\Rule class was not installed by composer.

Sam
Sam

Yes, I installed from git

What should I do then?

Last updated

KurtJensen
KurtJensen

Can you try install from October Market instead? This will trigger the composer.json file to install the required dependencies. Just go into the updates section of your install and install plugin from there.

JeffGoldblum
JeffGoldblum

@Sam, this plugin has dependencies that it manages through composer. If you are installing directly from Git, then you will need to run composer update from your project root to pull in those dependencies. The marketplace does this for you as a part of the packaging process, so hence why it should work fine if you just download it from the Marketplace instead.

1-5 of 5