Doesn’t Work
-
When I go to print the invoice or packing slip I get redirected to a page with a critical error:
There has been a critical error on your website.
Learn more about debugging in WordPress.
There isn’t anything in the error log about what could be causing it. Could you email me and I could send you a login to check it out?
The page I need help with: [log in to see the link]
-
Hello @curlyhost
Could you please check under WooCommerce > Status > Logs for more details about the error?
Let me know.
### WordPress Environment ### WordPress address (URL): https://talkrtape.com Site address (URL): https://talkrtape.com WC Version: 4.2.0 REST API Version: ✔ 1.0.8 WC Blocks Version: ✔ 2.5.16 Action Scheduler Version: ✔ 3.1.6 WC Admin Version: ✔ 1.2.3 Log Directory Writable: ✔ WP Version: 5.4.2 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.1.14 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version PHP Post Max Size: 260 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.19.7 NSS/3.44 SUHOSIN Installed: – MySQL Version: 5.6.41-84.1 Max Upload Size: 256 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 4.2.0 WC Database Prefix: wp_ Total Database Size: 45.36MB Database Data Size: 40.70MB Database Index Size: 4.66MB 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.06MB + Index: 0.03MB + 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 wp_actionscheduler_actions: Data: 0.06MB + Index: 0.11MB + 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.05MB + Index: 0.03MB + Engine InnoDB wp_aryo_activity_log: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_blc_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_blc_instances: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_blc_links: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_blc_synch: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.08MB + Index: 0.09MB + Engine InnoDB wp_fontsampler_fonts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fontsampler_sets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fontsampler_sets_x_fonts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fontsampler_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fpd_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fpd_category_products_rel: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fpd_products: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fpd_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fpd_views: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gf_entry: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_entry_meta: Data: 0.05MB + Index: 0.05MB + Engine InnoDB wp_gf_entry_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_form_view: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_nm_personalized: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 5.25MB + Index: 0.19MB + Engine InnoDB wp_postmeta: Data: 20.33MB + Index: 1.97MB + Engine InnoDB wp_posts: Data: 3.14MB + Index: 0.13MB + Engine InnoDB wp_sbi_instagram_feeds_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_sbi_instagram_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + 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.19MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wcpdf_invoice_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM 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.02MB + 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_meta_lookup: Data: 0.02MB + Index: 0.09MB + 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_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 2.28MB + Index: 0.00MB + Engine InnoDB wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Data: 4.52MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.13MB + Index: 0.11MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yoast_indexable: Data: 0.19MB + Index: 0.08MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + 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_seo_links: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### acf-field: 7 acf-field-group: 3 attachment: 180 avia_framework_post: 10 custom_css: 1 customize_changeset: 1 elementor_library: 1 nav_menu_item: 18 page: 20 portfolio: 10 post: 4 postman_sent_mail: 131 product: 8 product_variation: 31 revision: 32 shop_coupon: 2 shop_order: 50 shop_order_refund: 7 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ❌Error messages should not be shown to visitors. ### Active Plugins (37) ### ManageWP - Worker: by GoDaddy – 4.9.6 Gravity Forms: by Gravity Forms – 2.4.18 Advanced Custom Fields: by Elliot Condon – 5.8.12 Load More Anything: by Akhtarujjaman Shuvo – 2.2.3 – Installed version not tested with active version of WooCommerce 4.2.0 Akismet Anti-Spam: by Automattic – 4.1.6 Better Search Replace: by Delicious Brains – 1.3.3 Broken Link Checker: by WPMU DEV – 1.11.13 Display PHP Version: by David Gwyer – 1.5 Elementor: by Elementor.com – 2.9.12 Fontsampler: by Underscore – 0.4.9 Improved Product Options for WooCommerce: by Mihajlovic Nenad – 4.5.1 – Installed version not tested with active version of WooCommerce 4.2.0 Instagram Feed Pro Personal: by Smash Balloon – 5.6 Jetpack by WordPress.com: by Automattic – 8.6.1 Post SMTP: by Yehuda Hassine – 2.0.12 Post Types Order: by Nsp Code – 1.9.4.3 Repeat Order for Woocommerce: by polyres – 1.2.0 – Installed version not tested with active version of WooCommerce 4.2.0 Route App: by Route – 1.0.46 Update Theme and Plugins from Zip File: by Jeff Sherk – 1.1.1 Use Any Font: by Dinesh Karki – 5.11 WC Multiple Email Recipients: by Con Schneider – 1.3 – Installed version not tested with active version of WooCommerce 4.2.0 Widget Context: by Kaspars Dambis – 1.3.2 Variation Swatches for WooCommerce: by Emran Ahmed – 1.0.82 – Installed version not tested with active version of WooCommerce 4.2.0 WooCommerce Amazon Pay: by WooCommerce – 1.12.2 – Installed version not tested with active version of WooCommerce 4.2.0 WooCommerce Stripe Gateway: by WooCommerce – 4.4.0 – Installed version not tested with active version of WooCommerce 4.2.0 WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.5.1 WooCommerce Product Add-ons: by WooCommerce – 3.0.34 WooCommerce Services: by Automattic – 1.23.2 WooCommerce Twilio SMS Notifications: by SkyVerge – 1.14.4 – Installed version not tested with active version of WooCommerce 4.2.0 WooCommerce: by Automattic – 4.2.0 Wordfence Security: by Wordfence – 7.4.7 WordPress Importer: by wordpressdotorg – 0.7 Yoast SEO: by Team Yoast – 14.3 WP File Manager: by mndpsingh287 – 6.4 WordPress Force HTTPS: by A. Kai Armstrong – 0.1.4 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.1.2 WP Rocket: by WP Media – 3.6.0.2 Smush: by WPMU DEV – 3.6.3 ### Inactive Plugins (1) ### Custom Product Tabs for WooCommerce: by YIKES Inc. – 1.7.1 – Installed version not tested with active version of WooCommerce 4.2.0 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left 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 ### Shop base: #28 - /shop/ Cart: #891 - /cart/ Checkout: #892 - /checkout/ My account: #893 - /my-account/ Terms and conditions: ❌ Page not set ### Theme ### Name: CurlyHost Version: V0.1 (update to version 0 is available) Author URL: https://www.curlyhost.com Child Theme: ✔ Parent Theme Name: Enfold Parent Theme Version: 4.7.5 Parent Theme Author URL: https://kriesi.at WooCommerce Support: ✔ ### Templates ### Overrides: – ### Action Scheduler ### Complete: 95 Oldest: 2020-05-17 00:53:06 -0400 Newest: 2020-06-16 10:54:22 -0400 Pending: 1 Oldest: 2020-06-17 07:49:26 -0400 Newest: 2020-06-17 07:49:26 -04002020-05-27T06:56:18+00:00 CRITICAL Uncaught Error: Call to undefined function the_header() in /home2/kmzamarron/public_html/wp-content/themes/curlyhost/woocommerce/single-product-custom-tape.php:4
Stack trace:
#0 /home2/kmzamarron/public_html/wp-includes/template-loader.php(106): include()
#1 /home2/kmzamarron/public_html/wp-blog-header.php(19): require_once(‘/home2/kmzamarr…’)
#2 /home2/kmzamarron/public_html/index.php(17): require(‘/home2/kmzamarr…’)
#3 {main}
thrown in /home2/kmzamarron/public_html/wp-content/themes/curlyhost/woocommerce/single-product-custom-tape.php on line 4Hello @curlyhost
Seeing the error i see a problem inside your theme file:
/themes/curlyhost/woocommerce/single-product-custom-tape.phpon line 4, but i doubt that’s the problem here.On your logs, on the right side you have a drop-down selection, look for logs beginning with
wpo-wcpdf-.-
This reply was modified 5 years, 11 months ago by
alexmigf.
Thanks – I just removed that file and I’m not able to print the PDF successfully. Thoughts?
I edit my answer above.
Can I get you a login to check it out? What is your email? I’m not seeing logs specific to that. It stopped loading after trying to update the settings. It was working and then I replaced the logo and then it stopped working.
Please send us an email to this address: [email protected]
-
This reply was modified 5 years, 11 months ago by
alexmigf.
Okay – I disabled some non-essential plugins and it appears to be working now. I think it had to do with conflicting AJAX.
Hi @curlyhost
If you could find the third-party plugin that is in conflict with our plugin let us know.
https://ww.wp.xz.cn/plugins/ajax-load-more-anything/
After I disabled that and reloaded the invoices they loaded properly.
Hello @curlyhost
I don’t see any problem using both, perhaps you have some configuration on that plugin that leads to the problem.
@curlyhost I logged into the site and see many errors from on several pages.
Notice: Undefined index: avia_builder_js in wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Loader.php on line 516
Notice: Trying to get property of non-object in wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Loader.php on line 484I don’t know where these come from, but it seems to be a conflict between your theme and WooCommerce Admin. I’m not sure if these are at all related to the issue you had with PDF Invoices, but I do think that the fact that debug output is enabled on your site may be what’s interfering here (and not the AJAX load more plugin per se. PHP errors can break output in multiple places and while errors like the above and the one you reported earlier should preferably be avoided/fixed, it’s also good to test whether things work correctly with debug disabled (even more so on a live site)
If I understand correctly though, disabling the AJAX Load More plugin fixed the issue, so I’m marking this topic as resolved. Let us know if you need anything else from us. Please also close the admin account that you created for us.
-
This reply was modified 5 years, 11 months ago by
The topic ‘Doesn’t Work’ is closed to new replies.