When clicking global attributes, I get a page not found error
-
We are making a model website for a customer.
I have created a number of products (paintings) and they have categories, but they also have attributes. These are defined globally: year of creation of the painting, artist, type of work.
The categories are origin, if they are in the current exhibition, abstract, figurative etc.. When I view a product, I see its category, and clicking the category brings me to page with all paintings for that category.
When I do the same with attributes, I get an error message saying:
OOPS! THAT PAGE CAN’T BE FOUND.
Nothing was found at this location. Try searching, or check out the links below.It is Theme independent, since it also happens when I use the Storefront theme.
Any ideas?
The page I need help with: [log in to see the link]
-
Hello,
This sounds like a conflict issue. I understand you’ve tried switching theme to Storefront, but to rule out any plugin/theme conflicts, can you switch to Storefront and deactivated all plugins except WooCommerce? You can find a more detailed explanation on how to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/
Hi Maykato. That is a very common and wise suggestion. But alas. I disabled all plugins except Woocommerce itself. And I am running the site on the Storefront template. So something else must be causing this.
I might add for clarification that the search function works correctly and returns the correct products based on attributes.
Wouter Pinkhof
- This reply was modified 2 years, 6 months ago by wouterpinkhof.
Never mind. Thanks for testing that.
the search function works correctly and returns the correct products based on attributes
Then where is the error occurring? If you could please share a screenshot that shows the problem, that would be very helpful. On the page you shared I clicked on the individual categories and they worked as expected. But I wasn’t sure where to click for attributes.
* We recommend https://snipboard.io for easily sharing screenshots – please follow the instructions on that page, then paste the URL in this thread.
In addition, please also share a copy of your site’s System Status. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
This is a page with a product: https://snipboard.io/4hoSRg.jpg
In the section “Bijkomende informatie”, you see the three attributes. One of them is “kunstenaar’ (= artist). It’s clickable, and when you click it, you should see a page with all products from this artist.But you get this instead : https://snipboard.io/18XQFW.jpg
this is the system report:
### WordPress Environment ### WordPress address (URL): https://zigzag.pinkhweb.be Site address (URL): https://zigzag.pinkhweb.be WC Version: 6.4.1 REST API Version: ? 6.4.1 WC Blocks Version: ? 7.2.2 Action Scheduler Version: ? 3.4.0 WC Admin Version: ? 3.3.2 Log Directory Writable: ? WP Version: 5.9.3 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: nl_BE External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.29 PHP Post Max Size: 16 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.29.0 NSS/3.53.1 SUHOSIN Installed: – MySQL Version: 5.5.5-10.1.48-MariaDB Max Upload Size: 16 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.4.1 WC Database Prefix: BRP6M_ Totale databasegrootte: 5.70MB Database datagrootte: 3.48MB Database index grootte: 2.22MB BRP6M_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB BRP6M_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB BRP6M_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB BRP6M_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB BRP6M_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB BRP6M_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB BRP6M_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB BRP6M_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB BRP6M_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB BRP6M_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB BRP6M_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB BRP6M_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB BRP6M_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB BRP6M_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB BRP6M_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB BRP6M_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB BRP6M_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_ngg_album: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_ngg_gallery: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_ngg_pictures: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_options: Data: 2.02MB + Index: 0.06MB + Engine InnoDB BRP6M_postmeta: Data: 0.20MB + Index: 0.09MB + Engine InnoDB BRP6M_posts: Data: 0.11MB + Index: 0.06MB + Engine InnoDB BRP6M_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB BRP6M_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB BRP6M_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB BRP6M_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB BRP6M_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB BRP6M_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB BRP6M_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB BRP6M_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB BRP6M_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB BRP6M_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB BRP6M_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB BRP6M_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB BRP6M_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB BRP6M_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB BRP6M_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB BRP6M_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_yoast_indexable: Data: 0.06MB + Index: 0.09MB + Engine InnoDB BRP6M_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB BRP6M_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB BRP6M_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB BRP6M_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ### Post Type Counts ### attachment: 13 customize_changeset: 3 elementor_font: 1 elementor_library: 3 nav_menu_item: 1 page: 9 post: 2 product: 8 revision: 54 wp_global_styles: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (1) ### WooCommerce: door Automattic – 6.4.1 ### Inactive Plugins (8) ### All-in-One WP Migration: door ServMask – 7.59 Elementor: door Elementor.com – 3.6.5 Elementor Pro: door Elementor.com – 3.6.5 Limit Login Attempts Reloaded: door Limit Login Attempts Reloaded – 2.25.1 NextGEN Gallery: door Imagely – 3.26 Really Simple SSL: door Really Simple Plugins – 5.3.1 Yoast Duplicate Post: door Enrico Battocchi & Team Yoast – 4.4 Yoast SEO: door Team Yoast – 18.8 ### Dropin Plugins (1) ### maintenance.php: maintenance.php ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: left_space Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Winkelbasis: #17 - /index.php/winkel/ Winkelmand: #18 - /index.php/winkelwagen/ Afrekenen: #19 - /index.php/afrekenen/ Mijn account: #20 - /index.php/mijn-account/ Algemene voorwaarden: ? Pagina niet ingesteld ### Theme ### Name: Storefront Version: 4.1.0 Author URL: https://woocommerce.com/ Child Theme: ? – Als je wijzigingen aanbrengt in WooCommerce of in een hoofdthema dat je niet zelf gebouwd hebt raden we het gebruik van een child thema aan. Zie: Hoe maak je een child thema WooCommerce Support: ? ### Templates ### Overrides: – ### Action Scheduler ### Afgerond: 38 Oldest: 2022-04-20 13:48:42 +0000 Newest: 2022-05-07 07:19:58 +0000 ### Status report information ### Generated at: 2022-05-07 20:41:27 +00:00
Hello,
Thanks for sending this info.
Can you please send us a screenshot via https://snipboard.io of your product attributes under
WP Dashboard > products > attributes
?Also, send us a screenshot of your product
Be quiet
attribute section?Finally, please share a copy of any fatal error log found under
WooCommerce > System Status > Logs
(if any).Thanks.
OK, here it goes:
attributes from the dashboard –> products:
https://snipboard.io/1xl6QK.jpgattributes for te painting bequiet from its product page:
https://snipboard.io/KqNQ87.jpgThere is no fatal error log in system status. Just two image regeneration logs and a test log (empty).
Kind regards,
Wouter Pinkhof
- This reply was modified 2 years, 6 months ago by wouterpinkhof.
Hello,
Thanks for sharing the screenshots.
Everything seems to be OK, so this might be related to the permalink settings.
Please see this guide for additional information: https://woocommerce.com/document/permalinks/
Make sure the Product attribute base field in WordPress > Settings > Permalinks is empty and try again.
Let us know how it goes
Hmm. Not sure what you mean by asking to make the permalinks settings empty.
Here is what it looks like:
https://snipboard.io/iopRQ3.jpgPlease clarify which action you believe I should take, i.e. which field I should empty.
Kind regards,
Wouter Pinkhof
Not sure what you mean by asking to make the permalinks settings empty
I meant the Producteigenschap basis, but I see it’s already empty.
What caught my eye in your screenshot was the Custom structure (Aangepaste structuur) that you’ve added.
Particularly the
index.php
, that is being added to all URLs.
Link to image: https://snipboard.io/N4ns6K.jpgFor the purposes of troubleshooting, I would suggest that you switch to Post name (Berichtnaam) and check if the issue persists.
Please let us know.
Great Paulo. That did it. Not sure where the index.php thing came from. Surely not something I put there.
I can now continue to work on the site.
Kind regards,
Wouter Pinkhof
I can now continue to work on the site.
Thanks for letting us know.
I’ll go ahead and mark the thread as resolved.
Please feel free to create a new thread if you have other questions.
Cheers
- The topic ‘When clicking global attributes, I get a page not found error’ is closed to new replies.