• Resolved kruddock

    (@kruddock)


    I migrated our site over to a new domain, but I have been unable to view a single product page on any product from either the admin->products->all products->(choose any product and view), or traversing through the website’s shop product categories and selecting a single product. Each time I try it takes me back to the shop page.

    I have tried running permalinks several times, clearing cache, looking at error logs.

    I have no problem viewing from our old domain with the same plugins installed.

    When I inspect the web page’s product url it looks fine.
    I would appreciate ideas on what to examine next to continue this troubleshoot.

    Is there a central php file repsonsible for bulding the single product page that I should be looking? I’ve been using https://www.businessbloomer.com/woocommerce-visual-hook-guide-single-product-page/ to help search, but I’m not sure where to look for these hooks.

    • This topic was modified 2 years, 5 months ago by kruddock.

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

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Support Daniyal Ahmed (a11n)

    (@daniyalahmedk)

    Hi there,

    Thanks for reaching out.

    This kind of problem is usually caused by a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Best,

    Thread Starter kruddock

    (@kruddock)

    Hello thanks for the response, but as mentioned this was a site migration. All themes and plugins remained the same. The old site works perfectly.

    I did try switching themes to storefront, but this made no difference trying to reach the single product page. I tried disabling some plugins, but I felt this was the wrong approach as the plugins are the same on both sites.

    I’ve since discovered that the files under woocommerce/templates … single-product.php and content-single-product.php are responsible for rendering the page I am unable to view.

    I’ve tried placing this php at the start of the file to see if the template gets hit, but it appears that this php is not invoked… Do you have other suggestions?

    echo ‘single-product’;
    die;

    • This reply was modified 2 years, 5 months ago by kruddock.
    • This reply was modified 2 years, 5 months ago by kruddock.

    Hi @kruddock!

    Thank you for the clarification.

    To know more about your setup and further check into this, kindly provide us the following:

    • Your System Status: You can find it via WooCommerce > Status. Select ‘Get system report’ and then ‘Copy for support’. Once you do this, you can paste here your response.
    • Fatal Error Log: Share a copy of any fatal error log found under WooCommerce > System Status > Logs (if available).
    • Thanks!

    Thread Starter kruddock

    (@kruddock)

    System Status

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://volkelstore.com
    Site address (URL): https://volkelstore.com
    WC Version: 6.6.1
    REST API Version: ? 6.6.1
    WC Blocks Version: ? 7.6.2
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: 6.0
    WP Multisite: –
    WP Memory Limit: 768 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.29
    PHP Post Max Size: 2 GB
    PHP Time Limit: 0
    PHP Max Input Vars: 16384
    cURL Version: 7.29.0
    NSS/3.53.1
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.28-MariaDB
    Max Upload Size: 2 GB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.6.1
    WC Database Prefix: wp_
    Total Database Size: 443.60MB
    Database Data Size: 411.84MB
    Database Index Size: 31.76MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cerber_acl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cerber_blocks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cerber_countries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cerber_lab: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cerber_lab_ip: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cerber_lab_net: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cerber_log: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
    cerber_qmem: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cerber_traffic: Data: 0.19MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.09MB + Index: 0.13MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_ariadminer_connections: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_bv_activities_store: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_bv_fw_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_bv_ip_store: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_bv_lp_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cerber_files: Data: 7.55MB + Index: 0.00MB + Engine InnoDB
    wp_cerber_sets: Data: 6.52MB + Index: 0.00MB + Engine InnoDB
    wp_cerber_uss: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_check_email_log: Data: 116.52MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.27MB + Index: 0.30MB + Engine InnoDB
    wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fbv: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fbv_attachment_folder: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_itsec_bans: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_itsec_dashboard_events: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    wp_itsec_distributed_storage: Data: 5.02MB + Index: 0.02MB + Engine InnoDB
    wp_itsec_fingerprints: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_itsec_geolocation_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_itsec_lockouts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_itsec_logs: Data: 6.27MB + Index: 2.63MB + Engine InnoDB
    wp_itsec_mutexes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_itsec_opaque_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_itsec_temp: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_itsec_user_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mclean_refs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mclean_scan: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mgmlp_folders: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_customer_pairs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_paymentmethod_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_payment_id_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_product_pairs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_qbo_customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_qbo_items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_real_time_sync_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_real_time_sync_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_shipping_product_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_tax_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_variation_pairs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_mw_wc_qbo_sync_wq_cf_map: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_options: Data: 33.45MB + Index: 0.16MB + Engine InnoDB
    wp_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_hash: Data: 5.52MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_images: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_imports: Data: 0.30MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_templates: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
    wp_postmeta: Data: 65.55MB + Index: 18.03MB + Engine InnoDB
    wp_posts: Data: 25.52MB + Index: 1.38MB + Engine InnoDB
    wp_realmedialibrary: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_realmedialibrary_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_realmedialibrary_posts: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
    wp_realmedialibrary_resetnames: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_realmedialibrary_tmp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_realphysicalmedia_log: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_realphysicalmedia_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_realphysicalmedia_seo: Data: 2.52MB + Index: 0.28MB + Engine InnoDB
    wp_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_simple_history: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_simple_history_contexts: Data: 0.42MB + Index: 0.14MB + Engine InnoDB
    wp_sirv_fetching_errors: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_sirv_images: Data: 0.23MB + Index: 0.02MB + Engine InnoDB
    wp_sirv_shortcodes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_smush_dir_images: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_termmeta: Data: 0.11MB + Index: 0.16MB + Engine InnoDB
    wp_terms: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wp_term_relationships: Data: 1.52MB + Index: 1.52MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_usermeta: Data: 0.13MB + Index: 0.06MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wccs_conditions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wccs_condition_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.38MB + Index: 0.28MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 1.52MB + Index: 1.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wdp_orders: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wdp_order_items: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wdp_rules: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woo_shippment_provider: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_wpf_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmerge_inc_exc_contents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpmerge_log_queries: Data: 1.52MB + Index: 0.16MB + Engine InnoDB
    wp_wpmerge_options: Data: 0.11MB + Index: 0.02MB + Engine InnoDB
    wp_wpmerge_process_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmerge_relog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmerge_unique_ids: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpml_mails: Data: 113.52MB + Index: 0.00MB + Engine InnoDB
    wp_wpmm_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpstg_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wtbp_columns: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wtbp_favorites: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wtbp_modules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wtbp_modules_type: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wtbp_tables: Data: 3.52MB + Index: 0.00MB + Engine InnoDB
    wp_wtbp_usage_stat: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wt_iew_action_history: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
    wp_wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_indexable: Data: 9.52MB + Index: 2.64MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.36MB + Index: 0.47MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_prominent_words: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 838
    custom_css: 1
    customize_changeset: 4
    elementor_library: 7
    itsec-dash-card: 15
    itsec-dashboard: 2
    mc4wp-form: 1
    mgmlp_media_folder: 32
    nav_menu_item: 362
    oembed_cache: 28
    page: 15
    post: 1
    product: 5952
    revision: 1173
    shop_coupon: 2
    shop_order: 20
    shop_order_refund: 1
    wc_order_email: 1
    wc_order_status: 8
    wp_global_styles: 1
    wpcf7_contact_form: 4
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (51) ###
    
    Application Passwords: by George Stephanis – 0.1.3
    ARI Adminer: by ARI Soft – 1.2.3
    Better Search Replace: by Delicious Brains – 1.4
    Categories Images: by Muhammad El Zahlan – 3.0.1
    Check & Log Email: by WPChill – 1.0.6
    Contact Form 7: by Takayuki Miyoshi – 5.6
    Elementor: by Elementor.com – 3.6.6
    Health Check & Troubleshooting: by The www.ads-software.com community – 1.4.5
    iThemes Security Pro: by iThemes – 7.1.3
    Kirki Customizer Framework: by David Vongries – 4.0.24
    MC4WP: Mailchimp for WordPress: by ibericode – 4.8.7
    MalCare WordPress Security Plugin - Malware Scanner, Cleaner, Security Firewall: by MalCare Security – 4.78
    Martfury Addons: by DrFuri – 2.2.8
    Media File Renamer: by Jordy Meow – 5.3.9
    Meta Box: by MetaBox.io – 5.6.4
    Migrate To Liquid Web & Nexcess: by Liquid Web – 4.78
    Order Export & Order Import for WooCommerce: by WebToffee – 2.2.4
    Product Import Export for WooCommerce: by WebToffee – 2.2.1
    Real Media Library: by devowl.io – 4.18.8
    Real Physical Media: by devowl.io – 1.5.7
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
    Slider Revolution: by ThemePunch – 6.2.23
    Simple History: by P?r Thernstr?m – 3.3.0
    Sirv: by sirv.com – 6.7.1
    Category Order and Taxonomy Terms Order: by Nsp-Code – 1.6.1
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.22.12
    
    WooCommerce Variation Swatches Pro: by Drfuri – 1.0.6
    Advanced Shipment Tracking for WooCommerce: by zorem – 3.4.4
    Woo Custom and Sequential Order Number: by VJInfotech – 2.6.0
    Preview E-mails for WooCommerce: by Digamber Pradhan – 2.0.2
    Product Table by WooBeWoo: by WooBeWoo – 1.6.0
    Woo Product Table PRO: by WooBeWoo – 1.5.2
    WooCommerce Deals: by Drfuri – 1.0.9
    WooCommerce - Store Exporter: by Visser Labs – 2.7.1
    WooCommerce Moneris Gateway: by SkyVerge – 2.17.3
    WooCommerce Order Status Manager: by SkyVerge – 1.13.3
    WooCommerce Sequential Order Numbers: by SkyVerge – 1.9.6
    WooCommerce Purolator: by WooCommerce – 2.9
    WooCommerce: by Automattic – 6.6.1
    Yoast SEO Premium: by Team Yoast – 17.8
    Yoast SEO: by Team Yoast – 19.1
    WP All Import Pro: by Soflyy – 4.7.3
    WP Cerber Security, Anti-spam & Malware Scan: by Cerber Tech Inc. – 9.0
    WP Crontrol: by John Blackbourn & crontributors – 1.12.1
    WP Mail Logging: by Wysija – 1.10.4
    WP Maintenance Mode & Coming Soon: by Themeisle – 2.4.6
    Smush: by WPMU DEV – 3.10.2
    WP STAGING PRO - Backup Duplicator & Migration: by WP-STAGING – 4.2.6
    WP All Import - WooCommerce Import Add-On Pro: by Soflyy – 3.3.1
    Yoast SEO: WooCommerce: by Team Yoast – 14.5
    YITH WooCommerce Wishlist: by YITH – 3.10.0
    
    ### Inactive Plugins (4) ###
    
    Akismet Anti-Spam: by Automattic – 4.2.4
    User Role Editor: by Vladimir Garagulya – 4.62
    WooCommerce Sync for QuickBooks Online - by MyWorks Software: by MyWorks Software – 2.5.5
    WordPress Backup & Security Plugin - BlogVault: by Backup by BlogVault – 4.78
    
    ### Dropin Plugins (2) ###
    
    advanced-cache.php: advanced-cache.php
    fatal-error-handler.php: fatal-error-handler.php
    
    ### Must Use Plugins (3) ###
    
    aaa-wp-cerber.php: by Cerber Tech Inc. – 1.0
    Health Check Troubleshooting Mode: by  – 1.7.2
    WP STAGING Optimizer: by René Hermenau – 1.5.1
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: –
    Currency: CAD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: simple (simple)
    grouped (grouped)
    variable (variable)
    external (external)
    
    Taxonomies: Product Visibility: exclude-from-search (exclude-from-search)
    exclude-from-catalog (exclude-from-catalog)
    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: ?
    Enforce Approved Product Download Directories: –
    
    ### WC Pages ###
    
    Shop base: #5 - /shop/
    Cart: #6 - /cart/
    Checkout: #7 - /checkout/
    My account: #8 - /my-account/
    Terms and conditions: #4338 - /our-policies/
    
    ### Theme ###
    
    Name: Martfury Child
    Version: 1.0
    Author URL: https://drfuri.com
    Child Theme: ?
    Parent Theme Name: Martfury
    Parent Theme Version: 2.5.0
    Parent Theme Author URL: https://demo2.drfuri.com
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: martfury-child/woocommerce/archive-product.php
    martfury/woocommerce/cart/cart-shipping.php
    martfury/woocommerce/cart/cart-totals.php
    martfury/woocommerce/cart/cart.php
    martfury/woocommerce/cart/mini-cart.php
    martfury/woocommerce/checkout/form-checkout.php
    martfury/woocommerce/checkout/form-coupon.php
    martfury/woocommerce/checkout/form-login.php
    martfury/woocommerce/checkout/terms.php
    martfury/woocommerce/content-product.php
    martfury/woocommerce/content-single-product.php
    martfury/woocommerce/content-widget-product.php
    martfury/woocommerce/global/form-login.php
    martfury/woocommerce/global/quantity-input.php
    martfury/woocommerce/global/wrapper-end.php
    martfury/woocommerce/global/wrapper-start.php
    martfury/woocommerce/loop/add-to-cart.php
    martfury/woocommerce/loop/orderby.php
    martfury/woocommerce/loop/pagination.php
    martfury/woocommerce/myaccount/form-login.php
    martfury/woocommerce/myaccount/form-lost-password.php
    martfury/woocommerce/myaccount/my-address.php
    martfury/woocommerce/single-product/add-to-cart/external.php
    martfury/woocommerce/single-product/add-to-cart/simple.php
    martfury/woocommerce/single-product/add-to-cart/variable.php version 3.6.1 is out of date. The core version is 6.1.0
    martfury/woocommerce/single-product/meta.php
    martfury/woocommerce/single-product/product-image.php
    martfury/woocommerce/single-product/product-thumbnails.php
    martfury/woocommerce/single-product/rating.php
    martfury/woocommerce/single-product/related.php
    martfury/woocommerce/single-product/review-meta.php
    martfury-child/woocommerce/single-product/stock.php
    martfury/woocommerce/single-product/tabs/tabs.php
    martfury/woocommerce/single-product/up-sells.php
    martfury/woocommerce/single-product-reviews.php
    
    Outdated Templates: ?
    					
    					
    						Learn how to update
    
    ### Moneris ###
    
    Environment: Production
    Tokenization Enabled: –
    Debug Mode: Off
    Hosted Tokenization Enabled: 
    Integration Country: ca
    AVS Enabled: 
    AVS Actions: Neither Match: hold
    					Zip Match: hold
    					Street Match: hold
    					Not Verified: hold
    
    CSC Enabled: 
    CSC Required: –
    CSC Actions: No Match - reject
    					Not Verified - reject
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    wc-pay-promotion
    wc-pay-welcome-page
    wc-pay-subscriptions-page
    
    Disabled Features: minified-js
    settings
    
    Daily Cron: ? Next scheduled: 2022-06-28 21:19:19 -07:00
    Options: ?
    Notes: 23
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 225
    Oldest: 2022-05-28 23:51:54 -0700
    Newest: 2022-06-28 11:28:24 -0700
    
    Pending: 1
    Oldest: 2022-06-29 11:28:24 -0700
    Newest: 2022-06-29 11:28:24 -0700
    
    ### Status report information ###
    
    Generated at: 2022-06-28 11:52:30 -07:00
    

    There is no fatal error log.

    Hello,

    I’d need to ask for one more piece of information, please provide the following:

    Share a copy of any fatal error log found under WooCommerce > System Status > Logs (if any).

    Thanks.

    Thread Starter kruddock

    (@kruddock)

    Hello,

    I wrote.. there are no fatal error logs. Sorry none to give you.

    Hello,

    Thanks for the clarification, I understand it is a migration site, but did you run the test as suggested by Daniyal? Did it make any difference?

    If not, can you provide a screenshot of your permalink settings under WP Dashboard > settings > permalinks

    We’ll look forward to hearing from you.

    Thread Starter kruddock

    (@kruddock)

    Permalinks are fine. I’ve compared old site to new. Only the domain has changed.

    Hello @kruddock!

    Permalinks are fine. I’ve compared old site to new. Only the domain has changed.

    Can you please try changing your site’s permalink structure, SAVE CHANGES, and see if the issue gets solved?

    Thread Starter kruddock

    (@kruddock)

    Hello Mashi,

    Good Suggestion,

    Switching permalinks to default works.. single page displays, but
    if I switch it back it no longer works.

    I’m still confused as to why it no longer works with shop base with category permalink structure. Any idea why this stopped working?

    Luminus Alabi

    (@luminus)

    Automattic Happiness Engineer

    Hi @kruddock,

    Please send over a screenshot of your permalink settings, that should help explain what’s going on here and what you may be doing wrong.

    Please ensure that the whole of that permalinks page is included in your screenshot.

    I’d recommend https://snipboard.io for sharing screenshots – please follow the instructions on the page, then paste the URL in your reply here

    Also, the product you’re trying to access at that link can be found here – https://volkelstore.com/product/drr-1-8×28-jis-b4451-vs-a-round-die/

    Thread Starter kruddock

    (@kruddock)

    Hello Luminus,

    The product link you supplied does not work. I get a 404 error when try to use it.

    Here’s a snipboard link permalinks

    Please note that I’ve changed the permalink structure per Mashi’s suggestion.
    My previous permalink structure /shop/%product_cat%/ did not allow for single products to be displayed.

    I have installed a plugin called query monitor and I have taken snapshots of http requests made when I try to view the product from the backend.

    With permalinks set as shop/product-category snipboard link

    With permalinks set as default snipboard image

    Thread Starter kruddock

    (@kruddock)

    I wanted to know which template file is loading, so I investigated what I believe is the
    template loader file.

    In woocommerce plugin file: \woocommerce\includes\class-template-loader.php, I added
    a few debug lines at ~ line 102 of this file.

    error_log(“Mycode ” . $default_file);
    error_log(“Mycode ” . $search_files[0] . $search_files[1]);
    error_log(“Mycode ” . $template);

    What I discovered is that on old site that is working, my debug,log file shows

    [29-Jun-2022 19:06:39 UTC] Mycode single-product.php
    [29-Jun-2022 19:06:39 UTC] Mycode woocommerce.phpsingle-product-drr-1-4×19-jis-b4451-vs-a-round-die.php
    [29-Jun-2022 19:06:39 UTC] Mycode
    /chroot/home/a1b61600/progodirect.com/html/wp-content/plugins/woocommerce/templates/single-product.php

    And on my new site it shows:
    [29-Jun-2022 19:01:33 UTC] Mycode archive-product.php
    [29-Jun-2022 19:01:33 UTC] Mycode woocommerce.phparchive-product.php
    [29-Jun-2022 19:01:33 UTC] Mycode /chroot/home/aa80be2e/6c3e1377e3.nxcli.net/html/wp-content/themes/martfury-child/woocommerce/archive-product.php

    Proving without a doubt that the wrong template is beging loaded for single product page, but I would really like to understand why this is occuring.

    Luminus Alabi

    (@luminus)

    Automattic Happiness Engineer

    Hi @kruddock,

    The product link you supplied does not work. I get a 404 error when try to use it.

    Looks like you’ve changed the permalinks from whatever you had it set to when I was viewing your site, so it isn’t surprising that the link isn’t working after that change

    Here’s a snipboard link permalinks


    Full Size: https://d.pr/i/fXETi9

    It looks like this is what you had on when I looked at the site previously, which is why the URL I provided worked. That doesn’t seem to be what you have on now.

    And on my new site it shows:
    [29-Jun-2022 19:01:33 UTC] Mycode archive-product.php
    [29-Jun-2022 19:01:33 UTC] Mycode woocommerce.phparchive-product.php
    [29-Jun-2022 19:01:33 UTC] Mycode /chroot/home/aa80be2e/6c3e1377e3.nxcli.net/html/wp-content/themes/martfury-child/woocommerce/archive-product.php

    Proving without a doubt that the wrong template is beging loaded for single product page, but I would really like to understand why this is occuring.

    This tells the same story as the System Status Report you provided earlier.

    You have a child theme “Martfury Child” within which you’ve overridden a bunch to templates including the /woocommerce/archive-product.php one, which overrides all other product-related templates

    You can learn more about template hierarchy in WordPress themes here – https://developer.www.ads-software.com/themes/basics/template-hierarchy/. You can zoom in to this section on Custom Post Types that specifically highlights how this template file you have behaves – https://developer.www.ads-software.com/themes/basics/template-hierarchy/#custom-post-types

    Here’s a copy of the relevant section from the System Status Report for you to look at. You may want to do a line-by-line comparison with the site where you mention that everything is working.

    
    ### Theme ###
    
    Name: Martfury Child
    Version: 1.0
    Author URL: https://drfuri.com
    Child Theme: ?
    Parent Theme Name: Martfury
    Parent Theme Version: 2.5.0
    Parent Theme Author URL: https://demo2.drfuri.com
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: martfury-child/woocommerce/archive-product.php
    martfury/woocommerce/cart/cart-shipping.php
    martfury/woocommerce/cart/cart-totals.php
    martfury/woocommerce/cart/cart.php
    martfury/woocommerce/cart/mini-cart.php
    martfury/woocommerce/checkout/form-checkout.php
    martfury/woocommerce/checkout/form-coupon.php
    martfury/woocommerce/checkout/form-login.php
    martfury/woocommerce/checkout/terms.php
    martfury/woocommerce/content-product.php
    martfury/woocommerce/content-single-product.php
    martfury/woocommerce/content-widget-product.php
    martfury/woocommerce/global/form-login.php
    martfury/woocommerce/global/quantity-input.php
    martfury/woocommerce/global/wrapper-end.php
    martfury/woocommerce/global/wrapper-start.php
    martfury/woocommerce/loop/add-to-cart.php
    martfury/woocommerce/loop/orderby.php
    martfury/woocommerce/loop/pagination.php
    martfury/woocommerce/myaccount/form-login.php
    martfury/woocommerce/myaccount/form-lost-password.php
    martfury/woocommerce/myaccount/my-address.php
    martfury/woocommerce/single-product/add-to-cart/external.php
    martfury/woocommerce/single-product/add-to-cart/simple.php
    martfury/woocommerce/single-product/add-to-cart/variable.php version 3.6.1 is out of date. The core version is 6.1.0
    martfury/woocommerce/single-product/meta.php
    martfury/woocommerce/single-product/product-image.php
    martfury/woocommerce/single-product/product-thumbnails.php
    martfury/woocommerce/single-product/rating.php
    martfury/woocommerce/single-product/related.php
    martfury/woocommerce/single-product/review-meta.php
    martfury-child/woocommerce/single-product/stock.php
    martfury/woocommerce/single-product/tabs/tabs.php
    martfury/woocommerce/single-product/up-sells.php
    martfury/woocommerce/single-product-reviews.php
    
    Thread Starter kruddock

    (@kruddock)

    Hello,

    This was a site migration. All themes were copied from the old site to the new site. The martfury theme has not been updated since the migration.

    I’ve gone through the effort of doing a complete file diff on each and every theme template file and woocommerce system status log from each site. Comparing the log and finding little to no difference. However, I’m not sure why I even went ahead and did this as I’ve already mentioned that I tried switching themes to storefront and experienced the same issue with calling the single product page.

    Why is archive-product.php being used to display a single product page is the question.
    I think this needs a higher level of expertise to figure out.

    I called my hosting support people, and hopefully they can shed some light on this mystery.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Unable to view single product page’ is closed to new replies.