Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Error when updating metadata on events with no instances #11

Open
edtjones opened this issue Jan 25, 2016 · 1 comment
Open

Error when updating metadata on events with no instances #11

edtjones opened this issue Jan 25, 2016 · 1 comment
Assignees

Comments

@edtjones
Copy link
Member

If you hit the /update_metadata endpoint for an event which doesn't have instances, you get the following error:

Notice: Undefined offset: 0 in /srv/www/rooftop-cms/public/web/app/plugins/rooftop-events/public/class-rooftop-events-public.php on line 257
\n
\nNotice: Trying to get property of non-object in /srv/www/rooftop-cms/public/web/app/plugins/rooftop-events/public/class-rooftop-events-public.php on line 260
\n
\nFatal error: Call to a member function format() on a non-object in /srv/www/rooftop-cms/public/web/app/plugins/rooftop-events/public/class-rooftop-events-public.php on line 260

@edtjones
Copy link
Member Author

not urgent - can work around

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants