Ken Pendlebury

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
Jun 14, 2020 at 7:00 pm
#130636
Participant
Ken Pendlebury
OP

Doh! Thanks!

Jun 14, 2020 at 6:39 pm
#130634
Participant
Ken Pendlebury
OP
This reply has been marked as private.
May 19, 2020 at 9:09 pm
#128736
Participant
Ken Pendlebury
OP

Everything working now. Final solution:

  • Uninstall the WPDM Gutenberg editor plugin
  • Add these 2 lines to .htaccess (in the root of the WP public_html folder)below RewriteEngine On
RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
May 19, 2020 at 8:57 pm
#128734
Participant
Ken Pendlebury
OP

Some progress here. It appears that the Gutenberg addon for WPDM has a conflict with the REST API Addon. For reasons unknown to me, it registers its own endpoints in the same namespace as REST API like so:

register_rest_route( 'wpdm/v1', '/search-package', array(
            'methods' ► 'GET',
            'callback' ► array($this, 'searchPackages'),
        ) );

Now unfortunately, the routes are found, but I am unauthorized (401).

May 19, 2020 at 3:54 pm
#128709
Participant
Ken Pendlebury
OP

Also, fwiw, I have uninstalled and reinstalled both the REST API addon and the Download Manager plugin itself. Neither resulted in any change.

Viewing 5 posts - 1 through 5 (of 5 total)