• Resolved dk1204

    (@dk1204)


    Hi, I am using the learndash lms plugin and I came across an error when trying to update pages (Updating failed. The response is not a valid JSON response.) I deactivated my plugins one by one and have found that when Woocommerce is deactivated the error does not show.

    I have 9.3.3 installed.

    I have tried saving the existing settings in my permalinks to no avail. I checked both my wordpress URL and site address URL are correct.

    No logs were found. Here is the System Status Report

    Thanks

    ### WordPress Environment ###
    
    WordPress address (URL): [Redacted]
    Site address (URL): [Redacted]
    WC Version: 9.3.3
    Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.
    Action Scheduler Version: ? 3.8.1
    Log Directory Writable: ?
    WP Version: 6.6.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: 8.1.30
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 1000
    cURL Version: 7.61.1
    OpenSSL/1.1.1k
    
    SUHOSIN Installed: –
    MySQL Version: 8.0.40
    Max Upload Size: 128 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    [REDACTED]
    
    ### Post Type Counts ###
    
    attachment: 47
    customize_changeset: 4
    elementor_library: 1
    nav_menu_item: 13
    page: 14
    post: 4
    revision: 203
    sfwd-courses: 3
    sfwd-lessons: 24
    sfwd-question: 37
    sfwd-quiz: 5
    sfwd-topic: 33
    wp_block: 4
    wp_global_styles: 2
    wp_navigation: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (5) ###
    
    Kadence Blocks – Gutenberg Blocks for Page Builder Features: by Kadence WP – 3.3.3
    LearnDash LMS - Course Grid: by LearnDash – 2.0.9
    LearnDash LMS - WooCommerce Integration: by LearnDash – 2.0.0.1
    LearnDash LMS: by LearnDash – 4.18.0.1
    WooCommerce: by Automattic – 9.3.3
    
    ### Inactive Plugins (3) ###
    
    Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3.3
    Hello Dolly: by Matt Mullenweg – 1.7.2
    Kadence AI Starter Templates: by Kadence WP – 2.1.3
    
    ### Settings ###
    
    Legacy API Enabled: –
    Force SSL: –
    Currency: AUD ($)
    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: –
    Enforce Approved Product Download Directories: ?
    HPOS feature enabled: ?
    Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
    HPOS data sync enabled: –
    
    ### Logging ###
    
    Enabled: ?
    Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
    Retention period: 30 days
    Level threshold: –
    Log directory size: 13 B
    
    ### WC Pages ###
    
    Shop base: ? Page ID is set
    but the page does not exist
    
    Cart: ? Page ID is set
    but the page does not exist
    
    Checkout: ? Page ID is set
    but the page does not exist
    
    My account: ? Page ID is set
    but the page does not exist
    
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Kadence
    Version: 1.2.10
    Author URL: https://www.kadencewp.com/
    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: –
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customize-store
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    pattern-toolkit-full-composability
    product-custom-fields
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    printful
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    launch-your-store
    
    Disabled Features: experimental-blocks
    minified-js
    product-pre-publish-modal
    settings
    async-product-editor-category-field
    product-editor-template-system
    blueprint
    reactify-classic-payments-settings
    
    Daily Cron: ? Next scheduled: 2024-11-06 01:30:43 +00:00
    Options: ?
    Notes: 60
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 16
    Oldest: 2024-11-01 01:27:14 +0000
    Newest: 2024-11-04 23:50:55 +0000
    
    Failed: 9
    Oldest: 2024-11-01 01:28:39 +0000
    Newest: 2024-11-05 08:35:24 +0000
    
    Pending: 1
    Oldest: 2024-11-06 08:35:24 +0000
    Newest: 2024-11-06 08:35:24 +0000
    
    
    ### Status report information ###
    
    Generated at: 2024-11-05 09:09:45 +00:00

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Jonayed Hosen (woo-hc)

    (@jonayedhosen)

    Hi @dk1204 ,

    I’m sorry to hear you’re experiencing the error “Updating failed. The response is not a valid JSON response.” in LearnDash LMS when WooCommerce is activated. I’ve reviewed your system report and would be happy to help troubleshoot further.

    We have seen such issue can sometimes be due to memory limitations, and upgrading the memory limit to at least 512MB may help.

    To investigate further, could you please share any fatal error logs found under WooCommerce > System Status > Logs These may provide additional insights.

    Also, JSON response errors can sometimes occur if there’s a mismatch in site URLs. To check, please go to Dashboard → Settings → General and confirm that the WordPress Address (URL) and Site Address (URL) are exactly the same.

    Let me know if this helps or if you need further assistance!

    Thread Starter dk1204

    (@dk1204)

    Hi Jonayed, thanks for your response. My URLs match and no fatal error logs show in system status. I did increase the memory limit as you suggested and so far the issue hasn’t occurred, so I’m hopeful that has solved the problem.

    Thanks again,

    Scott

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello dk1204,

    Thank you for your reply.

    Appreciate the steps you have taken to troubleshoot the issue.
    Hopefully, the issue will not occur again but if it does, feel free to let me know.

    I am here for you support. ??

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.