Amazon Record Fatal error

DiscussieBug Collectors

Sluit je aan bij LibraryThing om te posten.

Amazon Record Fatal error

1DuncanHill
jun 15, 2021, 4:23 pm

On Cloudy with a Chance of Meatballs: Swallow-Een Falls Spooktacular! if I click on Editions and then on ASIN Record I get the message "Amazon Record Fatal error: Cannot pass parameter 3 by reference in /var/www/html/ajax_lb_editionrecord.php on line 50"

2kristilabrie
jun 16, 2021, 9:30 am

Noted, thanks.

3kristilabrie
jun 21, 2021, 3:16 pm

Okay, tested with my own account (kristilabrie).

For developers to reproduce:
1. Go to your "Add books" page and make sure that "Amazon.com all media" data source is your default search source. (I did this by clicking "Edit and Reorder", dragging "Amazon.com all media" to the top of the list, and making sure that "Always start with first source" is checked.)
2. Click to view https://www.librarything.com/work/22607570.
3. Click "Add to Your books" button on the work page. You should be redirected to the "Add books" page and there should be an automatic search run for "Cloudy with a chance of meatballs : Swallow-een Falls spooktacular!".
4. See there are X* results in total, followed by the following alert: "The low result count was caused by filtering out non-media items from a general Amazon search. Click "next" for more results."
*I got 96 results my first round of testing, then 94 results during my 2nd round of testing. The alert still showed up on each test.
5. Click to add the first search result, which should be "Cloudy with a Chance of Meatballs: Swallow-Een Falls Spooktacular! by Bruce Campbell"
6. Click the recently added work in Step 5 to reach the work page (which will include your book number, but I'm just linking to the generic work page for viewing purposes): https://www.librarything.com/work/22607570
7. Click to view the Editions page, like so: https://www.librarything.com/work/22607570/editions
8. Click to view the "ASIN Record" for any of the editions on the page, which should include the edition you just added to your library. A lightbox/pop-up opens with the following:

"Amazon Record

Fatal error: Cannot pass parameter 3 by reference in /var/www/html/ajax_lb_editionrecord.php on line 50"

4DuncanHill
aug 10, 2021, 7:41 pm

Found again on Personne ne gagne by William Burroughs.

Click on editions.

Click on ASIN Record

Get message:

Amazon Record

Fatal error: Cannot pass parameter 3 by reference in /var/www/html/ajax_lb_editionrecord.php on line 50

5timspalding
Bewerkt: aug 14, 2021, 7:30 pm

>3 kristilabrie: Note to self: Only steps 7-8 are necessary.

6timspalding
aug 14, 2021, 7:35 pm

Fixed. Thanks!