Fatal Error
-
Hello,
I keep getting an internal server error on the Shop homepage. I can access the product pages, but not the shop home. Even when I deactivate all other plugins, I still have this issue.
I can’t add functions or I get a fatal error and I am testing with a function from WooCommerce website like this:
/**
* Replace the home link URL
*/
add_filter( ‘woocommerce_breadcrumb_home_url’, ‘woo_custom_breadrumb_home_url’ );
function woo_custom_breadrumb_home_url() {
return ‘https://smallaxefarm.com/shop/’;
}But this is the error I receive:
[12-May-2020 14:34:33 UTC] PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0
[12-May-2020 14:37:08 UTC] PHP Parse error: syntax error, unexpected ‘ ‘ (T_STRING) in /…/wp-content/themes/small-axe-farm/functions.php on line 8Site was working just fine up until a week or so ago. Everything is green in the status report (except for some plugins that need to be updated, but those are deactivated right now).
Thanks for any help!
The page I need help with: [log in to see the link]
-
Thanks for posting that function. I noticed that this line has two semi-colons at the end:
return 'https://smallaxefarm.com/shop/’;
It looks like the first one should be a
'
instead. That may not be the entire issue, but you’ll want to change that too.Cheers
Thanks. That was a pasting error. Even when it is fixed I still get a critical error. For every single function.
All of the functions used to work and now nothing does.
And the shop page is still giving me a timeout error.
Any ideas?
How about replacing the snippet you shared above with this one below. Does that work?
/** * Replace the home link URL */ add_filter( 'woocommerce_breadcrumb_home_url', 'woo_custom_breadrumb_home_url' ); function woo_custom_breadrumb_home_url() { return 'https://smallaxefarm.com/shop/'; }
I’d recommend reaching out to your WebHost to ensure that you have a complete, working backup of your store before you try the code above.
Alternatively, You can set up a staging site to test by getting in touch with your web host, or using a plugin like https://wordpress.org/plugins/wp-staging/
EDIT: Just realized that the shop page itself does not load. Could you please 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.Along with that, please also share a copy of the full fatal error logs you find under WP Admin > WooCommerce > Status > Logs > Select – Latest Fatal Error Log under drop-down (right side) > Click – View button (you can copy-paste the logs as a response to this thread)
- This reply was modified 3 years, 11 months ago by Aashik P - a11n.
Thanks, I did set up a staging site but I still can’t figure it out.
Everything is green in status report:
### WordPress Environment ### WordPress address (URL): https://smallaxefarm.com Site address (URL): https://smallaxefarm.com WC Version: 4.1.0 REST API Version: ✔ 1.0.7 WC Blocks Version: ✔ 2.5.16 Action Scheduler Version: ✔ 3.1.5 WC Admin Version: ✔ 1.1.1 Log Directory Writable: ✔ WP Version: 5.4.1 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.3.17 PHP Post Max Size: 64 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.70.0 OpenSSL/1.1.1g SUHOSIN Installed: – MySQL Version: 5.6.41-84.1 Max Upload Size: 64 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 4.1.0 WC Database Prefix: b34_ Total Database Size: 21.07MB Database Data Size: 17.94MB Database Index Size: 3.13MB b34_woocommerce_sessions: Data: 0.03MB + Index: 0.00MB + Engine MyISAM b34_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_woocommerce_order_items: Data: 0.01MB + Index: 0.01MB + Engine MyISAM b34_woocommerce_order_itemmeta: Data: 0.07MB + Index: 0.05MB + Engine MyISAM b34_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_actionscheduler_actions: Data: 0.03MB + Index: 0.03MB + Engine MyISAM b34_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM b34_actionscheduler_logs: Data: 0.02MB + Index: 0.02MB + Engine MyISAM b34_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_comments: Data: 0.02MB + Index: 0.01MB + Engine MyISAM b34_import_detail_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB b34_import_log_detail: Data: 0.02MB + Index: 0.00MB + Engine InnoDB b34_import_postID: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_mailchimp_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_options: Data: 1.18MB + Index: 0.07MB + Engine MyISAM b34_postmeta: Data: 0.55MB + Index: 0.23MB + Engine MyISAM b34_posts: Data: 0.37MB + Index: 0.05MB + Engine MyISAM b34_sbi_instagram_feeds_posts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_sbi_instagram_posts: Data: 0.05MB + Index: 0.00MB + Engine MyISAM b34_smackcsv_file_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB b34_termmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM b34_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM b34_term_relationships: Data: 0.01MB + Index: 0.02MB + Engine MyISAM b34_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM b34_ultimate_csv_importer_acf_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB b34_ultimate_csv_importer_mappingtemplate: Data: 0.02MB + Index: 0.00MB + Engine InnoDB b34_ultimate_csv_importer_media: Data: 0.02MB + Index: 0.00MB + Engine InnoDB b34_ultimate_csv_importer_shortcode_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB b34_usermeta: Data: 0.04MB + Index: 0.03MB + Engine MyISAM b34_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM b34_wcpdf_invoice_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wc_admin_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM b34_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wc_order_product_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM b34_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM b34_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wc_product_meta_lookup: Data: 0.01MB + Index: 0.02MB + Engine MyISAM b34_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM b34_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wfblockediplog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wfblocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wfconfig: Data: 1.32MB + Index: 0.01MB + Engine MyISAM b34_wfcrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wffilemods: Data: 2.42MB + Index: 0.46MB + Engine MyISAM b34_wfhits: Data: 0.03MB + Index: 0.01MB + Engine MyISAM b34_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wfissues: Data: 0.01MB + Index: 0.01MB + Engine MyISAM b34_wfknownfilelist: Data: 1.34MB + Index: 0.14MB + Engine MyISAM b34_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wflocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wflogins: Data: 0.02MB + Index: 0.01MB + Engine MyISAM b34_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB b34_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB b34_wfnotifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wfpklist_template_data: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_wfstatus: Data: 0.11MB + Index: 0.05MB + Engine MyISAM b34_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM b34_woocommerce_bundled_itemmeta: Data: 0.04MB + Index: 0.04MB + Engine MyISAM b34_woocommerce_bundled_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM smackuci_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_actionscheduler_actions: Data: 0.02MB + Index: 0.03MB + Engine MyISAM wpstg0_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpstg0_actionscheduler_logs: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wpstg0_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_comments: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wpstg0_import_detail_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_import_log_detail: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_import_postID: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_mailchimp_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_options: Data: 1.17MB + Index: 0.07MB + Engine MyISAM wpstg0_postmeta: Data: 0.55MB + Index: 0.22MB + Engine MyISAM wpstg0_posts: Data: 0.37MB + Index: 0.05MB + Engine MyISAM wpstg0_sbi_instagram_feeds_posts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_sbi_instagram_posts: Data: 0.05MB + Index: 0.00MB + Engine MyISAM wpstg0_smackcsv_file_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_termmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpstg0_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpstg0_term_relationships: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpstg0_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpstg0_ultimate_csv_importer_acf_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_ultimate_csv_importer_mappingtemplate: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_ultimate_csv_importer_media: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_ultimate_csv_importer_shortcode_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_usermeta: Data: 0.04MB + Index: 0.03MB + Engine MyISAM wpstg0_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpstg0_wcpdf_invoice_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wc_admin_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpstg0_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wc_order_product_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpstg0_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpstg0_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wc_product_meta_lookup: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpstg0_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpstg0_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wfblockediplog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wfblocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wfconfig: Data: 0.39MB + Index: 0.01MB + Engine MyISAM wpstg0_wfcrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wffilemods: Data: 2.42MB + Index: 0.46MB + Engine MyISAM wpstg0_wfhits: Data: 0.04MB + Index: 0.01MB + Engine MyISAM wpstg0_wfhoover: Data: 3.12MB + Index: 0.37MB + Engine MyISAM wpstg0_wfissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wfknownfilelist: Data: 1.34MB + Index: 0.14MB + Engine MyISAM wpstg0_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wflocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wflogins: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wpstg0_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_wfnotifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wfpklist_template_data: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wfstatus: Data: 0.10MB + Index: 0.05MB + Engine MyISAM wpstg0_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_woocommerce_bundled_itemmeta: Data: 0.04MB + Index: 0.04MB + Engine MyISAM wpstg0_woocommerce_bundled_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_woocommerce_order_itemmeta: Data: 0.07MB + Index: 0.05MB + Engine MyISAM wpstg0_woocommerce_order_items: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpstg0_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_woocommerce_sessions: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wpstg0_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ### Post Type Counts ### attachment: 153 custom_css: 1 nav_menu_item: 6 page: 15 post: 16 product: 108 revision: 72 shop_coupon: 1 shop_order: 24 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (17) ### Invisible reCaptcha: by Mihai Chelaru – 1.2.3 Mailchimp for WooCommerce: by Mailchimp – 2.4.0 – Installed version not tested with active version of WooCommerce 4.1.0 Really Simple SSL: by Rogier Lankhorst Mark Wolters – 3.3.1 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.23 WC Duplicate Order: by Jamie Gill – 1.7 – Installed version not tested with active version of WooCommerce 4.1.0 WC Minimum Order Amount: by Hannah Swain – 1.0 – Installed version not tested with active version of WooCommerce 4.1.0 WooCommerce Print Address Labels: by Ewout Fernhout – 1.6.2 – Installed version not tested with active version of WooCommerce 4.1.0 WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.21 – Installed version not tested with active version of WooCommerce 4.1.0 Advanced Order Export For WooCommerce (Pro): by AlgolPlus – 3.1.4 – Installed version not tested with active version of WooCommerce 4.1.0 WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.4.9 – Installed version not tested with active version of WooCommerce 4.1.0 WooCommerce Product Bundles: by SomewhereWarm – 6.2.3 WooCommerce Store Credit: by Themesquad – 3.2.0 WooCommerce Wholesale Prices Premium: by Rymera Web Co – 1.24 – Installed version not tested with active version of WooCommerce 4.1.0 WooCommerce Wholesale Prices: by Rymera Web Co – 1.11.3 – Installed version not tested with active version of WooCommerce 4.1.0 WooCommerce: by Automattic – 4.1.0 Wordfence Security: by Wordfence – 7.4.7 WP Staging: by WP-Staging – 2.7.2 ### Inactive Plugins (2) ### Error Log Monitor: by Janis Elsts – 1.6.9 Smash Balloon Instagram Feed: by Smash Balloon – 2.4 ### Must Use Plugins (2) ### SSO: by Garth Mortensen Mike Hansen – 0.3 WP Staging Optimizer: by René Hermenau – 1.2 ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: bundle (bundle) 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 ### Shop base: #300 - /shop/ Cart: #301 - /cart/ Checkout: #302 - /checkout/ My account: #303 - /my-account/ Terms and conditions: ❌ Page not set ### Theme ### Name: Small Axe Farm Version: 3.0 Author URL: Child Theme: ✔ Parent Theme Name: Flatsome Parent Theme Version: 3.11.3 Parent Theme Author URL: http://www.uxthemes.com/ WooCommerce Support: ✔ ### Templates ### Overrides: flatsome/woocommerce/archive-product.php flatsome/woocommerce/cart/cart-empty.php flatsome/woocommerce/cart/cart-shipping.php flatsome/woocommerce/cart/cart.php flatsome/woocommerce/checkout/form-checkout.php flatsome/woocommerce/checkout/form-coupon.php flatsome/woocommerce/checkout/terms.php flatsome/woocommerce/checkout/thankyou.php flatsome/woocommerce/content-product.php flatsome/woocommerce/content-product_cat.php flatsome/woocommerce/content-single-product.php flatsome/woocommerce/content-widget-product.php flatsome/woocommerce/global/breadcrumb.php flatsome/woocommerce/global/quantity-input.php flatsome/woocommerce/global/wrapper-end.php flatsome/woocommerce/global/wrapper-start.php flatsome/woocommerce/loop/loop-end.php flatsome/woocommerce/loop/loop-start.php flatsome/woocommerce/loop/pagination.php flatsome/woocommerce/loop/result-count.php flatsome/woocommerce/loop/sale-flash.php flatsome/woocommerce/myaccount/form-login.php flatsome/woocommerce/myaccount/navigation.php flatsome/woocommerce/notices/error.php flatsome/woocommerce/notices/notice.php flatsome/woocommerce/notices/success.php flatsome/woocommerce/product-searchform.php flatsome/woocommerce/single-product/photoswipe.php flatsome/woocommerce/single-product/price.php flatsome/woocommerce/single-product/product-image.php flatsome/woocommerce/single-product/product-thumbnails.php flatsome/woocommerce/single-product/rating.php flatsome/woocommerce/single-product/related.php flatsome/woocommerce/single-product/review.php flatsome/woocommerce/single-product/sale-flash.php flatsome/woocommerce/single-product/share.php flatsome/woocommerce/single-product/short-description.php flatsome/woocommerce/single-product/tabs/tabs.php flatsome/woocommerce/single-product/title.php flatsome/woocommerce/single-product/up-sells.php flatsome/woocommerce/single-product-reviews.php flatsome/woocommerce/single-product.php ### Product Bundles ### Database Version: 6.2.3 Template Overrides: – ### Action Scheduler ### Complete: 108 Oldest: 2020-04-14 12:36:43 +0000 Newest: 2020-05-13 04:48:49 +0000
And the error logs:
2020-05-04T21:28:53+00:00 CRITICAL Maximum execution time of 30 seconds exceeded in /wp-includes/class-wp-image-editor-imagick.php on line 355
2020-05-11T21:23:08+00:00 CRITICAL Uncaught Error: Call to a member function is_visible() on bool in /smallaxefarm/wp-content/themes/small-axe-farm/functions.php:46
Stack trace:
#0 /smallaxefarm/wp-includes/class-wp-hook.php(287): wpo_wcl_add_item_checkbox(Array, Object(Automattic\WooCommerce\Admin\Overrides\Order))
#1 /smallaxefarm/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘\t\t\t\t<ul class=”…’, Array)
#2 /smallaxefarm/wp-content/plugins/woocommerce-address-labels/includes/wclabels-print.php(965): apply_filters(‘wclabels_placeh…’, ‘\t\t\t\t<ul class=”…’, Object(Automattic\WooCommerce\Admin\Overrides\Order))
#3 /…/smallaxefarm/wp-content/plugins/woocommerce-address-labels/includes/wclabels-print.php(681): WooCommerce_Address_Labels_Print->get_item_list(Object(Automattic\WooCommerce\Admin\Overrides\Order))
#4 /smallaxefarm/wp-content/plugins/woocommerce-address-labels/in in //smallaxefarm/wp-content/themes/small-axe-farm/functions.php on line 46(note: this function is no longer in the website and the error still persists).
- This reply was modified 3 years, 11 months ago by matt.
2020-04-23T10:46:45+00:00 CRITICAL Uncaught Error: Call to a member function add_meta_data() on bool in /smallaxefarm/wp-content/plugins/woocommerce-product-bundles/includes/admin/class-wc-pb-admin-order.php:140
Stack trace:
#0 /smallaxefarm/wp-includes/class-wp-hook.php(287): WC_PB_Admin_Order::add_bundled_items(131, Object(WC_Order_Item_Product), Object(Automattic\WooCommerce\Admin\Overrides\Order))
#1 /smallaxefarm/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#2 /smallaxefarm/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /smallaxefarm/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(925): do_action(‘woocommerce_aja…’, 131, Object(WC_Order_Item_Product), Object(Automattic\WooCommerce\Admin\Overrides\Order))
#4 /smallaxefarm/wp-includes/class-wp-hook.php(287): WC_AJAX::add_order_item(”)
#5 /smallaxefarm/wp-in in /smallaxefarm/wp-content/plugins/woocommerce-product-bundles/includes/admin/class-wc-pb-admin-order.php on line 140This kind of problem is usually caused by either 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.
—
You might want to set up a staging site for testing if this cannot be done on the live site. This plugin lets you set up Staging sites (ensuring the live site stays intact during the testing process) : https://wordpress.org/plugins/wp-staging/
—
From the logs you shared, I see multiple plugins and the theme returning errors. The above steps would help you narrow down all the culprits. Once you have the list of plugins causing trouble, deactivate them on the main site temporarily, and reach out to the plugin/theme devs for further assistance.
As I have said multiple times, I have already done this.
I deactivated all plugins and WooCoommerce was the only active one. I switched themes and it was still giving me the same issue.
I deactivated all plugins and WooCoommerce was the only active one. I switched themes and it was still giving me the same issue.
If you’re seeing the 500 error with just WooCommerce as the active extension on the site, and Storefront as the active theme, can you please reach out to help@WooCommerce.com, with your System Status Report and a link to this forum topic so that we can further investigate this?
I’m marking this as solved here for now so that we can continue investigating there.
- The topic ‘Fatal Error’ is closed to new replies.