• Resolved babouz44

    (@babouz44)


    Hi !
    First of all, thank you for this great plugin ! We try to test the slack notification but we just figure out that if this option is active, it break the submission of our GravityForm. We get a 500 fatal error in the response of the ajax submission.

    So to try if the slack notification work well, we have make a volontary error in the smtp servor url. We also try to make an error in the sender email, and in both of case we get the same error message…

    Here is the error :

     Fatal error: Uncaught Error: Using $this when not in object context in XXXXXXXX/wp-content/plugins/fluent-smtp/app/Services/NotificationHelper.php:304 Stack trace: #0 XXXXXXXX/wp-content/plugins/fluent-smtp/app/Hooks/Handlers/SchedulerHandler.php(287): FluentMail\App\Services\NotificationHelper::formatSlackMessageBlock(Object(FluentMail\App\Services\Mailer\Providers\DefaultMail\Handler), Array) #1 XXXXXXXX/wp-includes/class-wp-hook.php(324): FluentMail\App\Hooks\Handlers\SchedulerHandler->maybeSendNotification(‘333’, Object(FluentMail\App\Services\Mailer\Providers\DefaultMail\Handler), Array) #2 XXXXXXXX/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #3 XXXXXXXX/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 XXXXXXXX/wp-content/plugins/fluent-smtp/app/Services/Mailer/BaseHandler.php(314): do_action(‘fluentmail_emai…’, ‘333’, Object(FluentMail\App\Services\Mailer\Providers\DefaultMail\Handler), Array) #5 XXXXXXXX/wp-content/plugins/fluent-smtp/app/Services/Mailer/BaseHandler.php(273): FluentMail\App\Services\Mailer\BaseHandler->processResponse(Array, false) #6 XXXXXXXX/wp-content/plugins/fluent-smtp/app/Services/Mailer/Providers/DefaultMail/Handler.php(42): FluentMail\App\Services\Mailer\BaseHandler->handleResponse(Object(WP_Error)) #7 XXXXXXXX/wp-content/plugins/fluent-smtp/app/Services/Mailer/Providers/DefaultMail/Handler.php(25): FluentMail\App\Services\Mailer\Providers\DefaultMail\Handler->handleFailure(Object(PHPMailer\PHPMailer\Exception)) #8 XXXXXXXX/wp-content/plugins/fluent-smtp/app/Services/Mailer/Providers/DefaultMail/Handler.php(13): FluentMail\App\Services\Mailer\Providers\DefaultMail\Handler->postSend() #9 XXXXXXXX/wp-content/plugins/fluent-smtp/app/Services/Mailer/FluentPHPMailer.php(39): FluentMail\App\Services\Mailer\Providers\DefaultMail\Handler->send() #10 XXXXXXXX/wp-content/plugins/fluent-smtp/app/Hooks/Handlers/SchedulerHandler.php(195): FluentMail\App\Services\Mailer\FluentPHPMailer->sendViaFallback(333) #11 XXXXXXXX/wp-includes/class-wp-hook.php(324): FluentMail\App\Hooks\Handlers\SchedulerHandler->maybeHandleFallbackConnection(333, Object(FluentMail\App\Services\Mailer\Providers\Smtp\Handler), Array) #12 XXXXXXXX/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #13 XXXXXXXX/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #14 XXXXXXXX/wp-content/plugins/fluent-smtp/app/Services/Mailer/BaseHandler.php(321): do_action(‘fluentmail_emai…’, 333, Object(FluentMail\App\Services\Mailer\Providers\Smtp\Handler), Array) #15 XXXXXXXX/wp-content/plugins/fluent-smtp/app/Services/Mailer/BaseHandler.php(273): FluentMail\App\Services\Mailer\BaseHandler->processResponse(Array, false) #16 XXXXXXXX/wp-content/plugins/fluent-smtp/app/Services/Mailer/Providers/Smtp/Handler.php(127): FluentMail\App\Services\Mailer\BaseHandler->handleResponse(Object(WP_Error)) #17 XXXXXXXX/wp-content/plugins/fluent-smtp/app/Services/Mailer/Providers/Smtp/Handler.php(20): FluentMail\App\Services\Mailer\Providers\Smtp\Handler->postSend() #18 XXXXXXXX/wp-content/plugins/fluent-smtp/app/Services/Mailer/FluentPHPMailer.php(28): FluentMail\App\Services\Mailer\Providers\Smtp\Handler->send() #19 XXXXXXXX/wp-content/plugins/fluent-smtp/app/Functions/helpers.php(611): FluentMail\App\Services\Mailer\FluentPHPMailer->send() #20 XXXXXXXX/wp-content/plugins/fluent-smtp/fluent-smtp.php(49): fluentMailSend(Array, ‘Nouveau message…’, ‘<html>\r\n\t<head>…’, Array, Array) #21 XXXXXXXX/wp-content/plugins/gravityforms/common.php(2404): wp_mail(‘contact@web-ia….’, ‘Nouveau message…’, ‘<html>\r\n\t<head>…’, Array, Array) #22 XXXXXXXX/wp-content/plugins/gravityforms/common.php(2124): GFCommon::send_email(‘fomulaire@auto-…’, ‘contact@web-ia….’, ”, ‘[email protected]…’, ‘Nouveau message…’, ‘<html>\r\n\t<head>…’, ‘billy’, ‘html’, Array, Array, Array, ”) #23 XXXXXXXX/wp-content/plugins/gravityforms/common.php(2187): GFCommon::send_notification(Array, Array, Array, Array) #24 XXXXXXXX/wp-content/plugins/gravityforms/includes/api.php(2380): GFCommon::send_notifications(Array, Array, Array, true, ‘form_submission’, Array) #25 XXXXXXXX/wp-content/plugins/gravityforms/common.php(2194): GFAPI::send_notifications(Array, Array) #26 XXXXXXXX/wp-content/plugins/gravityforms/form_display.php(1937): GFCommon::send_form_submission_notifications(Array, Array) #27 XXXXXXXX/wp-content/plugins/gravityforms/form_display.php(201): GFFormDisplay::handle_submission(Array, Array, true) #28 XXXXXXXX/wp-content/plugins/gravityforms/gravityforms.php(886): GFFormDisplay::process_form(2, 1) #29 XXXXXXXX/wp-includes/class-wp-hook.php(324): GFForms::maybe_process_form(Object(WP)) #30 XXXXXXXX/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #31 XXXXXXXX/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #32 XXXXXXXX/wp-includes/class-wp.php(830): do_action_ref_array(‘wp’, Array) #33 XXXXXXXX/wp-includes/functions.php(1336): WP->main(”) #34 XXXXXXXX/wp-blog-header.php(16): wp() #35 XXXXXXXX/index.php(17): require(‘/home/clients/1…’) #36 {main} thrown in XXXXXXXX/wp-content/plugins/fluent-smtp/app/Services/NotificationHelper.php on line 304

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Ibrahim Sharif

    (@ibrahimsharif)

    Hello @babouz44,

    Thank you for reaching out regarding the issue you’re experiencing with FluentSMTP and GravityForm submissions.

    To better assist you, could you please provide me with the following information:

    • Relevant Plugin Versions: Please list the versions of FluentSMTP, GravityForms, and any other relevant plugins.
    • PHP Details: What is your current PHP version?

    Additionally, could you please include the details from WordPress Tools > Site Health > Server and Database, as well as your Active Plugin List?

    Once I have this information, I’ll be able to investigate the issue further and provide you with a more effective solution.

    Thank you for your patience and cooperation.

    Thread Starter babouz44

    (@babouz44)

    Hi Ibrahim,

    Thank you for your answer. Here are the informations, we currently use GF 2.9.2 and FLuent SMTP 2.2.83, PHP version is 8.2.2

    And here is the site health informations

    ` wp-core

    version: 6.7.1
    site_language: fr_FR
    user_language: fr_FR
    timezone: Europe/Paris
    permalink: /blog/%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: closed
    environment_type: production
    user_count: 6
    dotorg_communication: true wp-paths-sizes

    wordpress_path: /home/clients/xxx/xxx
    wordpress_size: 124,66 Mo (130716348 bytes)
    uploads_path: /home/clients/xxx/xxx/wp-content/uploads
    uploads_size: 258,65 Mo (271213688 bytes)
    themes_path: /home/clients/xxx/xxx/wp-content/themes
    themes_size: 13,49 Mo (14145817 bytes)
    plugins_path: /home/clients/xxx/xxx/wp-content/plugins
    plugins_size: 155,82 Mo (163391142 bytes)
    fonts_path: /home/clients/xxx/xxx/wp-content/uploads/fonts
    fonts_size: directory not found
    database_size: 36,98 Mo (38780928 bytes)
    total_size: 589,61 Mo (618247923 bytes) wp-dropins (2)

    advanced-cache.php: true
    object-cache.php: true wp-active-theme

    name: THEME (xxx)
    version: 3.0.0
    author: Antoine TIROUFLET & Boris BILLY
    author_website: http://www.web-ia.com
    parent_theme: none
    theme_features: core-block-patterns, post-thumbnails, menus, widgets-block-editor, widgets
    theme_path: /home/clients/xxx/xxx/wp-content/themes/xxx
    auto_update: Désactivé wp-themes-inactive (2)

    Twenty Twenty-Five: version: 1.0, author: L’équipe WordPress, Mises Ă  jour auto dĂ©sactivĂ©es
    Twenty Twenty-Four: version: 1.3, author: L’équipe WordPress, Mises Ă  jour auto dĂ©sactivĂ©es wp-mu-plugins (3)

    SecuPress COOKIEHASH: author: (undefined), version: 2.0
    SecuPress Salt Keys: author: (undefined), version: 2.0
    WP Umbrella: version: 1.0.0, author: WP Umbrella wp-plugins-active (38)

    ACF Repeater & Flexible Content Collapser: version: 1.2.8, author: Thomas Meyer, Mises à jour auto activées
    Admin Columns Pro: version: 6.4.14, author: AdminColumns.com, Mises à jour auto activées
    Admin Menu Editor: version: 1.12.4, author: Janis Elsts, Mises à jour auto activées
    Advanced Custom Fields PRO: version: 6.3.12, author: WP Engine, Mises à jour auto activées
    Advanced Database Cleaner PRO: version: 3.2.10, author: Younes JFR., Mises à jour auto activées
    Advanced Editor Tools: version: 5.9.2, author: Automattic, Mises à jour auto activées
    Anti-Spam by CleanTalk: version: 6.48.2, author: ĐĄleanTalk - Anti-Spam Protection [email protected], Mises Ă  jour auto activĂ©es
    Classic Editor: version: 1.6.7, author: WordPress Contributors, Mises à jour auto activées
    Clean Image Filenames: version: 1.5, author: Upperdog, Mises à jour auto activées
    Disable XML-RPC Pingback: version: 1.2.2, author: Samuel Aguilera, Mises à jour auto activées
    FacetWP: version: 4.3.5, author: FacetWP, LLC, Mises à jour auto activées
    FacetWP - Conditional Logic: version: 1.5, author: FacetWP, LLC, Mises à jour auto activées
    Filenames to latin: version: 2.7, author: webvitaly, Mises à jour auto activées
    FluentSMTP: version: 2.2.83, author: FluentSMTP & WPManageNinja Team, Mises à jour auto activées
    G-Forms hCaptcha: version: 1.3.1, author: Web & App Easy B.V., Mises à jour auto activées
    Gravity Forms: version: 2.9.2, author: Gravity Forms, Mises à jour auto activées
    Gravity Forms HubSpot Add-On: version: 2.1.0, author: Gravity Forms, Mises à jour auto activées
    Headers Security Advanced & HSTS WP: version: 5.0.41, author: 🐙 Andrea Ferro, Mises Ă  jour auto activĂ©es
    Imagify: version: 2.2.5, author: Imagify Image Optimizer – Optimize Images & Convert WebP & Avif, Mises Ă  jour auto activĂ©es
    Imsanity: version: 2.8.6, author: Exactly WWW, Mises à jour auto activées
    MainWP Child: version: 5.3.4, author: MainWP, Mises à jour auto activées
    Make Connector: version: 1.5.8, author: Celonis s.r.o., Mises à jour auto désactivées
    Object Cache 4 everyone: version: 2.2, author: fpuenteonline, Mises à jour auto activées
    Post Types Order: version: 2.3.3, author: Nsp Code, Mises à jour auto activées
    Regenerate Thumbnails: version: 3.1.6, author: Alex Mills (Viper007Bond), Mises à jour auto activées
    SecuPress Pro — WordPress Security: version: 2.2.5.3, author: SecuPress, Mises Ă  jour auto activĂ©es
    Site Kit by Google: version: 1.144.0, author: Google (latest version: 1.145.0), Mises à jour auto désactivées
    UpdraftPlus - Backup/Restore: version: 2.25.1.26, author: TeamUpdraft, DavidAnderson, Mises à jour auto activées
    User Role Editor: version: 4.64.4, author: Vladimir Garagulya, Mises à jour auto activées
    Wia Site test: version: 0.1.0, author: Boris Billy, Mises à jour auto désactivées
    WordPress Backup & Security Plugin - BlogVault: version: 5.91, author: Backup by BlogVault, Mises à jour auto activées
    WP-PageNavi: version: 2.94.5, author: Lester 'GaMerZ' Chan, Mises à jour auto activées
    WP Client Reports: version: 1.0.23, author: SwitchWP, Mises à jour auto désactivées
    WP Rocket: version: 3.18, author: WP Media, Mises à jour auto désactivées
    WP Rollback: version: 2.0.7, author: WP Rollback, Mises à jour auto activées
    WP Sitemap Page: version: 1.9.4, author: Tony Archambeau, Mises à jour auto activées
    WP Umbrella: version: 2.17.1, author: WP Umbrella - Backup & Manage WordPress, Mises à jour auto désactivées
    Yoast SEO: version: 24.3, author: Team Yoast, Mises à jour auto activées wp-plugins-inactive (3)

    Code Profiler Pro: version: 1.6.10, author: Jerome Bruandet ~ NinTechNet Ltd., Mises à jour auto activées
    WIA Linkedin: version: 0.1.0, author: Boris Billy, Mises à jour auto activées
    Wia Test CI-CD: version: 1.1.219, author: Boris Billy, Mises à jour auto activées wp-media

    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1673
    imagemagick_version: ImageMagick 6.8.9-9 Q16 x86_64 2019-12-29 http://www.imagemagick.org
    imagick_version: 3.7.0
    file_uploads: 1
    post_max_size: 300M
    upload_max_filesize: 300M
    max_effective_size: 300 Mo
    max_file_uploads: 100
    imagick_limits:
    imagick::RESOURCETYPE_AREA: 23 Go
    imagick::RESOURCETYPE_DISK: 1.844674407371E+19
    imagick::RESOURCETYPE_FILE: 6144
    imagick::RESOURCETYPE_MAP: 23 Go
    imagick::RESOURCETYPE_MEMORY: 12 Go
    imagick::RESOURCETYPE_THREAD: 1
    imagick::RESOURCETYPE_TIME: 1.844674407371E+19
    imagemagick_file_formats: 3FR, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FITS, FRACTAL, FTS, G3, GIF, GIF87, GRADIENT, GRAY, GROUP4, GV, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, ICB, ICO, ICON, INFO, INLINE, IPL, ISOBRL, JBG, JBIG, JNG, JNX, JPEG, JPG, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MEF, MIFF, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    gd_version: bundled (2.1.0 compatible)
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: unknown wp-server

    server_architecture: Linux 4.9.0-0.bpo.12-amd64 x86_64
    httpd_software: Apache
    php_version: 8.2.20 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 10000
    time_limit: 1800
    memory_limit: 640M
    max_input_time: 0
    upload_max_filesize: 300M
    php_post_max_size: 300M
    curl_version: 7.74.0 OpenSSL/1.1.1k
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: true
    current: 2025-01-28T10:47:43+00:00
    utc-time: Tuesday, 28-Jan-25 10:47:43 UTC
    server-time: 2025-01-28T11:47:41+01:00 wp-database

    extension: mysqli
    server_version: 10.4.17-MariaDB-1:10.4.17+maria~jessie-log
    client_version: mysqlnd 8.2.20
    max_allowed_packet: 67108864
    max_connections: 400 wp-constants

    WP_HOME: https://www.web-ia.com
    WP_SITEURL: https://www.web-ia.com
    WP_CONTENT_DIR: /home/clients/xxx/xxx/wp-content
    WP_PLUGIN_DIR: /home/clients/xxx/xxx/wp-content/plugins
    WP_MEMORY_LIMIT: 640M
    WP_MAX_MEMORY_LIMIT: 640M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: false
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: undefined
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined wp-filesystem

    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    fonts: not writable
    mu-plugins: writable acf

    version: 6.3.12
    plugin_type: PRO
    update_source: ACF Direct
    activated: true
    activated_url: https://www.web-ia.com
    license_type: Developer
    license_status: active
    subscription_expires: undefined
    ui_field_groups: 21
    php_field_groups: 0
    json_field_groups: 0
    rest_field_groups: 0
    post_types_enabled: true
    ui_post_types: 6
    json_post_types: 0
    ui_taxonomies: 3
    json_taxonomies: 0
    ui_options_pages_enabled: true
    ui_options_pages: 0
    json_options_pages: 0
    php_options_pages: 8
    rest_api_format: light
    registered_acf_blocks: 0
    blocks_per_api_version:
    blocks_per_acf_block_version:
    blocks_using_post_meta: 0
    preload_blocks: true
    admin_ui_enabled: true
    field_type-modal_enabled: true
    field_settings_tabs_enabled: false
    shortcode_enabled: true
    registered_acf_forms: 0
    json_save_paths: 1
    json_load_paths: 1 google-site-kit

    version: 1.144.0
    php_version: 8.2.20
    wp_version: 6.7.1
    reference_url: https://www.web-ia.com
    amp_mode: no
    site_status: connected-site
    user_status: authenticated
    verification_status: verified-non-site-kit
    connected_user_count: 1
    active_modules: site-verification, search-console, analytics-4, tagmanager, pagespeed-insights
    recoverable_modules: none
    required_scopes:
    openid: ✅
    https://www.googleapis.com/auth/userinfo.profile: ✅
    https://www.googleapis.com/auth/userinfo.email: ✅
    https://www.googleapis.com/auth/siteverification: ✅
    https://www.googleapis.com/auth/webmasters: ✅
    https://www.googleapis.com/auth/analytics.readonly: ✅
    https://www.googleapis.com/auth/tagmanager.readonly: ✅
    capabilities:
    googlesitekit_authenticate: ✅
    googlesitekit_setup: ✅
    googlesitekit_view_posts_insights: ✅
    googlesitekit_view_dashboard: ✅
    googlesitekit_manage_options: ✅
    googlesitekit_update_plugins: ✅
    googlesitekit_view_splash: ✅
    googlesitekit_view_authenticated_dashboard: ✅
    googlesitekit_view_wp_dashboard_widget: ✅
    googlesitekit_view_admin_bar_menu: ✅
    googlesitekit_view_shared_dashboard: ⭕
    googlesitekit_read_shared_module_data::["search-console"]: ⭕
    googlesitekit_read_shared_module_data::["analytics-4"]: ⭕
    googlesitekit_read_shared_module_data::["pagespeed-insights"]: ⭕
    googlesitekit_manage_module_sharing_options::["search-console"]: ✅
    googlesitekit_manage_module_sharing_options::["analytics-4"]: ✅
    googlesitekit_manage_module_sharing_options::["pagespeed-insights"]: ✅
    googlesitekit_delegate_module_sharing_management::["search-console"]: ✅
    googlesitekit_delegate_module_sharing_management::["analytics-4"]: ✅
    googlesitekit_delegate_module_sharing_management::["pagespeed-insights"]: ⭕
    enabled_features:
    adsPax: ⭕
    audienceSegmentation: ✅
    conversionReporting: ⭕
    firstPartyMode: ⭕
    gm3Components: ⭕
    privacySandboxModule: ⭕
    rrmModule: ⭕
    rrmModuleV2: ⭕
    signInWithGoogleModule: ⭕
    active_conversion_event_providers: none
    consent_mode: disabled
    consent_api: not-detected
    search-console_shared_roles: none
    search-console_management: owner
    analytics-4_shared_roles: none
    analytics-4_management: owner
    pagespeed-insights_shared_roles: none
    pagespeed-insights_management: all_admins
    key_metrics_status: Not setup
    search_console_property: https://www.web-ia.com/
    analytics_4_account_id: 1494‱‱‱
    analytics_4_property_id: 3822678‱‱
    analytics_4_web_data_stream_id: 5368‱‱‱‱‱‱
    analytics_4_measurement_id: G-90‱‱‱‱‱‱‱‱
    analytics_4_use_snippet: no
    analytics_4_ads_conversion_id: none
    analytics_4_available_custom_dimensions: none
    analytics_4_ads_linked: true
    analytics_4_ads_linked_last_synced_at: 1728382729
    analytics_4_site_kit_audiences: none
    tagmanager_account_id: 6251‱‱‱‱‱‱
    tagmanager_container_id: GTM-WP8‱‱‱‱‱
    tagmanager_amp_container_id: none
    tagmanager_use_snippet: yes

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

The topic ‘Slack notification break submission’ is closed to new replies.