Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Josh Kohlbach

    (@jkohlbach)

    Hi @iamediaworks, thanks for the message.
    Can I check, are you on the latest version 2.2.0.1?

    And can I also confirm, do you have any JavaScript errors on the page?

    Plugin Author Josh Kohlbach

    (@jkohlbach)

    In case either of these are not the solution we do have a guide for correcting missing wholesale roles here:

    https://wholesalesuiteplugin.com/kb/how-to-fix-missing-wholesale-roles/

    If your simple products are also missing the fields it’s like this is the case and this guide should help.

    Thread Starter IAmediaworks

    (@iamediaworks)

    Hey Josh!

    No JS errors, and running on the most recent version.

    One oddity – if I go to roles, there are none. And I can’t edit the default role either.

    Thanks!

    M

    Thread Starter IAmediaworks

    (@iamediaworks)

    This is what we get on a basic product:

    This is what we see on a variable:

    And this is what roles look like:

    Hope this helps!

    Plugin Author Josh Kohlbach

    (@jkohlbach)

    Yeah that is super odd. Looks like it could be corruption on the roles data though. Can you try follow the guide and reach out if you have any issues 🙂

    Thread Starter IAmediaworks

    (@iamediaworks)

    Did everything we could in the guide. Nothing.

    Deactivated. deleted – downloaded a fresh copy and reinstalled. And it installed.

    Upon activation, got this message:

    “The plugin generated 261 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.”

    Turned on debug in wpconfig, and no errors.

    Unfortunately, the same exact issues are still there.

    Thread Starter IAmediaworks

    (@iamediaworks)

    Just checked the WooCommerce logs, and found these:

    2024-08-09T03:38:27+00:00 Critical require(): Failed opening required ‘/home/yesyesyesyes/public_html/ynotdogcookies.com/wp-content/plugins/woocommerce-wholesale-pricing//vendor/autoload.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) Additional context{ “error”: { “type”: 64, “file”: “/home/yesyesyesyes/public_html/ynotdogcookies.com/wp-content/plugins/woocommerce-wholesale-prices/includes/api/class-wwp-rest-api-client.php”, “line”: 7 }, “backtrace”: [ { “file”: “/home/yesyesyesyes/public_html/ynotdogcookies.com/wp-content/plugins/woocommerce/includes/class-woocommerce.php”, “line”: 359, “function”: “critical”, “class”: “WC_Logger”, “type”: “->” }, { “function”: “log_errors”, “class”: “WooCommerce”, “type”: “->” } ] }

    2024-08-09T03:38:41+00:00 Critical require(): Failed opening required ‘/home/yesyesyesyes/public_html/ynotdogcookies.com/wp-content/plugins/woocommerce-wholesale-pricing//vendor/autoload.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) Additional context{ “error”: { “type”: 64, “file”: “/home/yesyesyesyes/public_html/ynotdogcookies.com/wp-content/plugins/woocommerce-wholesale-prices/includes/api/class-wwp-rest-api-client.php”, “line”: 7 }, “backtrace”: [ { “file”: “/home/yesyesyesyes/public_html/ynotdogcookies.com/wp-content/plugins/woocommerce/includes/class-woocommerce.php”, “line”: 359, “function”: “critical”, “class”: “WC_Logger”, “type”: “->” }, { “function”: “log_errors”, “class”: “WooCommerce”, “type”: “->” } ] }

    2024-08-09T03:38:48+00:00 Critical require(): Failed opening required ‘/home/yesyesyesyes/public_html/ynotdogcookies.com/wp-content/plugins/woocommerce-wholesale-pricing//vendor/autoload.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) Additional context{ “error”: { “type”: 64, “file”: “/home/yesyesyesyes/public_html/ynotdogcookies.com/wp-content/plugins/woocommerce-wholesale-prices/includes/api/class-wwp-rest-api-client.php”, “line”: 7 }, “backtrace”: [ { “file”: “/home/yesyesyesyes/public_html/ynotdogcookies.com/wp-content/plugins/woocommerce/includes/class-woocommerce.php”, “line”: 359, “function”: “critical”, “class”: “WC_Logger”, “type”: “->” }, { “function”: “log_errors”, “class”: “WooCommerce”, “type”: “->” } ] }

    2024-08-09T10:43:34+00:00 Critical require(): Failed opening required ‘/home/yesyesyesyes/public_html/ynotdogcookies.com/wp-content/plugins/woocommerce-wholesale-pricing//vendor/autoload.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) Additional context{ “error”: { “type”: 64, “file”: “/home/yesyesyesyes/public_html/ynotdogcookies.com/wp-content/plugins/woocommerce-wholesale-prices/includes/api/class-wwp-rest-api-client.php”, “line”: 7 }, “backtrace”: [ { “file”: “/home/yesyesyesyes/public_html/ynotdogcookies.com/wp-content/plugins/woocommerce/includes/class-woocommerce.php”, “line”: 359, “function”: “critical”, “class”: “WC_Logger”, “type”: “->” }, { “function”: “log_errors”, “class”: “WooCommerce”, “type”: “->” } ] }

    2024-08-09T10:43:38+00:00 Critical require(): Failed opening required ‘/home/yesyesyesyes/public_html/ynotdogcookies.com/wp-content/plugins/woocommerce-wholesale-pricing//vendor/autoload.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) Additional context{ “error”: { “type”: 64, “file”: “/home/yesyesyesyes/public_html/ynotdogcookies.com/wp-content/plugins/woocommerce-wholesale-prices/includes/api/class-wwp-rest-api-client.php”, “line”: 7 }, “backtrace”: [ { “file”: “/home/yesyesyesyes/public_html/ynotdogcookies.com/wp-content/plugins/woocommerce/includes/class-woocommerce.php”, “line”: 359, “function”: “critical”, “class”: “WC_Logger”, “type”: “->” }, { “function”: “log_errors”, “class”: “WooCommerce”, “type”: “->” } ] }

    2024-08-09T10:43:40+00:00 Critical require(): Failed opening required ‘/home/yesyesyesyes/public_html/ynotdogcookies.com/wp-content/plugins/woocommerce-wholesale-pricing//vendor/autoload.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’)

    Plugin Support Fauzan Azizie

    (@fauzanade)

    Hi @iamediaworks,

    1. Regarding the error log above, It seems that the error is coming from a different plugin: ynotdogcookies.com/wp-content/plugins/woocommerce-wholesale-pricing/

    Our Wholesale Prices plugin directory should be: woocommerce-wholesale-prices. https://snipboard.io/wOiryV.jpg

    Do you perhaps use other third-party wholesale plugins as well? Please kindly disable it first.

    2. Regarding the missing wholesale price field, this is usually caused when you migrating your domain to a new one. The database is not migrated properly and got corrupted. That’s why the roles are missing.

    You can fix it by following the guide here: https://wholesalesuiteplugin.com/kb/how-to-fix-missing-wholesale-roles/

    If you’re not sure how to do that on your own, you can send us a support request to our email at support at wholesalesuiteplugin dot com

    Thread Starter IAmediaworks

    (@iamediaworks)

    Apologies for that. Yes, there was previously a wholesale plugin installed, but it was already disabled and deleted. I didn’t look at the timestamp.

    The site has not been moved or migrated – we just installed the plugin.

    We have tried the fixes in your link. The only fix that applies link says:

    Move your current wholesale users temporarily to a certain role using a third party User Role Editor plugin, then delete the wholesale role that was missing. Then re-create it again on WooCommerce > Wholesale Roles and re-apply the newly created role back to your users. This is the safest way to bring back the wholesale role and ideal if you have a few users.

    We have no wholesale users. And we did delete all wholesale roles using a Role Editor. But when going to WooCommerce > Wholesale Roles – there are no current roles, and we can’t create one. If we try, we get:

    Additional Wholesale Roles (Premium)
    You’re currently using the free version of WooCommerce Wholesale Prices which lets you have one level of wholesale customers.

    Plugin Support Fauzan Azizie

    (@fauzanade)

    Hi @iamediaworks,

    This is a bit weird. But because you only just started using the plugin, you can go to your database and find this option wwp_options_registered_custom_roles under the wp_options table.

    Please update that the value of the option to:

    a:1:{s:18:"wholesale_customer";a:4:{s:8:"roleName";s:18:"Wholesale Customer";s:4:"desc";s:37:"This is the main wholesale user role.";s:4:"main";b:1;s:27:"onlyAllowWholesalePurchases";s:3:"yes";}}
    Thread Starter IAmediaworks

    (@iamediaworks)

    That DID IT!

    Thank you so much.

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.