FirePhoenix
Member
Posted 2 years ago #
Hi, I currently am getting the following error when I try to add a book via searching:
Fatal error: Call to a member function children() on a non-object in /home/****/public_html/****/wp-content/plugins/now-reading-reloaded/amazon.php on line 169
How can I fix this?
Thanks
http://wordpress.org/extend/plugins/now-reading-reloaded/
Vanyeleke
Member
Posted 2 years ago #
Hi.
This seems to occur when your amazon keys are not correctly set in now reading reloaded.
You have to get those keys from https://aws-portal.amazon.com/gp/aws/developer/account/index.html?ie=UTF8&action=access-key
Setting the correct keys solved the problem for me.
gregshead
Member
Posted 1 year ago #
I have tried everything to get this plug-in to work, but still keep getting this error when I try to add a book (and as far as I can remember, I was able to add books even just last week?)
I have:
- installed the latest version of now reading reloaded
- verified that I am running the latest version/s of PHP and MySQL
- tried using previous version/s of Now Reading (and NRR)
- Re-entered, the even created new Amazon access keys
Nothing is working :-( Any ideas?
gregshead
Member
Posted 1 year ago #
Oh, here's the debug code:
raw XML:
string(8) "raw XML:"
string(410) "
<?xml version="1.0"?>
<ItemSearchErrorResponse xmlns="http://ecs.amazonaws.com/doc/2009-03-31/">
<Error>
RequestExpired
<Message>
Request has expired. Timestamp date is 2010-06-09T12:30:53Z.
</Message>
</Error>
<RequestID>
abfe3bc4-abb6-4574-8db8-cbd64d7677b9
</RequestID>
</ItemSearchErrorResponse>
"
bgunnink
Member
Posted 1 year ago #
gregshead, what time does your server think it is? If Amazon is telling you that your request has expired, it means there's a non-trivial discrepancy between the timestamp of your request and the time expected from Amazon's server.