backdrop-contrib / biblio

Manage and display lists of scholarly publications. Import from Zotero.
GNU General Public License v2.0
0 stars 5 forks source link

biblio_token_info() warning messages #13

Open mikesoltis opened 2 years ago

mikesoltis commented 2 years ago

After installing Biblio, Multifield and Field Group, I am getting warnings when I "save" after editing or when visiting certain pages unrelated to biblio (but not always). Example when they do appear:

biblio_errors

I have not created any biblio content yet. There does not appear to be a biblio configuration page. However, I did add a tab to the default biblio content type with a few term reference fields (picture below). I do not know if the warning happened before the new fields were added.

biblio_create

Radcliffe commented 2 years ago

I will note that the file biblio_tokens.inc refers to the schema for the biblio table. This table does not exist in the Backdrop port, although it is defined in the original Drupal module. The absence of this table causes warnings under PHP 7.4, and critical errors (white screen of death) in PHP 8. I don't know how to fix the issue, since I don't know if the Backdrop port requires this table. But the errors go away if I remove the file biblio_tokens.inc or rename it to prevent it from being loaded.

Radcliffe commented 2 years ago

This seems to be related to #4