Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
While doing export i'm getting following error:
'Error when attempting to create Disqus thread for node id 341 (export has stopped): exception 'DisqusAPIError' with message 'You must be authenticated to perform this action'
I have downloaded PHP API implementation as listed on project page and followed instructions, am i missing anything? Only export giving problem it seems, rest of disqus installation is working fine including import.
Comment | File | Size | Author |
---|---|---|---|
#1 | disqus-authentication_error-2185007-1.patch | 1.18 KB | the_g_bomb |
Comments
Comment #1
the_g_bomb CreditAttribution: the_g_bomb commentedI did some debugging and discovered that in the library disqusapi.php there is a foreach which fails
The $resource we are passing is ['thread:ident'] and ['thread:url']
these both fail the empty() test so adding ['thread'] = TRUE, allows this check to pass.
There is an issue similar to this in the library issue queue at:
https://github.com/disqus/disqus-php/issues/16
I am uploading a patch that solves this problem and allows exports to work again.