Skip Navigation

[Resolved] a conflict between the toolset Access plugin and woocommerce rest api

This support ticket is created 4 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 5 replies, has 2 voices.

Last updated by Christian Cox 4 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#1241204

a conflict between the toolset Access plugin and woocommerce rest api. With the Access plugin enabled wp-json/wc/v2/products returns a "cannot view resources" even with the correct api key. When the Access plugin is disabled the wp-json/wc/v2/products request returns the expected list of products.

I am trying to:
use the OneSaas app to sync data from WooCommerce to Quickbooks

Link to a page where the issue can be seen:
hidden link

I expected to see:

Instead, I got:
{
"code": "woocommerce_rest_cannot_view",
"message": "Sorry, you cannot list resources.",
"data": {
"status":
401
}
}

#1241208

Hi, another user reported the same issue yesterday, and we have escalated that to our developers for further investigation. I'll connect your ticket here with our internal ticket, so I can update you when I have more information to share. At this time, unfortunately I do not have a workaround available. If a patch is issued, I'll let you know ASAP.

#1241700

Our developers have released a patch for this issue. You can find instructions for installing the patch file here: https://toolset.com/errata/a-conflict-between-the-toolset-access-plugin-and-woocommerce-rest-api/

#1241732

Thank you. We have our developer working on it. I will update you if it works.

#1241969

The patch causes a 500 server error.

We have the plugin Deactived right now but we need it on the website.

