• Resolved rickjohnsongraffix

    (@rickjohnsongraffix)


    Ever since WooCommerce added the option to restrict coupon codes to certain email addresses, I have been using it without issue. I don’t know how long ago this behavior changed, but now all coupons show “No restrictions” for emails where there used to be several. When I add an email address, it appears to try to update, but the field again becomes blank with “No restrictions.”

    I tried updating to the newest WooCommerce, but after I did I could not log into my site — instead got “Forbidden” error. Backdating to 8.4.0 let me log in again. I have seen this question posted before, but no solution given. Any help would be much appreciated.

    Thanks — Rick

    WordPress Environment<br><br>WordPress address (URL): https://rj-graffix.com<br>Site address (URL): https://rj-graffix.com<br>WC Version: 8.4.0<br>REST API Version: ? 8.4.0<br>WC Blocks Version: ? 11.6.2<br>Action Scheduler Version: ? 3.7.2<br>Log Directory Writable: ?<br>WP Version: 6.5.4<br>WP Multisite: –<br>WP Memory Limit: 256 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_US<br>External object cache: – Server Environment<br><br>Server Info: nginx/1.26.1<br>PHP Version: 8.0.30<br>PHP Post Max Size: 134 MB<br>PHP Time Limit: 30<br>PHP Max Input Vars: 1000<br>cURL Version: 7.29.0<br>NSS/3.90<br><br>SUHOSIN Installed: –<br>MySQL Version: 5.5.68-MariaDB<br>Max Upload Size: 16 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database<br><br>WC Database Version: 8.9.2<br>WC Database Prefix: wp_<br>Total Database Size: 228.01MB<br>Database Data Size: 196.40MB<br>Database Index Size: 31.61MB<br>wp_woocommerce_sessions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 3.39MB + Index: 6.47MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 0.31MB + Index: 0.13MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 7.39MB + Index: 5.02MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.08MB + Index: 0.16MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_404_to_301: Data: 14.55MB + Index: 0.00MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 0.13MB + Index: 0.13MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 0.08MB + Index: 0.03MB + Engine InnoDB<br>wp_cleantalk_ac_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cleantalk_connection_reports: Data: 0.31MB + Index: 0.00MB + Engine InnoDB<br>wp_cleantalk_no_cookie_data: Data: 2.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cleantalk_sessions: Data: 0.36MB + Index: 0.00MB + Engine InnoDB<br>wp_cleantalk_sfw: Data: 0.48MB + Index: 0.41MB + Engine InnoDB<br>wp_cleantalk_sfw_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cleantalk_sfw_personal: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_cleantalk_spamscan_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cleantalk_ua_bl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_cleantalk_wc_spam_orders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_comments: Data: 1.52MB + Index: 0.91MB + Engine InnoDB<br>wp_groups_capability: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_groups_group: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_groups_group_capability: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_groups_user_capability: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_groups_user_group: Data: 0.06MB + Index: 0.05MB + Engine InnoDB<br>wp_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_options: Data: 6.02MB + Index: 1.11MB + Engine InnoDB<br>wp_postmeta: Data: 108.25MB + Index: 9.50MB + Engine InnoDB<br>wp_posts: Data: 41.22MB + Index: 0.67MB + Engine InnoDB<br>wp_spbc_auth_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_term_relationships: Data: 0.16MB + Index: 0.13MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_tf_storage: Data: 1.05MB + Index: 0.06MB + Engine InnoDB<br>wp_usermeta: Data: 3.50MB + Index: 3.86MB + Engine InnoDB<br>wp_users: Data: 0.17MB + Index: 0.17MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.13MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.16MB + Index: 0.13MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.13MB + Index: 0.16MB + Engine InnoDB<br>wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 1.52MB + Index: 0.55MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.20MB + Index: 0.19MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_software_licence: Data: 1.52MB + Index: 0.00MB + Engine InnoDB<br>wp_wpforms_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB<br>wp_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yoast_indexable: Data: 0.20MB + Index: 0.19MB + Engine InnoDB<br>wp_yoast_indexable_hierarchy: Data: 0.06MB + Index: 0.05MB + Engine InnoDB<br>wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_yoast_seo_links: Data: 0.28MB + Index: 0.16MB + Engine InnoDB<br>wp_yoast_seo_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB Post Type Counts<br><br>attachment: 258<br>custom_css: 1<br>form-entries: 125<br>forum: 6<br>jetpack_migration: 2<br>library_rows: 1<br>nav_menu_item: 646<br>oembed_cache: 10<br>page: 72<br>post: 111<br>product: 16<br>product_variation: 147<br>redirect_rule: 5<br>reply: 80<br>revision: 824<br>shop_coupon: 106<br>shop_order: 1313<br>shop_order_refund: 21<br>tablepress_table: 1<br>tbuilder_layout_part: 2<br>themify_popup: 1<br>topic: 53<br>wcccf: 3<br>wp_global_styles: 1<br>wpforms: 4 Security<br><br>Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (46)<br><br>ManageWP - Worker: by GoDaddy – 4.9.20<br>404 to 301 - Redirect, Log and Notify 404 Errors: by Joel James – 3.1.4<br>Registration Order Link for WooCommerce: by SkyVerge – 1.0.0<br>bbPress WP Tweaks: by veppa – 1.4.4<br>bbPress: by The bbPress Contributors – 2.6.9<br>Better Search Replace: by WP Engine – 1.4.7<br>Classic Editor: by WordPress Contributors – 1.6.3<br>Anti-Spam by CleanTalk: by СleanTalk - Anti-Spam Protection – 6.33.2<br>Crowdsignal Forms: by Automattic – 1.7.1<br>Customizer Export/Import: by The Beaver Builder Team – 0.9.6<br>Disable New User Notifications: by Thomas Griffin – 2.0.0<br>Display PHP Version: by David Gwyer – 1.8<br>Simple File List Pro: by Mitchell Bennis – 6.1.12<br>Enable Media Replace: by ShortPixel – 4.1.5<br>XML Sitemap Generator for Google: by Auctollo – 4.1.19<br>Groups 404 Redirect: by itthinx – 1.8.0<br>Groups: by itthinx – 2.20.1<br>Image Upload for BBPress: by WP Zone – 1.1.19<br>ImageMagick Engine: by Orangelab – 1.7.8<br>Import and export users and customers: by codection – 1.26.7<br>Jetpack: by Automattic – 13.5<br>Official StatCounter Plugin: by Aodhan Cullen – 2.0.9<br>Really Simple SSL: by Really Simple Plugins – 8.1.3<br>Stop Comment Spam: by Predrag Supurovi? – 0.5.3<br>TablePress: by Tobias B?thge – 2.3.2<br>Temporary Login Without Password: by StoreApps – 1.8.3<br>Theme My Login: by Theme My Login – 7.1.7<br>Themify Portfolio Post: by Themify – 1.2.9<br>Themify Shortcodes: by Themify – 2.1.1<br>Themify Updater: by Themify – 1.4.8<br>UpdraftPlus - Backup/Restore: by UpdraftPlus.Com<br>DavidAnderson – 1.24.3<br><br>WC Fields Factory: by Saravana Kumar K – 4.1.8<br>Advanced Order Export For WooCommerce: by AlgolPlus – 3.5.3<br>WooCommerce Chained Products: by StoreApps – 3.5.0<br>Woocommerce Checkout Terms Conditions Popup: by WC Marketplace – 1.2.2<br>Print Invoice & Delivery Notes for WooCommerce: by Tyche Softwares – 5.0.0<br>WooCommerce Email Validation: by Hugh Lashbrooke – 2.1.1<br>WooCommerce Stripe Gateway: by WooCommerce – 8.3.1<br>WooCommerce Import Tax Rate Tables: by Katherine Semel-Munson – 1.9<br>WooCommerce Legacy REST API: by WooCommerce – 1.0.4<br>WP Software License: by Nsp Code – 3.3.8<br>WooCommerce: by Automattic – 8.4.0 (update to version 8.9.2 is available)<br>WordPress Importer: by wordpressdotorg – 0.8.2<br>Yoast SEO: by Team Yoast – 22.8<br>WPForms Lite: by WPForms – 1.8.8.3<br>Custom Product Tabs for WooCommerce: by Code Parrots – 1.8.5 Inactive Plugins (1)<br><br>WooCommerce: by Automattic – 8.9.2 Must Use Plugins (1)<br><br>ManageWP - Worker Loader: by GoDaddy – 1.0.0 Settings<br><br>API Enabled: ?<br>Force SSL: –<br>Currency: USD ($)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to Woo.com: ?<br>Enforce Approved Product Download Directories: –<br>HPOS feature screen enabled: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – WC Pages<br><br>Shop base: #17 - /shop/<br>Cart: #18 - /cart/<br>Checkout: #19 - /checkout/<br>My account: #20 - /my-account/<br>Terms and conditions: #1405 - /terms-and-conditions/ Theme<br><br>Name: Ultra Child<br>Version: (update to version 0 is available)<br>Author URL:<br>Child Theme: ?<br>Parent Theme Name: Themify Ultra<br>Parent Theme Version: 7.6.8<br>Parent Theme Author URL: https://www.themify.me<br>WooCommerce Support: ? Templates<br><br>Overrides: themify-ultra-child/woocommerce/emails/customer-completed-order.php<br>themify-ultra-child/woocommerce/emails/customer-invoice.php<br>themify-ultra/woocommerce/loop/loop-end.php<br>themify-ultra/woocommerce/loop/loop-start.php Admin<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>product-virtual-downloadable<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br><br>Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>product-external-affiliate<br>settings<br>async-product-editor-category-field<br><br>Daily Cron: ? Next scheduled: 2024-06-07 14:28:25 -05:00<br>Options: ?<br>Notes: 181<br>Onboarding: completed Action Scheduler<br><br>Complete: 182<br>Oldest: 2024-05-07 13:38:50 -0500<br>Newest: 2024-06-06 14:18:04 -0500<br><br>Failed: 17<br>Oldest: 2023-02-17 07:47:00 -0600<br>Newest: 2024-04-22 10:41:39 -0500<br><br>Pending: 7<br>Oldest: 2024-06-07 01:25:23 -0500<br>Newest: 2024-06-12 00:21:12 -0500 Status report information<br><br>Generated at: 2024-06-06 15:43:50 -05:00<br>

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 49 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello rickjohnsongraffix

    Thank you for contacting Woo support.

    I tried updating to the newest WooCommerce, but after I did I could not log into my site — instead got “Forbidden” error.

    Let’s start by addressing the most critical issue.
    You should be able to easily update the WooCommerce to the latest version.
    Please go to WooCommerce > System Status > Logs and check for any fatal error logs.
    If you find any share them with me.

    I noticed that there are two instances of ManageWP – Worker Loader on your site.
    Do you or anyone else uses the ManageWP service to maintain your site?
    Please note that this plugin gives admin access to the ManageWP service.

    Lastly, I recommend that you first disable all the plugins except WooCommerce.
    Then update the WooCommerce to the latest version and see if you face any issues.
    Then if everything works fine, enable plugins one by one and check the site after each plugin.
    The goal here is to check if there is a plugin that is incompatible with the latest WooCommerce version.

    Please ensure you have a full site backup before making these changes.
    Let me know about your findings. ??

    Best regards.

    Thread Starter rickjohnsongraffix

    (@rickjohnsongraffix)

    Thanks for the quick reply. I have Updraft site backups, but hope I don’t end up enabling a plugin that makes me unable to log into my site again (my web host restored me last time). I really don’t want to delete the site, then reinstall WordPress, but I’ll proceed with caution to troubleshoot this.

    I don’t even know what “ManageWP – worker loader” is. Maybe it’s related to the WP mobile app I tried but don’t use, or perhaps it’s associated with Temporary Login Without Password Plugin which I’ve used with a couple of other plugin issues? I manage it only via a web browser.

    I do have a number of fatal errors:

    ‘2024-06-06T18:25:15+00:00 INFO Plugin woocommerce-legacy-rest-api/woocommerce-legacy-rest-api.php v1.0.4 installed by WooCommerce, source: https://downloads.www.ads-software.com/plugin/woocommerce-legacy-rest-api.latest-stable.zip CONTEXT: {“recorded_data”:{“version”:”1.0.4″,”date”:”2024-06-06 13:25:15″,”metadata”:{“info_link”:”https:\/\/developer.woocommerce.com\/2023\/10\/03\/the-legacy-rest-api-will-move-to-a-dedicated-extension-in-woocommerce-9-0\/”}}} 2024-06-06T18:25:15+00:00 INFO WooCommerce activated the Legacy REST API plugin in this site.’

    ‘2024-06-06T19:38:41+00:00 CRITICAL Cannot redeclare WC() (previously declared in /var/www/vhosts/rj-graffix.com/httpdocs/wp-content/plugins/woocommerce/woocommerce.php:47) in /var/www/vhosts/rj-graffix.com/httpdocs/wp-content/plugins/woocommerce-LAST/woocommerce.php on line 50 2024-06-06T19:38:42+00:00 CRITICAL Uncaught Exception: Could not find asset registry for wp-admin-scripts in /var/www/vhosts/rj-graffix.com/httpdocs/wp-content/plugins/woocommerce-LAST/src/Internal/Admin/WCAdminAssets.php:143 Stack trace: #0 /var/www/vhosts/rj-graffix.com/httpdocs/wp-content/plugins/woocommerce-LAST/src/Internal/Admin/WCAdminAssets.php(468): Automattic\WooCommerce\Internal\Admin\WCAdminAssets::get_script_asset_filename() #1 /var/www/vhosts/rj-graffix.com/httpdocs/wp-content/plugins/woocommerce-LAST/src/Admin/PluginsHelper.php(614): Automattic\WooCommerce\Internal\Admin\WCAdminAssets::register_script() #2 /var/www/vhosts/rj-graffix.com/httpdocs/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Admin\PluginsHelper::maybe_enqueue_scripts_for_connect_notice_in_plugins() #3 /var/www/vhosts/rj-graffix.com/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /var/www/vhosts/rj-graffix.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /var/www/vhosts/rj-graffix.com/httpdocs/wp-admin/admin-header.php(118): do_action() #6 /var/www/vhosts/rj-graffix.com/httpdocs/wp-admin/plugins.php(624): require_once(‘…’) #7 {main} thrown in /var/www/vhosts/rj-graffix.com/httpdocs/wp-content/plugins/woocommerce-LAST/src/Internal/Admin/WCAdminAssets.php on line 143′

    I also got an email from WordPress alerting me to a site error that I don’t understand:

    ‘Error Details
    =============
    An error of type E_ERROR was caused in line 72 of the file /var/www/vhosts/rj-graffix.com/httpdocs/wp-content/plugins/54ec1a502a0b9be8e28db52e2e88c41f-05ee58b654c9ee70bbdf414ed044d26da03e6db9/registration-order-link-for-woocommerce.php. Error message: Uncaught Error: Call to undefined function is_ajax() in /var/www/vhosts/rj-graffix.com/httpdocs/wp-content/plugins/54ec1a502a0b9be8e28db52e2e88c41f-05ee58b654c9ee70bbdf414ed044d26da03e6db9/registration-order-link-for-woocommerce.php:72
    Stack trace:
    #0 /var/www/vhosts/rj-graffix.com/httpdocs/wp-content/plugins/54ec1a502a0b9be8e28db52e2e88c41f-05ee58b654c9ee70bbdf414ed044d26da03e6db9/registration-order-link-for-woocommerce.php(93): WC_Registration_Order_Link->__construct()
    #1 /var/www/vhosts/rj-graffix.com/httpdocs/wp-content/plugins/54ec1a502a0b9be8e28db52e2e88c41f-05ee58b654c9ee70bbdf414ed044d26da03e6db9/registration-order-link-for-woocommerce.php(204): WC_Registration_Order_Link::instance()
    #2 /var/www/vhosts/rj-graffix.com/httpdocs/wp-includes/class-wp-hook.php(324): wc_registration_order_link()
    #3 /var/www/vhosts/rj-graffix.com/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #4 /var/www/vhosts/rj-graffix.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #5 /var/www/vhosts/rj-graffix.com/httpdocs/wp-settings.php(550): do_action()
    #6 /var/www/vhosts/rj-graffix.com/httpdocs/wp-config.php(87): require_once(‘…’)
    #7 /var/www/vhosts/rj-graffix.com/httpdocs/wp-load.php(50): require_once(‘…’)
    #8 /var/www/vhosts/rj-graffix.com/httpdocs/wp-admin/admin-ajax.php(22): require_once(‘…’)
    #9 {main}
    ?thrown’

    It looks like there’s a problem with the “Registration Order Link for WooCommerce” plugin, which is supposed to allow users to access their My Account without having to register first. It only works some of the time, is at version 1.0.0, and the plugin site no longer exists. Perhaps WooCommerce already addressed this issue, but I’ll plan on disabling this plugin.

    Thanks! — Rick

    Hey, @rickjohnsongraffix! Thanks for the information.

    It looks like there’s a problem with the “Registration Order Link for WooCommerce” plugin, which is supposed to allow users to access their My Account without having to register first. It only works some of the time, is at version 1.0.0, and the plugin site no longer exists. Perhaps WooCommerce already addressed this issue, but I’ll plan on disabling this plugin.

    Yes, it seems this plugin is causing the critical error. Please note this plugin is not ours, so we do not provide support for it, nor are we responsible for updating it.

    Please deactivate it and all other plugins you are not using anymore. Having too many plugins increase the chances of having conflicts and causing issues like this. So it is best to only keep the plugins you are currently using.

    The fatal error you shared indicates that WooCommerce is being declared more than once, possibly due to multiple versions or duplicate files.

    Besides removing all plugins you are not using, I recommend deactivating Woo and removing it, don’t worry, you won’t lose any data, and then installing a new fresh version with the latest update to check if the issue persists.

    Please let us know how it goes.

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter rickjohnsongraffix

    (@rickjohnsongraffix)

    I’m still having trouble trying to do the steps required. For now I cannot even go back to WooCommerce 8.2.2 (which used to allow my site to at least operate 90%) because I get this error:

    [blocked] The page at https://rj-graffix.com/wp-admin/plugins.php?plugin=woocommerce%2Fwoocommerce.php was not allowed to display insecure content from https://rj-graffix.com/wp-content/uploads/2016/04/favicon-2.png.

    Is there a way to change that http to https? Should that fix this error?

    Thanks for your guidance.

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi again @rickjohnsongraffix,

    Thanks for getting back to us with further details on this.

    I’m still having trouble trying to do the steps required. For now I cannot even go back to WooCommerce 8.2.2 (which used to allow my site to at least operate 90%) because I get this error:

    Are you able to log into your WordPress dashboard without any issues? If you are, are you able to access your plugin area?

    Could you please confirm to having disabled all other plugins and trying to update WooCommerce from your plugin dashboard? I’d appreciate it if you could share a screen recording of how it behaves once you try updating the WooCommerce plugin. You can use this tool to record your screen and share the link with us here.

    [blocked] The page at https://rj-graffix.com/wp-admin/plugins.php?plugin=woocommerce%2Fwoocommerce.php was not allowed to display insecure content from https://rj-graffix.com/wp-content/uploads/2016/04/favicon-2.png.

    The above shared error seems to be related to a security issue. Could you please confirm if you have an active SSL certificate installed in your site?

    If you’re unsure about the SSL certificate, I recommend reaching out to your host, and they can be able to assist you further with installing one if you do not have one.

    Is there a way to change that http to https? Should that fix this error?

    The best way to do this is by setting up an SSL certificate for your site, if you haven’t already, and forcing all traffic to use HTTPS.

    Looking forward to your reply.

    Thread Starter rickjohnsongraffix

    (@rickjohnsongraffix)

    Yes, I do have an SSL certificate which I paid for and my web host maintains.

    Here is a link to a screen recording: https://rj-graffix.com/software/plugins/videos/woo-update.mp4

    I don’t know what’s going on but I cannot view this with Mac Safari (get a “Forbidden” error — maybe it’s related to the other site errors), but can view it with Mac Chrome.

    I do have WP Software License plugin running, but I know from experience that it does not change anything. I need to keep it running to manage licenses independent from WordPress.

    I changed the theme to generic 2024, updated Woo Commerce, then went to the site. It looks wrong, but that’s due to the proper theme missing. Going to a sub page returns a Forbidden error. Then going back to the home page shows the Red Hat Linux test page. Emptying cache does not help. Finally, I opened Safari’s Web Inspector window to show two 403 errors.

    When I FTP an older version of WooCommerce to WordPress’s plugins folder, I can log into my dashboard and restore the site to working condition. That process takes over an hour, though, which keeps the site inaccessible until I enable plugins with the older WC version. This time, however, with Woo Commerce 8.4.0, the site still shows the Red Hat error on Mac Safari, but Mac Chrome is OK. Other users with Edge under Windows 10 have gotten the Red Hat error, which persists until the site is reverted to an older Woo Commerce and cache is purged.

    Does any of what is happening here even make sense? — Thanks!

    Thread Starter rickjohnsongraffix

    (@rickjohnsongraffix)

    I re-uploaded the older (8.4.0) version of Woo Commerce to my site and now everything is accessible from Mac Safari again, including the MP4 videos. Could there be something in the woocommerce folder that affects even videos in a totally separate part of the site? Could it take 10-20-30 minutes to take effect?

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @rickjohnsongraffix

    Thanks for sharing further details and video for better understanding the issue.

    It seems like there might be a conflict between your SSL certificate, the WooCommerce plugin, and your web browser. It’s quite unusual for a plugin to affect the accessibility of videos on a separate part of the site.

    Could you please manually update WooCommerce to the latest version and then flush the permalink settings? To do so, download WooCommerce and then manually upload it using FTP. Once you’ve completed that, go to Settings > Permalinks and hit “save changes”. You don’t need to change anything there.

    Additionally, head over to WooCommerce → Status → Tools, and do the following:

    • WooCommerce transients – Clear
    • Expired transients – Clear
    • Clear template cache – Clear
    • Capabilities – Reset Capabilities
    • Clear customer sessions -Clear
    • Product lookup tables – Regenerate
    • Regenerate the product attributes lookup table – Regenerate

    Next, please clear your browser cache and then check again.

    I hope this helps! Please let us know how it goes or if you need further assistance.

    Thread Starter rickjohnsongraffix

    (@rickjohnsongraffix)

    I uploaded the new WooCommerce and cleared my browser cache, but when I logged into the dashboard I got another Forbidden error.

    I reverted to WooCommerce 8.4.0 and did the steps you listed, then put WooCommerce 9.0.1 back. When I try to log in I get the Forbidden error 403 again. The Inspector window shows these errors:

    [Error] Failed to load resource: the server responded with a status of 403 () (login, line 0)
    [Error] Failed to load resource: the server responded with a status of 403 () (favicon.ico, line 0)

    When I look in the httpdocs directory in Fetch I don’t see any items named login or favicon.ico. Are they virtual items that should be defined somewhere but are not?

    I’m back at WC 8.4 again. Thanks for the suggestions. — Rick

    Thread Starter rickjohnsongraffix

    (@rickjohnsongraffix)

    It may be helpful that my WordPress emailed me this when Woo Commerce 9 was first installed:

    Error Details

    An error of type E_ERROR was caused in line 28 of the file /var/www/vhosts/rj-graffix.com/httpdocs/wp-content/plugins/woocommerce/woocommerce.php. Error message: Uncaught Error: Failed opening required ‘/var/www/vhosts/rj-graffix.com/httpdocs/wp-content/plugins/woocommerce/src/Autoloader.php’ (include_path=’.:/opt/plesk/php/8.1/share/pear’) in /var/www/vhosts/rj-graffix.com/httpdocs/wp-content/plugins/woocommerce/woocommerce.php:28
    Stack trace: 0 /var/www/vhosts/rj-graffix.com/httpdocs/wp-settings.php(517): include_once() 1 /var/www/vhosts/rj-graffix.com/httpdocs/wp-config.php(93): require_once(‘…’) 2 /var/www/vhosts/rj-graffix.com/httpdocs/wp-load.php(50): require_once(‘…’) 3 /var/www/vhosts/rj-graffix.com/httpdocs/wp-login.php(12): require(‘…’) 4 {main}

    thrown

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @rickjohnsongraffix

    Thanks for sharing further details.

    [Error] Failed to load resource: the server responded with a status of 403 () (login, line 0)
    [Error] Failed to load resource: the server responded with a status of 403 () (favicon.ico, line 0)

    The error 403 typically indicates a permissions issue. This means that the server understood the request but refused to authorize it. This could be due to various reasons, such as incorrect file permissions, .htaccess rules, or server configuration.

    An error of type E_ERROR was caused in line 28 of the file /var/www/vhosts/rj-graffix.com/httpdocs/wp-content/plugins/woocommerce/woocommerce.php. Error message: Uncaught Error: Failed opening required ‘/var/www/vhosts/rj-graffix.com/httpdocs/wp-content/plugins/woocommerce/src/Autoloader.php’ (include_path=’.:/opt/plesk/php/8.1/share/pear’) in /var/www/vhosts/rj-graffix.com/httpdocs/wp-content/plugins/woocommerce/woocommerce.php:28

    It indicates an issue with the WooCommerce plugin not being able to open the Autoloader.php file. This could be due to various reasons, such as incorrect file permissions, a corrupted file, or issues with your hosting environment.

    Here’s what you can do to troubleshoot:

    1. Re-upload the WooCommerce plugin: This will ensure all files are intact and correct. You can download the latest version of WooCommerce from the WordPress plugin repository and upload it to your server via FTP.
    2. Check file permissions: Ensure that the file permissions for your entire WordPress installation, including the WooCommerce plugin, are correct. The recommended file permissions are typically 755 for directories and 644 for files.
    3. Contact your hosting provider: If the issue persists after re-uploading the plugin and checking file permissions, there may be a problem with your server configuration. Your hosting provider should be able to help you investigate this.

    I hope this helps. Please let us know how it goes.

    Thread Starter rickjohnsongraffix

    (@rickjohnsongraffix)

    Thanks for the advice. I re-uploded WooCommerce, with no change in behavior. There were no WooCommerce fatal error logs recorded while WooCommerce 9 was in place and the site was unusable.

    I asked my web host about permissions and he ran a script that showed that I have the permissions for every file and folder within WordPress.

    He also said that every site on his server has trouble with newer versions of Woo Commerce, and his advice is not update. Maybe that’s an indication that there’s a server-level setting that affects everybody there, but that’s just the environment I’m running in for the foreseeable future.

    As for the original problem with Woo Commerce not saving allowed emails for coupons, my developer inspector window (console) shows this when I try to add an address:

    [Error] XMLHttpRequest cannot load https://rj-graffix.com/wp-admin/admin-ajax.php due to access control checks.
    send (jquery.min.js:2:80630)
    ajax (jquery.min.js:2:76172)
    (anonymous function) (jquery-migrate.min.js:2:4777)
    l (heartbeat.min.js:2:1507)
    (anonymous function) (heartbeat.min.js:2:2724)
    [Log] JQMIGRATE: Migrate is installed, version 3.4.1 (jquery-migrate.min.js, line 2)
    [Warning] [blocked] The page at https://rj-graffix.com/wp-admin/post.php?post=7139&action=edit was not allowed to display insecure content from https://rj-graffix.com/wp-content/uploads/2016/04/favicon-2.png. (x2)

    Going back to the “insecure content” item, does that just block display of the site icon, or can it block saving emails? I do have SSL installed on my site. I ran a search-and-replace for hard references to “https://rj-graffix.com&#8221; and there are none. Looking at the image in WordPress’s image browser, its URL is displayed as https:// even though the entire site should be https://. Where could that mixup happen if the site has real SSL applied, not just an SSL plugin? The image does display in my Safari browser tabs and in normal web pages — the error appears from within the WordPress dashboard.

    Thanks

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @rickjohnsongraffix

    The error message “access control checks” is related to Cross-Origin Resource Sharing (CORS), a security measure that prevents resources from being loaded from different domains, subdomains, ports, or protocols. In your case, it seems like your site is trying to load resources from both https:// and https:// protocols, which is causing the error.

    The “insecure content” warning is related to this issue. Your site is likely attempting to load resources over https:// even though it’s served over https://. This is known as mixed content and can lead to problems like the one you’re experiencing.

    Here’s what you can do to troubleshoot:

    1. Check your WordPress Address (URL) and Site Address (URL) in your WordPress settings and ensure that they both start with https://.
    2. There are several plugins available that can help you identify and fix mixed content issues, such as the Really Simple SSL.
    3. If the URL of the favicon is still served over https://, you might need to update it manually or reupload it again.
    4. If the issue persists after following these steps, there might be a server-level configuration that needs to be adjusted. Your hosting provider should be able to help you with this.

    As for the issue with WooCommerce not saving allowed emails for coupons, this might be related to the mixed content issue. Once you’ve resolved that, try again and see if the problem persists.

    I hope this helps. Please let us know how it goes.

    Thread Starter rickjohnsongraffix

    (@rickjohnsongraffix)

    The mixed http/https issue was indeed in the WordPress settings as you suggested. Thanks for that! Going back to the Marketing > Coupons page, adding an email produces no errors in the console window, but still no email is saved. Installing WooCommerce 9 still disables the entire site as before.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @rickjohnsongraffix

    The mixed http/https issue was indeed in the WordPress settings as you suggested. Thanks for that!

    That’s great to hear! Thanks for letting us know. I am glad that we could address your issue.

    Going back to the Marketing > Coupons page, adding an email produces no errors in the console window, but still no email is saved.

    Can you head over to WooCommerce → Status → Tools, and do the following:

    • WooCommerce transients – Clear
    • Expired transients – Clear
    • Clear template cache – Clear
    • Capabilities – Reset Capabilities
    • Clear customer sessions -Clear

    Next, please clear your browser and site cache and then try again.

    Installing WooCommerce 9 still disables the entire site as before.

    As your hosting provider suggests, there might be a compatibility issue on the server end. However, to troubleshoot the issue further, please share a copy of any fatal error log found under WooCommerce → Status → Logs.

    You could copy and paste your reply or share it via Mozilla Community Pastebin and share the link here.

    Looking forward to hearing from you soon.

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