• Resolved Will Mackenzie

    (@w1llm4ckenzie)


    Hello.

    I have been using WooCommerce on this website for many years but all of a sudden customers are getting an “Internet Server Error” on the Checkout page when they try to pay.

    I have tried turning off all plugins to find conflicts, but this did not reveal the issue. All plugins, WordPress and the theme are up-to-date. The only other change was a few months ago the server’s PHP was upgraded. I even tried a slightly older version of WooCommerce to see if that helped, but it didn’t.

    Would anyone be able to advise what the issue is?

    Any help very much appreciated.

    My WooCommerce system report:

    ` WordPress Environment
    
    WordPress address (URL): https://highlandpapers.co.uk<br>Site address (URL): https://highlandpapers.co.uk<br>WC Version: 8.7.0<br>REST API Version: ✔ 8.7.0<br>Action Scheduler Version: ✔ 3.7.2<br>Log Directory Writable: ✔<br>WP Version: 6.5<br>WP Multisite: –<br>WP Memory Limit: 256 MB<br>WP Debug Mode: –<br>WP Cron: ✔<br>Language: en_US<br>External object cache: – Server Environment
    
    Server Info: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.1.27 mod_perl/2.0.11 Perl/v5.16.3<br>PHP Version: 8.1.27<br>PHP Post Max Size: 8 MB<br>PHP Time Limit: 30<br>PHP Max Input Vars: 1000<br>cURL Version: 7.29.0<br>NSS/3.53.1
    
    SUHOSIN Installed: –<br>MySQL Version: 8.0.35<br>Max Upload Size: 2 MB<br>Default Timezone is UTC: ✔<br>fsockopen/cURL: ✔<br>SoapClient: ✔<br>DOMDocument: ✔<br>GZip: ✔<br>Multibyte String: ✔<br>Remote Post: ✔<br>Remote Get: ✔ Database
    
    WC Database Version: 8.7.0<br>WC Database Prefix: wp_<br>Total Database Size: 49.96MB<br>Database Data Size: 29.67MB<br>Database Index Size: 20.29MB<br>wp_woocommerce_sessions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 0.28MB + Index: 0.11MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 1.52MB + Index: 2.03MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 0.36MB + Index: 0.33MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 0.19MB + Index: 0.13MB + Engine InnoDB<br>wp_commentmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>wp_comments: Data: 1.31MB + Index: 0.38MB + Engine InnoDB<br>wp_cptch_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cptch_packages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cptch_whitelist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_create_map: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_gglcptch_allowlist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_group_map: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_map_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_masterslider_options: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_masterslider_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_myarcadegames: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_myarcadehighscores: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_myarcademedals: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_myarcadescores: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_myarcadeuser: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_options: Data: 5.08MB + Index: 0.17MB + Engine InnoDB<br>wp_postmeta: Data: 8.50MB + Index: 6.94MB + Engine InnoDB<br>wp_posts: Data: 3.30MB + Index: 0.47MB + Engine InnoDB<br>wp_revslider_css: Data: 0.13MB + Index: 0.03MB + Engine InnoDB<br>wp_revslider_css_bkp: Data: 0.13MB + Index: 0.02MB + Engine InnoDB<br>wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_revslider_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_revslider_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_revslider_sliders_bkp: Data: 0.03MB + Index: 0.02MB + Engine InnoDB<br>wp_revslider_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_revslider_slides_bkp: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_usermeta: Data: 5.47MB + Index: 6.91MB + Engine InnoDB<br>wp_users: Data: 0.45MB + Index: 0.41MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.28MB + Index: 0.22MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.25MB + Index: 0.25MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.23MB + Index: 0.20MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.11MB + Index: 0.13MB + Engine InnoDB<br>wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wdr_order_item_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpmm_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_wcwl: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_yoast_indexable: Data: 0.05MB + Index: 0.09MB + Engine InnoDB<br>wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_yoast_seo_meta: Data: 0.27MB + Index: 0.00MB + Engine InnoDB Post Type Counts
    
    attachment: 179<br>custom_css: 1<br>feedback: 167<br>forum: 5<br>nav_menu_item: 16<br>option-tree: 1<br>page: 30<br>post: 3<br>product: 8<br>product_variation: 33<br>reply: 33<br>revision: 352<br>shop_coupon: 1<br>shop_order: 1948<br>shop_order_refund: 4<br>sidebar: 3<br>topic: 24<br>wpcf7_contact_form: 3<br>wp_global_styles: 1 Security
    
    Secure connection (HTTPS): ✔<br>Hide errors from visitors: ✔ Active Plugins (29)
    
    Age Gate: by Phil Baker – 3.3.3<br>Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3.2<br>Titan Anti-spam & Security: by CreativeMotion – 7.3.5<br>Code Snippets: by Code Snippets Pro – 3.6.4<br>Contact Form 7: by Takayuki Miyoshi – 5.9.3<br>Envato Market: by Envato – 2.0.11<br>reCaptcha by BestWebSoft: by BestWebSoft – 1.74<br>Salient WPBakery Page Builder: by Michael M - WPBakery.com | Modified by ThemeNectar – 7.5<br>Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.26.8<br>Login No Captcha reCAPTCHA (Google): by Robert Peake and Contributors – 1.7.3<br>Really Simple SSL: by Really Simple Plugins – 8.0.0<br>Slider Revolution: by ThemePunch – 6.6.20<br>Salient Core: by ThemeNectar – 2.0.7<br>Salient Demo Importer: by ThemeNectar – 1.6.2<br>Salient Home Slider: by ThemeNectar – 1.4.1<br>Salient Nectar Slider: by ThemeNectar – 1.7.6<br>Salient Portfolio: by ThemeNectar – 1.7.6<br>Salient Shortcodes: by ThemeNectar – 1.5.3<br>Salient Social: by ThemeNectar – 1.2.5<br>Salient Widgets: by ThemeNectar – 1.2<br>GDPR/CCPA Cookie Consent Banner: by Termly – 3.2.1<br>WooCommerce Free Shipping Per Product: by WPRuby – 1.2.5<br>PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.8.0<br>WooCommerce Table Rate Shipping: by Bolder Elements – 4.3.9<br>WooCommerce: by Automattic – 8.7.0<br>WordPress Importer: by wordpressdotorg – 0.8.2<br>Yoast SEO: by Team Yoast – 22.4<br>WP Mail SMTP: by WP Mail SMTP – 4.0.1<br>WP Overnight Sidekick: by WP Overnight – 2.5.1 Inactive Plugins (1)
    
    WooCommerce: by Automattic – 8.6.1 (update to version 8.7.0 is available) Settings
    
    API Enabled: –<br>Force SSL: –<br>Currency: GBP (£)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)
    
    Connected to Woo.com: –<br>Enforce Approved Product Download Directories: –<br>HPOS feature screen enabled: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – Logging
    
    Enabled: ✔<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 10 KB WC Pages
    
    Shop base: ❌ Page visibility should be public<br>Cart: #5 - /cart/<br>Checkout: #6 - /checkout/<br>My account: #7 - /my-account/<br>Terms and conditions: #234 - /about-us/terms-conditions/ Theme
    
    Name: Salient<br>Version: 16.2.0<br>Author URL: https://themeforest.net/user/themenectar<br>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<br>WooCommerce Support: ✔ Templates
    
    Overrides: salient/woocommerce/cart/mini-cart.php<br>salient/woocommerce/checkout/form-checkout.php<br>salient/woocommerce/checkout/review-order.php<br>salient/woocommerce/checkout/terms.php<br>salient/woocommerce/content-product.php<br>salient/woocommerce/content-single-product.php<br>salient/woocommerce/loop/add-to-cart.php<br>salient/woocommerce/loop/loop-start.php<br>salient/woocommerce/myaccount/form-login.php<br>salient/woocommerce/single-product/product-image.php<br>salient/woocommerce/single-product/rating.php<br>salient/woocommerce/single-product/tabs/description.php<br>salient/woocommerce/single-product/tabs/tabs.php<br>salient/woocommerce/single-product/title.php<br>salient/woocommerce/single-product-reviews.php Admin
    
    Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>product-virtual-downloadable<br>product-external-affiliate<br>product-grouped<br>product-linked<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page
    
    Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field
    
    Daily Cron: ✔ Next scheduled: 2024-04-05 09:15:37 +01:00<br>Options: ✔<br>Notes: 201<br>Onboarding: completed Action Scheduler
    
    Complete: 106<br>Oldest: 2024-03-04 21:39:10 +0000<br>Newest: 2024-04-04 11:48:03 +0000
    
    Failed: 699<br>Oldest: 2023-02-16 10:09:03 +0000<br>Newest: 2023-05-11 07:55:49 +0000
    
    Pending: 2<br>Oldest: 2024-04-05 08:04:51 +0000<br>Newest: 2024-04-05 10:09:47 +0000 Status report information
    
    Generated at: 2024-04-04 12:55:41 +01:00<br>`

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey there, @w1llm4ckenzie! Thanks for contacting us. I’m happy to help you.

    When you deactivated the plugins, have you also switched to a default theme such as Storefront?

    Also, have you deactivated all plugins but Woo? Because I found a few reports of this error being related with email plugins such as WP Mail SMTP in the past.

    Can you please share the Fatal error logs (if any) under WooCommerce > Status > Logs. Then you can use the selector to search for Fatal Errors.
    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Also please share the PHP Error Logs on the Server:
    You can find the PHP error logs in a few possible places on the server:

    • in your server’s root folder, called error.log
    • in public_html or similar folder, called error.log
    • in var/logs or similar, called error.log
    • additionally, if you have debugging enabled in WordPress and you have it saved to a file, it will be in the wp-content folder, and called debug.log`

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter Will Mackenzie

    (@w1llm4ckenzie)

    Hello @carolm29,

    Thanks so much for your reply.

    Yes, I tried deactivating every plugin except WooCommerce, and the issue persisted. I also tried only using the Storefront theme and only the WooCommerce plugin active, and there was no change. I’ve tried older versions of WooCommerce and WordPress as well, although everything including plugins and themes are up to their latest version now.

    Here are the PHP error logs from today’s attempt – which is still giving the “Internal Server Error” error message:

    [Tue Apr 09 13:35:20.725741 2024] [php:error] [pid 4766] [client 209.35.85.89:60529] PHP Fatal error: Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /home/virtual/papers4smoking.co.uk/httpdocs/wp-admin/includes/class-wp-filesystem-ftpext.php:438\nStack trace:\n#0 /home/virtual/papers4smoking.co.uk/httpdocs/wp-admin/includes/class-wp-filesystem-ftpext.php(438): ftp_nlist(NULL, ‘/home/virtual/p…’)\n#1 /home/virtual/papers4smoking.co.uk/httpdocs/wp-admin/includes/class-wp-filesystem-ftpext.php(456): WP_Filesystem_FTPext->exists(‘/home/virtual/p…’)\n#2 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(260): WP_Filesystem_FTPext->is_file(‘/home/virtual/p…’)\n#3 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(424): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->is_writable()\n#4 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php(148): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->write(‘2024-04-09T13:3…’)\n#5 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/LogHandlerFileV2.php(60): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController->write_to_file(‘paypal’, ‘2024-04-09T13:3…’, 1712669720)\n#6 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-logger.php(164): Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2->handle(1712669720, ‘info’, ‘Generating paym…’, Array)\n#7 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php(158): WC_Logger->log(‘info’, ‘Generating paym…’, Array)\n#8 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php(193): WC_Gateway_Paypal::log(‘Generating paym…’)\n#9 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php(67): WC_Gateway_Paypal_Request->get_paypal_args(Object(Automattic\WooCommerce\Admin\Overrides\Order))\n#10 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php(367): WC_Gateway_Paypal_Request->get_request_url(Object(Automattic\WooCommerce\Admin\Overrides\Order), false)\n#11 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1062): WC_Gateway_Paypal->process_payment(16813)\n#12 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1291): WC_Checkout->process_order_payment(16813, ‘paypal’)\n#13 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(514): WC_Checkout->process_checkout()\n#14 /home/virtual/papers4smoking.co.uk/httpdocs/wp-includes/class-wp-hook.php(324): WC_AJAX::checkout(”)\n#15 /home/virtual/papers4smoking.co.uk/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)\n#16 /home/virtual/papers4smoking.co.uk/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#17 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action(‘wc_ajax_checkou…’)\n#18 /home/virtual/papers4smoking.co.uk/httpdocs/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax(”)\n#19 /home/virtual/papers4smoking.co.uk/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(false, Array)\n#20 /home/virtual/papers4smoking.co.uk/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#21 /home/virtual/papers4smoking.co.uk/httpdocs/wp-includes/template-loader.php(13): do_action(‘template_redire…’)\n#22 /home/virtual/papers4smoking.co.uk/httpdocs/wp-blog-header.php(19): require_once(‘/home/virtual/p…’)\n#23 /home/virtual/papers4smoking.co.uk/httpdocs/index.php(17): require(‘/home/virtual/p…’)\n#24 {main}\n thrown in /home/virtual/papers4smoking.co.uk/httpdocs/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438, referer: https://highlandpapers.co.uk/checkout/
    [Tue Apr 09 13:35:20.736167 2024] [php:error] [pid 4766] [client 209.35.85.89:60529] PHP Fatal error: Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /home/virtual/papers4smoking.co.uk/httpdocs/wp-admin/includes/class-wp-filesystem-ftpext.php:438\nStack trace:\n#0 /home/virtual/papers4smoking.co.uk/httpdocs/wp-admin/includes/class-wp-filesystem-ftpext.php(438): ftp_nlist(NULL, ‘/home/virtual/p…’)\n#1 /home/virtual/papers4smoking.co.uk/httpdocs/wp-admin/includes/class-wp-filesystem-ftpext.php(456): WP_Filesystem_FTPext->exists(‘/home/virtual/p…’)\n#2 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(260): WP_Filesystem_FTPext->is_file(‘/home/virtual/p…’)\n#3 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(424): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->is_writable()\n#4 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php(148): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->write(‘2024-04-09T13:3…’)\n#5 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/LogHandlerFileV2.php(60): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController->write_to_file(‘fatal-errors’, ‘2024-04-09T13:3…’, 1712669720)\n#6 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-logger.php(164): Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2->handle(1712669720, ‘critical’, ‘Uncaught TypeEr…’, Array)\n#7 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-logger.php(211): WC_Logger->log(‘critical’, ‘Uncaught TypeEr…’, Array)\n#8 /home/virtual/papers4smoking.co.uk/httpdocs/wp-content/plugins/woocommerce/includes/class-woocommerce.php(342): WC_Logger->critical(‘Uncaught TypeEr…’, Array)\n#9 [internal function]: WooCommerce->log_errors()\n#10 {main}\n thrown in /home/virtual/papers4smoking.co.uk/httpdocs/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438, referer: https://highlandpapers.co.uk/checkout/

    Does this help with diagnosing the issue?

    Thanks 🙂

    Thread Starter Will Mackenzie

    (@w1llm4ckenzie)

    P.s. Woocommerce > Status > Logs is just giving this error:

    “There has been a critical error on this website. Please check your site admin email inbox for instructions.” <- Unfortunately I do not have this email to review what it says.

    I have enabled logging here but there’s nothing in the /wp-content/uploads/wc-logs/ folder which is more modern than an empty test_log created a week ago.

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @w1llm4ckenzie,

    This seems to be a configuration error on your hosting, It seems a permissions error on PHP. Investigating, I found this reply, but that seems to cause potential security threats. Have you reached out to your hosting provider to learn more about this issue? Since you’ve exhausted the troubleshooting options and ruled out themes or plugins conflict, I’d suggest asking your hosting as the next step.

    Please, keep us posted.

    Thanks!
    -OP

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi there 👋 ,

    We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions.

    All the best,
    Omar

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Internal Server Error issue’ is closed to new replies.