{"core":{"Wordpress":{"Multisite":"No","SiteURL":"https:\/\/www.atlantamitzvahconnection.com","HomeURL":"https:\/\/www.atlantamitzvahconnection.com","Version":"5.2","PermalinkStructure":"\/%category%\/%postname%\/","PostTypes":"post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, wp_block, project, cred-form, cred-user-form, scheduled-action, wp-types-group, wp-types-user-group, wp-types-term-group, product, product_variation, shop_order, shop_order_refund, shop_coupon, shop_subscription, site-review, view, view-template, vendor-listings, vendor-contact, cred_rel_form","PostSatus":"publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, in-progress, failed, wc-active, wc-switched, wc-expired, wc-pending-cancel, wc-pending, wc-processing, wc-on-hold, wc-completed, wc-cancelled, wc-refunded, wc-failed, hidden"},"Server":{"jQueryVersion":"1.12.4","PHPVersion":"7.2.18","MySQLVersion":"5.5.5","ServerSoftware":"nginx"},"PHP":{"MemoryLimit":"256M","UploadMax":"100M","PostMax":"100M","TimeLimit":"300","MaxInputVars":"6144"}},"plugins":{"active_plugins":{"gravityforms\/gravityforms.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"Gravity Forms","PluginURI":"https:\/\/www.gravityforms.com","Version":"2.4.8","Author":"rocketgenius","AuthorURI":"https:\/\/www.rocketgenius.com","TextDomain":"gravityforms","DomainPath":"\/languages","Network":false,"Title":"Gravity Forms","AuthorName":"rocketgenius"},"4divi-masonry-gallery\/divi-masonry-gallery.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"4DIVI Masonry gallery","PluginURI":"http:\/\/4divi.com\/","Version":"1.11","Author":"Design Green Cat","AuthorURI":"http:\/\/4divi.com\/","TextDomain":"4divi-masonry-gallery","DomainPath":"","Network":false,"Title":"4DIVI Masonry gallery","AuthorName":"Design Green Cat"},"all-in-one-seo-pack-pro\/all_in_one_seo_pack.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"All In One SEO Pack Pro","PluginURI":"http:\/\/semperplugins.com","Version":"2.13.1","Author":"Michael Torbert","AuthorURI":"https:\/\/michaeltorbert.com","TextDomain":"all-in-one-seo-pack","DomainPath":"\/i18n\/","Network":false,"Title":"All In One SEO Pack Pro","AuthorName":"Michael Torbert"},"classic-editor\/classic-editor.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"Classic Editor","PluginURI":"https:\/\/wordpress.org\/plugins\/classic-editor\/","Version":"1.5","Author":"WordPress Contributors","AuthorURI":"https:\/\/github.com\/WordPress\/classic-editor\/","TextDomain":"classic-editor","DomainPath":"\/languages","Network":false,"Title":"Classic Editor","AuthorName":"WordPress Contributors"},"cred-commerce\/plugin.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"Toolset Forms Commerce","PluginURI":"http:\/\/toolset.com\/home\/cred-commerce\/","Version":"1.8.1","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"cred-commerce","DomainPath":"","Network":false,"Title":"Toolset Forms Commerce","AuthorName":"OnTheGoSystems"},"cred-frontend-editor\/plugin.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"Toolset Forms","PluginURI":"https:\/\/toolset.com\/home\/toolset-components\/#cred","Version":"2.3.6","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"cred-frontend-editor","DomainPath":"","Network":false,"Title":"Toolset Forms","AuthorName":"OnTheGoSystems"},"gf-custom-styles-master\/gf-custom-styles.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"Gravity Forms Custom Styles","PluginURI":"http:\/\/www.maintainn.com\/gravity-forms-custom-styles","Version":"1.0.1","Author":"Maintainn","AuthorURI":"http:\/\/www.maintainn.com","TextDomain":"gf-custom-styles-master","DomainPath":"","Network":false,"Title":"Gravity Forms Custom Styles","AuthorName":"Maintainn"},"ithemes-security-pro\/ithemes-security-pro.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"iThemes Security Pro","PluginURI":"https:\/\/ithemes.com\/security","Version":"4.7.3","Author":"iThemes","AuthorURI":"https:\/\/ithemes.com","TextDomain":"it-l10n-ithemes-security-pro","DomainPath":"\/lang","Network":true,"Title":"iThemes Security Pro","AuthorName":"iThemes"},"monarch\/monarch.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"Monarch Plugin","PluginURI":"http:\/\/www.elegantthemes.com","Version":"1.4.12","Author":"Elegant Themes","AuthorURI":"http:\/\/www.elegantthemes.com","TextDomain":"monarch","DomainPath":"","Network":false,"Title":"Monarch Plugin","AuthorName":"Elegant Themes"},"rxxoqk5bmyo0k0co0gwg-rXiPMH\/dp_portfolio_posts_pro.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"DP Portfolio Posts Pro","PluginURI":"http:\/\/www.diviplugins.com\/divi\/portfolio-posts-pro-plugin\/","Version":"2.1.6","Author":"DiviPlugins","AuthorURI":"http:\/\/www.diviplugins.com","TextDomain":"rxxoqk5bmyo0k0co0gwg-rXiPMH","DomainPath":"","Network":false,"Title":"DP Portfolio Posts Pro","AuthorName":"DiviPlugins"},"sendgrid-email-delivery-simplified\/wpsendgrid.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"SendGrid","PluginURI":"http:\/\/wordpress.org\/plugins\/sendgrid-email-delivery-simplified\/","Version":"1.11.8","Author":"SendGrid","AuthorURI":"http:\/\/sendgrid.com","TextDomain":"sendgrid-email-delivery-simplified","DomainPath":"","Network":false,"Title":"SendGrid","AuthorName":"SendGrid"},"site-reviews\/site-reviews.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"Site Reviews","PluginURI":"https:\/\/wordpress.org\/plugins\/site-reviews","Version":"3.5.4","Author":"Paul Ryley","AuthorURI":"https:\/\/niftyplugins.com","TextDomain":"site-reviews","DomainPath":"languages","Network":false,"Title":"Site Reviews","AuthorName":"Paul Ryley"},"taxonomy-terms-order\/taxonomy-terms-order.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"Category Order and Taxonomy Terms Order","PluginURI":"http:\/\/www.nsp-code.com","Version":"1.5.5","Author":"Nsp-Code","AuthorURI":"http:\/\/www.nsp-code.com","TextDomain":"taxonomy-terms-order","DomainPath":"\/languages\/","Network":false,"Title":"Category Order and Taxonomy Terms Order","AuthorName":"Nsp-Code"},"types\/wpcf.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"Toolset Types","PluginURI":"https:\/\/toolset.com\/?utm_source=typesplugin\u0026utm_campaign=types\u0026utm_medium=plugins-list-full-version\u0026utm_term=Visit plugin site","Version":"3.2.7","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com","TextDomain":"types","DomainPath":"","Network":false,"Title":"Toolset Types","AuthorName":"OnTheGoSystems"},"woocommerce-gateway-intuit-qbms\/woocommerce-gateway-intuit-qbms.php":{"WC requires at least":"2.6.14","WC tested up to":"3.6.0","Woo":"272221:56ee7c24d725409e3244401ed625b4f3","Name":"WooCommerce Intuit Payments Gateway","PluginURI":"https:\/\/woocommerce.com\/products\/intuit-qbms\/","Version":"2.3.4","Author":"SkyVerge","AuthorURI":"https:\/\/woocommerce.com\/","TextDomain":"woocommerce-gateway-intuit-payments","DomainPath":"\/i18n\/languages\/","Network":false,"Title":"WooCommerce Intuit Payments Gateway","AuthorName":"SkyVerge"},"woocommerce-subscriptions\/woocommerce-subscriptions.php":{"WC requires at least":"3.0","WC tested up to":"3.5","Woo":"27147:6115e6d7e297b623a169fdcf5728b224","Name":"WooCommerce Subscriptions","PluginURI":"https:\/\/www.woocommerce.com\/products\/woocommerce-subscriptions\/","Version":"2.5.3","Author":"Prospress Inc.","AuthorURI":"https:\/\/prospress.com\/","TextDomain":"woocommerce-subscriptions","DomainPath":"","Network":false,"Title":"WooCommerce Subscriptions","AuthorName":"Prospress Inc."},"woocommerce\/woocommerce.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"WooCommerce","PluginURI":"https:\/\/woocommerce.com\/","Version":"3.6.2","Author":"Automattic","AuthorURI":"https:\/\/woocommerce.com","TextDomain":"woocommerce","DomainPath":"\/i18n\/languages\/","Network":false,"Title":"WooCommerce","AuthorName":"Automattic"},"wp-views\/wp-views.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"Toolset Views","PluginURI":"https:\/\/toolset.com\/?utm_source=viewsplugin\u0026utm_campaign=views\u0026utm_medium=plugins-list-full-version\u0026utm_term=Visit plugin site","Version":"2.8.0.1","Author":"OnTheGoSystems","AuthorURI":"https:\/\/toolset.com","TextDomain":"wp-views","DomainPath":"","Network":false,"Title":"Toolset Views","AuthorName":"OnTheGoSystems"},"wpremote\/plugin.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"WP Remote","PluginURI":"","Version":"2.8.4.3","Author":"maekit","AuthorURI":"https:\/\/maek.it\/","TextDomain":"wpremote","DomainPath":"","Network":false,"Title":"WP Remote","AuthorName":"maekit"}},"mu_plugins":{"SupportCenterMUAutoloader.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"ET Support Center :: Must-Use Plugins Autoloader","PluginURI":"http:\/\/www.elegantthemes.com","Version":"","Description":"This plugin enables the Elegant Themes Support Center to provide more consistent functionality when Safe Mode is active.","Author":"Elegant Themes","AuthorURI":"http:\/\/www.elegantthemes.com","TextDomain":"","DomainPath":"","Network":false,"Title":"ET Support Center :: Must-Use Plugins Autoloader","AuthorName":"Elegant Themes"},"wp-rocket-www-fix.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"WP Rocket | Fix www to non-www redirection","PluginURI":"","Version":"","Description":"Fixes redirection from www to non-www URLs.","Author":"Brightmill","AuthorURI":"","TextDomain":"","DomainPath":"","Network":false,"Title":"WP Rocket | Fix www to non-www redirection","AuthorName":"Brightmill"}},"dropins":{"advanced-cache.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"advanced-cache.php","PluginURI":"","Version":"","Description":"","Author":"","AuthorURI":"","TextDomain":"","DomainPath":"","Network":false,"Title":"","AuthorName":""},"object-cache.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Name":"Memcached","PluginURI":"http:\/\/wordpress.org\/extend\/plugins\/memcached\/","Version":"3.0.1","Description":"Memcached backend for the WP Object Cache.","Author":"Ryan Boren, Denis de Bernardy, Matt Martz, Andy Skelton","AuthorURI":"","TextDomain":"","DomainPath":"","Network":false,"Title":"Memcached","AuthorName":"Ryan Boren, Denis de Bernardy, Matt Martz, Andy Skelton"}}},"theme":{"Name":"Divi Child","ThemeURI":null,"Author":"\u003Ca href=\u0022http:\/\/shepherdsloft.com\u0022\u003EShepherds Loft\u003C\/a\u003E","AuthorURI":null,"Template":"Divi","Version":"1.0.0","TextDomain":null,"DomainPath":null},"extra-debug":{"types":{"add_resized_images_to_library":0,"register_translations_on_import":1,"images_remote":0,"images_remote_cache_time":"36","help_box":"by_types","hide_standard_custom_fields_metabox":"show","postmeta_unfiltered_html":"on","usermeta_unfiltered_html":"on"},"CRED":{"wizard":1,"cache_notice":1,"export_settings":1,"export_custom_fields":1,"autogeneration_email":{"subject":"Welcome new user","body":"[username]Your username is: %cuf_username%[\/username]\\n[nickname]Your nickname is: %cuf_nickname%[\/nickname]\\n[password]Your password is: %cuf_password%[\/password]"},"dont_load_cred_css":1,"enable_post_expiration":"1"},"views":{"views_template_loop_blog":0,"wpv_bootstrap_version":1,"wpv_custom_conditional_functions":[],"wpv_custom_inner_shortcodes":[],"wpv_debug_mode":"","wpv_debug_mode_type":"compact","wpv_map_plugin":0,"wpv_show_hidden_fields":"","wpv_saved_auto_detected_framework":"","wpv_codemirror_autoresize":1,"wpv_enable_pagination_manage_history":true,"wpv_enable_parametric_search_manage_history":true,"support_spaces_in_meta_filters":true,"allow_views_wp_widgets_in_elementor":true,"default_user_editor":"basic","view_taxonomy_loop_vendor-category":"17073","views_template_for_vendor-listings":17099,"view_search-page":18738,"wpv_post_types_for_archive_loop":{"native":{"search":["post","page","vendor-listings"]}}},"installer":{"version":"1.9.0","repositories":{"wpml":{"api-url":"https:\/\/api.wpml.org\/","products":"http:\/\/d2salfytceyqoe.cloudfront.net\/wpml33-products.json","subscription":""},"toolset":{"api-url":"https:\/\/api.toolset.com\/","products":"http:\/\/d7j863fr5jhrr.cloudfront.net\/toolset33-products.json","subscription":{"key":"UExESRhQX2","data":{"subscription_type":5737,"expires":"2019-06-28","status":"1"},"registered_by":16,"site_url":"https:\/\/www.atlantamitzvahconnection.com"}}},"instances":{"\/atlantamitzvahconnection\/wp-content\/plugins\/types\/vendor\/otgs\/installer\/installer.php":{"bootfile":"\/atlantamitzvahconnection\/wp-content\/plugins\/types\/vendor\/otgs\/installer\/installer.php","version":"1.9.0","args":{"plugins_install_tab":"1","repositories_include":["toolset","wpml"]},"delegated":true}}}}}

#1245454

Hi, sorry for the delay, we would like to investigate the 500 error you experienced in more detail. Is it possible for me to log in to your wp-admin area and create a clone of your site using the Duplicator plugin? If so, please provide login credentials in the private reply fields here. I'll run some additional tests locally so your live site will not be modified.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.