-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing kills my site #7
Comments
I cloned the site, uninstalled (old) fullcalendar, installed the new fullcalendar-views (& dependencies). |
Ooops, right, I could confirm that. But I don't understand what happens. The problem arises in this function of fullcalendar (legacy):
A quick trick to get the site working again is to insert a No clue, why display_handler is NULL at that point. |
And there's also:
@laryn any clue, what's going on there? The style plugins have different names, so that can't be the cause. |
OMG... Fullcalendar legacy implements hook_views_query_alter. Now a module fullcalendar_views exists, so this hook gets interpreted as hook_query_alter, which is a complete different one. $view doesn't exist there. I might be necessary to completely rename this module here, to prevent further conflicts. On the other hand, fullcalendar legacy could catch all problems with a little isset(). I'll try that, too. |
We do, though, not need both. |
I wouldn't know how. The module isn't installed yet, so it can't execute any code, also no warnings.
Too late. The site seems to break immediately when trying to install fullcalendar_views, already in the "confirm" step. Not sure if it's possible to catch anything in that step. So I'm waiting for some feedback by @laryn, if he wants to do a |
A warning in the 'readme'? |
Sure, that's the first step: https://github.com/backdrop-contrib/fullcalendar_views#known-issues |
@laryn is our hero - he merged the isset() PR! |
I also renamed the other one (not the namespace but the label):
|
Very good |
After (attempt to) install I get:
Call to a member function get_option() on null
and site is dead.
There must be a conflict with something. Fullcalendar - the 'old' one?
I will investigate further, but for now I will restore my site from backup.
This is not my test site, but a live one unfortunately.
The text was updated successfully, but these errors were encountered: