Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Fixing #2610934: Call to undefined function Drupal\calendar\Plugin\views\style\l() creates urls like http://d8.local/calendar-created/week/2015-W45, however this page currently throws an error.
NOTICE: PHP message: Uncaught PHP Exception Drupal\Core\Database\DatabaseExceptionWrapper: "Exception in Calendar[calendar]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'node_field_data.created_calendar' in 'where clause': SELECT node_field_data.created AS node_field_data_created, node_field_data.nid AS nid"
Comment | File | Size | Author |
---|---|---|---|
#3 | 2610942-3.patch | 586 bytes | geertvd |
Comments
Comment #2
geertvd CreditAttribution: geertvd at XIO commentedComment #3
geertvd CreditAttribution: geertvd at XIO commentedThis fixes the fatal already, however nothing is displayed yet since the query looks like this now:
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous at XIO commentedHmm. The format is the one the created field uses, whereas we want it to be '%Y-W%U' here. This will need some investigation.
Comment #5
tedbowHmmm. When applied the patch from #3 I get this error.
I was assuming it because the #3 fixes a problem but it gets further and hits another one. That wouldn't explain why @pjonckiere and I are getting separate problems.
I made separate issue before I realized I had this patch applied. #2614360: Fatal error class not date_sql_handler
I will leave issue because it is a separate problem.
Comment #6
geertvd CreditAttribution: geertvd at XIO commentedfyi, the wrong query appears when we put these lines in comment:
We where looking into this briefly but forgot to mention that in this issue.
Comment #8
tedbowI am committed #3 because it fixes the fatal error. I think we will need another issue for arguments.