Can't add new references
-
Hi people. First of all, thanks for this wonderful plugin; it seems to be the only one capable of keeping a proper database of scholarly articles linked to a nice, profiled author database.
On installing this plugin, I noticed that just by activating it, it had already added a couple of journal references on its own, possibly by reading the info embedded into the PDF files in my media library. (Very impressive!)Problem is, when I try to manually add some more references, I get the following error text at the top of the page:
exception 'Exception' with message 'Cannot add or update a child row: a foreign key constraint fails (
soci94c_sarem/wp_bibliplug_bibliography, CONSTRAINT
wp_bibliplug_bibliography_ibfk_1FOREIGN KEY (
type_id) REFERENCES
wp_bibliplug_types(
id))' in /home2/soci94c/public_html/wp-content/plugins/enhanced-bibliplug/bibliplug_query.php:508 Stack trace: #0 /home2/soci94c/public_html/wp-content/plugins/enhanced-bibliplug/bibliplug_edit.php(127): bibliplug_query->insert_bibliography(Array, Array, Array, Array) #1 /home2/soci94c/public_html/wp-admin/admin.php(167): include('/home2/soci94c/...') #2 {main}
…and and error message that seems to be saying essentially the same thing:
Cannot add or update a child row: a foreign key constraint fails (
soci94c_sarem/wp_bibliplug_bibliography, CONSTRAINT
wp_bibliplug_bibliography_ibfk_1FOREIGN KEY (
type_id) REFERENCES
wp_bibliplug_types(
id))
Curiously, I have an offline version of the blog and I can add new references there. The error happens only on the online version.
And that’s it. What to do?
- The topic ‘Can't add new references’ is closed to new replies.