Ken Pendlebury

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
in reply to: Recent WPDM Update Broke Shortcode – 5.0.95 #130636

Ken Pendlebury
Participant

Doh! Thanks!

in reply to: Recent WPDM Update Broke Shortcode – 5.0.95 #130634

Ken Pendlebury
Participant
This reply has been marked as private.
in reply to: Trouble with WPDM REST API #128736

Ken Pendlebury
Participant

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]
in reply to: Trouble with WPDM REST API #128734

Ken Pendlebury
Participant

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).

in reply to: Trouble with WPDM REST API #128709

Ken Pendlebury
Participant

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)