• Resolved emmanuelmroczka

    (@emmanuelmroczka)


    Hello – Our error report continues to show the error below. I have uninstalled and reinstalled the plugin a half a dozen times. No resolution. I have even uploaded a version with the same issue. Please advise:

    [08-Oct-2025 19:36:19 UTC] PHP Fatal error: Uncaught Error: Class “WPForms\Vendor\Stripe\Service\AbstractService” not found in /home/jeffre66/public_html/wp-content/plugins/wpforms-lite/vendor_prefixed/stripe/stripe-php/lib/Service/PaymentLinkService.php:10 Stack trace: #0 {main} thrown in /home/jeffre66/public_html/wp-content/plugins/wpforms-lite/vendor_prefixed/stripe/stripe-php/lib/Service/PaymentLinkService.php on line 10

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @emmanuelmroczka,

    Thanks for reaching out. I’m sorry to hear about the error.

    However, we could not reproduce the error in our test environments with the default settings. We could only reproduce the issue when we made some customizations, like manually requiring PaymentLinkService.php via functions.php. Please note that when the PaymentLinkService.php file is manually required outside the normal WPForms boot sequence, AbstractService is not loaded, causing the “Uncaught Error: Class “WPForms\Vendor\Stripe\Service\AbstractService” not found” error.

    That said, the issue may be due to code customizations or a conflict with another plugin or your theme. When you get the chance, could you please try using the steps in WPBeginner’s detailed guide on troubleshooting WordPress to see if it helps resolve the issue?

    Also, please share the details from WPForms > Tools > System Info (screenshot). This information may help us better understand the issue you’re experiencing.

    If you have any questions, please let me know.

    Thanks!

    Thread Starter emmanuelmroczka

    (@emmanuelmroczka)

    Hello -

    Thanks for getting back to me.

    The challenging part is that we are not using any payment setup. This is an error due to Stripe, but Stripe is not set up nor do we use it in any forms See screenshots below along with the information you requested and error logs below.

    [08-Oct-2025 21:29:16 UTC] PHP Fatal error: Uncaught Error: Class "WPForms\Vendor\Stripe\ApiResource" not found in /home/jeffre66/public_html/wp-content/plugins/wpforms-lite/vendor_prefixed/stripe/stripe-php/lib/Issuing/Cardholder.php:28
    Stack trace:
    #0 {main}
    thrown in /home/jeffre66/public_html/wp-content/plugins/wpforms-lite/vendor_prefixed/stripe/stripe-php/lib/Issuing/Cardholder.php on line 28
    [08-Oct-2025 21:30:17 UTC] PHP Fatal error: Uncaught Error: Class "WPForms\Vendor\Stripe\ApiResource" not found in /home/jeffre66/public_html/wp-content/plugins/wpforms-lite/vendor_prefixed/stripe/stripe-php/lib/Issuing/Transaction.php:36
    Stack trace:
    #0 {main}
    thrown in /home/jeffre66/public_html/wp-content/plugins/wpforms-lite/vendor_prefixed/stripe/stripe-php/lib/Issuing/Transaction.php on line 36
    [08-Oct-2025 21:31:20 UTC] PHP Fatal error: Uncaught Error: Class "WPForms\Vendor\Stripe\ApiResource" not found in /home/jeffre66/public_html/wp-content/plugins/wpforms-lite/vendor_prefixed/stripe/stripe-php/lib/Issuing/Authorization.php:43
    Stack trace:



                                                    ### Begin System Info ###

    -- WPForms Info

    Lite:                     Sep 14, 2020 at 1:34pm (GMT)

    Lite Connect:             Backup is not enabled

    -- Site Info

    Site URL:                 https://www.hairscalp.com

    Home URL:                 https://www.hairscalp.com

    Multisite:                No

    -- WordPress Configuration

    Version:                  6.8.3

    Language:                 en_US

    User Language:            en_US

    Permalink Structure:      /%postname%/

    Active Theme:             Services 1.0.0

    Show On Front:            page

    Page On Front:            Home (#5644)

    Page For Posts:           Blog (#5362)

    ABSPATH:                  /home/jeffre66/public_html/

    Table Prefix:             Length: 18   Status: ERROR: Too long

    WP_DEBUG:                 Disabled

    WPFORMS_DEBUG:            Not set

    Memory Limit:             512M

    Registered Post Stati:    publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed

    Revisions:                Enabled

    -- WordPress Uploads/Constants

    WP_CONTENT_DIR:           /home/jeffre66/public_html/wp-content

    WP_CONTENT_URL:           https://www.hairscalp.com/wp-content

    UPLOADS:                  Not set

    wp_uploads_dir() path:    /home/jeffre66/public_html/wp-content/uploads

    wp_uploads_dir() url:     https://www.hairscalp.com/wp-content/uploads

    wp_uploads_dir() basedir: /home/jeffre66/public_html/wp-content/uploads

    wp_uploads_dir() baseurl: https://www.hairscalp.com/wp-content/uploads

    -- Must-Use Plugins

    p3-profiler.php:

    -- WordPress Active Plugins

    Better Search Replace: 1.4.10

    Classic Editor: 1.6.7

    Ecwid by Lightspeed Ecommerce Shopping Cart: 7.0.4

    Fusebox Player: 2.11.0

    GetUWired Form Add: 0.0.1

    GetUWired Team Members: 0.0.1

    Header Footer Code Manager: 1.1.43

    Imagify: 2.2.6

    Link Whisper: 2.7.5

    MaxButtons: 9.8.5

    Nginx Helper: 2.3.5

    P3 (Plugin Performance Profiler): 1.5.4

    Redirection: 5.5.2

    SSL Insecure Content Fixer: 2.7.2

    Ultimate Kit ( Styler ) for WPForms: 3.8

    UpdraftPlus - Backup/Restore: 1.25.8

    WPForms Lite: 1.9.8.1

    WP Mail SMTP: 4.6.0

    WP Rocket: 3.14.2.1

    WPS Hide Login: 1.9.17.2

    Yoast SEO: 26.1.1

    -- WordPress Inactive Plugins

    -- Webserver Configuration

    PHP Version:              8.4.12

    MySQL Version:            10.6.23

    Webserver Info:           Apache

    -- PHP Configuration

    Memory Limit:             512M

    Upload Max Size:          256M

    Post Max Size:            256M

    Upload Max Filesize:      256M

    Time Limit:               90

    Max Input Vars:           4000

    Display Errors:           N/A

    -- PHP Extensions

    cURL:                     Supported

    fsockopen:                Supported

    SOAP Client:              Installed

    Suhosin:                  Not Installed

    -- Session Configuration

    Session:                  Disabled ### End System Info ###       
    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @emmanuelmroczka,

    Thanks for sharing all the information!

    However, I was unable to reproduce the issue using only the plugins available in the WordPress repository.

    But using a custom code snippet, I can reproduce the issue with a simple form, even without payment.

    Here is a screencast with more details.

    The error on your site is likely due to a code causing a conflict with the execution of WPForms. The form should submit, but an error is reported in the logs because part of the plugin execution is missing. As you can see in the screencast, I can reproduce this issue with a small PHP snippet.

    I recommend:

    1. Create a staging site for your tests so that you don’t affect the live site. WPBeginner has a guide that explains how to easily create a staging site.
    2. Disable all snippets under the Header Footer Code Manager plugin to see if the issue continues. If the issue stops, you need to review your snippets.
    3. If the issue persists, switch to a default WordPress theme, such as Twenty Twenty-Five, and see if the issue persists. If the issue stops, you need to review your theme.

    I hope this helps! If you have any questions, please let me know.

    Thanks!

    Thread Starter emmanuelmroczka

    (@emmanuelmroczka)

    I checked and we only have 4 snippets for tracking information. None of which seem to be causing this fatal error.

    PHP Fatal error: Uncaught Error: Class “WPForms\Vendor\Stripe\ApiResource” not found in /home/jeffre66/public_html/wp-content/plugins/wpforms-lite/vendor_prefixed/stripe/stripe-php/lib/Issuing/Cardholder.php:28 Stack trace:

    Is there a reason that this would not be found? As previously mentioned I have unistalled and reinstalled WPForms several times and have also tried to upload it directly to no avail.

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @emmanuelmroczka,

    The issue in this case might be a code conflict with your “Services 1.0.0” theme.

    When you have a chance, please test for a theme conflict. If it helps, we have a guide with details on how to do so.

    To prevent affecting your live site’s appearance or functionality, I recommend using a staging site for your test.

    Another option is to use the Health Check & Troubleshooting plugin on your site. It offers a quick and secure way to replace your theme and deactivate your installed plugins without affecting your live site’s appearance or functionality. You can learn more about this plugin here.

    I hope this helps!

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @emmanuelmroczka,

    We haven’t heard back from you in a few days, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks!

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

The topic ‘PHP Fatal error’ is closed to new replies.