Error messages entering book.

TalkBug Collectors

Join LibraryThing to post.

Error messages entering book.

1MarthaJeanne
Edited: Oct 30, 2023, 12:58 pm

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/inc_savebook_add_book.php on line 245

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/inc_physical.php on line 473

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/inc_physical.php on line 501

Warning: A non-numeric value encountered in /var/www/html/inc_physical.php on line 563

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/inc_physical.php on line 574

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/inc_physical.php on line 901

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/inc_physical.php on line 790

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/inc_savebook_add_book.php:245) in /var/www/html/addbook_weird.php on line 311

Entering ISBN 9783894111496 searching in German National Library

See also https://www.librarything.com/topic/354791

Book seems to have entered properly, although I need to correct a lot.

2kristilabrie
Edited: Oct 31, 2023, 7:55 am

Okay, verified:
1. go to https://www.librarything.com/addbooks and search for 9783894111496 from the German National Library data source.
2. Get "Bd. 2. Die dunkle Nacht und die Gedichte by Hans Urs von Übersetzer Balthasar (1992)" as the only search result. Click the title to add it to your library.

Bug: The following error is thrown, instead of showing the newly-added book and the Recently added list:

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/inc_savebook_add_book.php on line 245

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/inc_physical.php on line 473

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/inc_physical.php on line 501

Warning: A non-numeric value encountered in /var/www/html/inc_physical.php on line 563

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/inc_physical.php on line 574

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/inc_physical.php on line 901

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/inc_physical.php on line 790

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/inc_savebook_add_book.php:245) in /var/www/html/addbook_weird.php on line 311


NB: If you refresh the page, the book is there in the Recently Added list. Also, this does not happen when searching the Amazon.com books source - I can add a book with the same ISBN.

3knerd.knitter
Oct 31, 2023, 8:24 am

Fixed.

4MarthaJeanne
Oct 31, 2023, 8:35 am

Thank you.

5kristilabrie
Oct 31, 2023, 1:07 pm

Marking fixed.