• Resolved Steve Szmidt

    (@steveszm)


    Cannot list Products,

    When I click on Products I receive this message:
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    The other Products options pages come up fine, just listing them fails.

    Related
    I renamed the shopping page from shop to store in the same time frame. Checking the new store subdir it’s not as well populated as the original shop. AND when I browse a product the subdir it lists is shop, not store. No doubt it did not make the conversion as I would have hoped. Possibly there already was a store directory when I started renaming the shop page which might have wrecked the logic.

    I renamed the store to store1 and copied shop into store and tried to list products but it still gives the same (above) error. Before I dig a deeper hole I decide to check on this forum. (I doubt it’s WooCommerce related but more likely my renaming.)

    I reached out to the hosting company who pulled the three following warnings:

    Warning: include_once(/home/growpe5/public_html/wp/wp-content/plugins/woocommerce/packages/action-scheduler/action-scheduler.php): failed to open stream: No such file or directory in /home/growpe5/public_html/wp/wp-content/plugins/woocommerce/includes/class-woocommerce.php on line 515

    And indeed the directory action-scheduler is not there, but I do find it under
    shop.growpermaculture.com/wp-content/plugins/woocommerce/packages/action-scheduler/action-scheduler.php.

    Warning: include_once(): Failed opening ‘/home/growpe5/public_html/wp/wp-content/plugins/woocommerce/packages/action-scheduler/action-scheduler.php’ for inclusion (include_path=’.:/opt/cpanel/ea-php74/root/usr/share/pear’) in /home/growpe5/public_html/wp/wp-content/plugins/woocommerce/includes/class-woocommerce.php online 515

    Warning: file_get_contents(/home/growpe5/public_html/wp/wp-content/plugins/woocommerce/packages/woocommerce-blocks/woocommerce-gutenberg-products-block.php): failed to open stream: No such file or directory in /home/growpe5/public_html/wp/wp-includes/functions.php on line 6633

    ### WordPress Environment ###
    
    WordPress address (URL): https://growpermaculture.com/wp
    Site address (URL): https://growpermaculture.com
    WC Version: 6.6.0
    REST API Version: ✔ 6.6.0
    WC Blocks Version: ✔ 7.6.0
    Action Scheduler Version: ❌ Unable to detect the Action Scheduler package.
    Log Directory Writable: ✔
    WP Version: 6.0
    WP Multisite: –
    WP Memory Limit: 256 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: 128 MB
    PHP Time Limit: 90
    PHP Max Input Vars: 1000
    cURL Version: 7.83.1
    OpenSSL/1.1.1o
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.27-MariaDB-log
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 6.6.0
    WC Database Prefix: wput_
    Total Database Size: 56.84MB
    Database Data Size: 53.90MB
    Database Index Size: 2.94MB
    wput_woocommerce_sessions: Data: 0.39MB + Index: 0.02MB + Engine MyISAM
    wput_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_woocommerce_order_itemmeta: Data: 0.03MB + Index: 0.02MB + Engine MyISAM
    wput_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    GP Live: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_actionscheduler_actions: Data: 0.06MB + Index: 0.04MB + Engine MyISAM
    wput_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wput_actionscheduler_logs: Data: 0.05MB + Index: 0.04MB + Engine MyISAM
    wput_aiowps_debug_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_aiowps_events: Data: 0.56MB + Index: 0.08MB + Engine MyISAM
    wput_aiowps_failed_logins: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_aiowps_global_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_aiowps_login_activity: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_aiowps_login_lockdown: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_aiowps_permanent_block: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_comments: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    wput_frm_fields: Data: 0.03MB + Index: 0.01MB + Engine MyISAM
    wput_frm_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_frm_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_frm_item_metas: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_give_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_give_comments: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_give_donationmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_give_donormeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_give_donors: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_give_formmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wput_give_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_give_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wput_give_revenue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_give_sequential_ordering: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_give_sessions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_gla_budget_recommendations: Data: 0.11MB + Index: 0.12MB + Engine MyISAM
    wput_gla_merchant_issues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_gla_shipping_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_gla_shipping_times: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_mailchimp_jobs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wput_options: Data: 22.96MB + Index: 0.11MB + Engine MyISAM
    wput_postmeta: Data: 20.64MB + Index: 0.56MB + Engine MyISAM
    wput_posts: Data: 1.14MB + Index: 0.09MB + Engine MyISAM
    wput_relevanssi: Data: 0.55MB + Index: 0.70MB + Engine MyISAM
    wput_relevanssi_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_relevanssi_stopwords: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wput_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wput_term_relationships: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wput_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_usermeta: Data: 0.08MB + Index: 0.04MB + Engine MyISAM
    wput_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wput_wc_admin_notes: Data: 0.04MB + Index: 0.00MB + Engine MyISAM
    wput_wc_admin_note_actions: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    wput_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wput_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wput_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wput_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_wc_product_attributes_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_wc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wput_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wput_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wput_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_wfblockediplog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_wfblocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_wfconfig: Data: 2.73MB + Index: 0.02MB + Engine MyISAM
    wput_wfcrawlers: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wput_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_wffilemods: Data: 2.08MB + Index: 0.42MB + Engine MyISAM
    wput_wfhits: Data: 0.87MB + Index: 0.15MB + Engine MyISAM
    wput_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_wfissues: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wput_wfknownfilelist: Data: 1.11MB + Index: 0.13MB + Engine MyISAM
    wput_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_wflocs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wput_wflogins: Data: 0.03MB + Index: 0.01MB + Engine MyISAM
    wput_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wput_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wput_wfnotifications: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wput_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_wfstatus: Data: 0.13MB + Index: 0.06MB + Engine MyISAM
    wput_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_wpfm_backup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_yoast_indexable: Data: 0.17MB + Index: 0.08MB + Engine MyISAM
    wput_yoast_indexable_hierarchy: Data: 0.01MB + Index: 0.03MB + Engine MyISAM
    wput_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wput_yoast_primary_term: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wput_yoast_seo_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    
    ### Post Type Counts ###
    
    attachment: 176
    ct_template: 9
    frm_form_actions: 2
    frm_styles: 1
    give_forms: 1
    nav_menu_item: 112
    oxy_user_library: 1
    page: 75
    post: 4
    product: 20
    revision: 250
    shop_coupon: 8
    shop_order: 35
    shop_order_refund: 5
    tribe_events: 16
    tribe_organizer: 4
    tribe_venue: 3
    wp_global_styles: 1
    wpcf7_contact_form: 9
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (26) ###
    
    Akismet Anti-Spam: by Automattic – 4.2.4
    All In One WP Security: by All In One WP Security & Firewall Team – 4.4.12
    Code Snippets: by Code Snippets Pro – 3.1.1
    Contact Form 7: by Takayuki Miyoshi – 5.6
    Custom Post Type UI: by WebDevStudios – 1.12.1
    Potent Donations for WooCommerce: by Aspen Grove Studios – 1.1.7
    Duplicate Menu: by Jonathan Christopher – 0.2.2
    Duplicate Page: by mndpsingh287 – 4.4.8
    Open edX LMS and WordPress integrator (PRO): by eduNEXT – 2.6.1
    Health Check & Troubleshooting: by The WordPress.org community – 1.4.5
    ImageMagick Engine: by Orangelab – 1.7.4
    Jetpack: by Automattic – 11.0
    Mailchimp for WooCommerce: by Mailchimp – 2.6.2
    Oxygen Gutenberg Integration: by Soflyy – 1.4
    Oxygen Elements for WooCommerce: by Soflyy – 2.0
    Oxygen: by Soflyy – 4.0
    Relevanssi: by Mikko Saari – 4.16.0
    The Events Calendar: by The Events Calendar – 5.16.1.1
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.22.12
    
    WC Custom Thank You: by Nicola Mustone – 1.2.1
    Checkout Field Editor for WooCommerce: by ThemeHigh – 1.6.1
    WooCommerce Google Analytics Pro: by SkyVerge – 1.11.1
    WooCommerce PayPal Payments: by WooCommerce – 1.8.1
    WooCommerce: by Automattic – 6.6.0
    Asset CleanUp: Page Speed Booster: by Gabe Livan – 1.3.8.5
    WP Super Cache: by Automattic – 1.7.9
    
    ### Inactive Plugins (1) ###
    
    Yoast SEO: by Team Yoast – 19.1
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Must Use Plugins (1) ###
    
    Health Check Troubleshooting Mode: by  – 1.7.2
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: donation (donation)
    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: –
    Enforce Approved Product Download Directories: ✔
    
    ### WC Pages ###
    
    Shop base: #60 - /store/
    Cart: #63 - /cart/
    Checkout: #65 - /cart/checkout/
    My account: #67 - /cart/my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Twenty Twenty-One
    Version: 1.6
    Author URL: https://wordpress.org/
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### WooCommerce PayPal Payments ###
    
    Onboarded: ✔
    Shop country code: US
    WooCommerce currency supported: ✔
    PayPal card processing available in country: ✔
    Pay Later messaging available in country: ✔
    Webhook status: –
    Vault enabled: ✔
    Logging enabled: ✔
    Reference Transactions: –
    Used PayPal Checkout plugin: –
    
    ### 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-19 00:39:04 -04:00
    Options: ✔
    Notes: 43
    Onboarding: completed
    
    ### Status report information ###
    
    Generated at: 2022-06-18 17:16:51 -04:00
Viewing 3 replies - 16 through 18 (of 18 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi there!

    Thanks for the update and all the useful information shared on this thread.

    Glad to hear you got it working on your staging environment. Now, your next step is to get things fixed on your live site which is the most important move.

    Let us know how that goes and if we can help with anything else!

    Cheers.

    Thread Starter Steve Szmidt

    (@steveszm)

    I’m reaching out to WP-Staging as the Push Changes option does not show up. 🙁
    We’ll see what the code is looking for to show them. Ideally it allows you to do the push changes regardless of detecting anything as multiple conditions could occur where ‘helpful’ logic is preventing you from doing what you need.

    Thread Starter Steve Szmidt

    (@steveszm)

    Solved! In the end Better Search and Replace saved the day by running it on the live site.

    The free version of WC-Staging plugin does not support pushing back from the staged environment to the live one. It also has a 20,000 file limit and it turned out I had ~21,000 which is probably why some links were not updated. I will do some research for this type of plugin to see which one I want to use.

    Thanks again to all that helped!

Viewing 3 replies - 16 through 18 (of 18 total)

The topic ‘Listing products generates server error’ is closed to new replies.