Solr rejected a search request because it names a field that the schema of your Opensolr Index does not define. The field is not declared with <field> and its name does not match any <dynamicField> pattern. Only that request fails, with HTTP 400. The data in your Opensolr Index is not affected.
What triggers the error
Any part of a search request that names a field: a field:value clause in q or fq, a facet.field, the qf or df of the query parser, or a function query. Solr looks the name up in the schema and answers with org.apache.solr.common.SolrException: undefined field: "FIELD_NAME" when it is not there. The name in the quotes is the exact field Solr could not find.
org.apache.solr.common.SolrException: undefined field: "event_date"
Check the dynamic field suffix
Most WordPress and Drupal integrations do not declare every field one by one. They index into dynamic fields, where the type comes from a suffix: *_dt for dates, *_s for strings, *_t for text, *_l for long numbers. A value indexed as event_date_dt is stored under that full name, so a query for event_date fails even though the values are in the index. Query the field with the same name, suffix included, that your application uses when it sends the documents.
<dynamicField name="*_dt" type="pdate" indexed="true" stored="true"/> <!-- works: fq=event_date_dt:[NOW TO *] --> <!-- fails: fq=event_date:[NOW TO *] -->
Find out whether the field exists
In the control panel of your Opensolr Index open Config Files and search schema.xml (managed-schema on some setups) for the field name and for the dynamicField patterns. You can also ask Solr directly. A defined field returns the number of documents that have a value in it. An undefined field returns the same error.
curl "https://YOUR-SERVER/solr/YOUR_INDEX/select?q=*:*&fq=FIELD_NAME:[*%20TO%20*]&rows=0&wt=json"
Fix 1: correct the field name in your application
When the field exists under another name, change the query in your theme, plugin, module or code to that name. When only some searches fail, look for the one template, shortcode, view or filter that builds its own query with the wrong name. The Error Audit tab of your Opensolr Index shows the field name and the time of every failure, so you can match it to the page that sent it.
Fix 2: add the field to the schema
When the field should exist, declare it in schema.xml, or rename it so it matches one of your dynamicField patterns. Upload the file to your Opensolr Index and reload it. Then reindex your content: documents indexed before the change have no value in the new field. The field syntax is in How to Define New Fields in schema.xml.
<field name="event_date" type="pdate" indexed="true" stored="true"/>
Fix 3: upload the schema your application expects
When many fields are undefined at once, your Opensolr Index is running a schema that does not belong to your application, for example a Drupal Search API Solr site whose generated configuration was never uploaded. Export the configuration from your application, upload it to your Opensolr Index, reload it and reindex. Read My schema.xml doesn't take effect when the upload seems to change nothing.
Related Solr errors