• Resolved hughfuve

    (@hughfuve)


    ElementorPro seems to have moved things around.

    to FIX I changed this path…
    around line 232 of class-mailster-action-after-submit.php

    
    $mailster_data['ip']     = \ElementorPro\Core\Utils::get_client_ip();
    //to
    $mailster_data['ip']     = \ElementorPro\Classes\Utils::get_client_ip();
    

    Version info

    
    Elementor v2.9.5
    Elementor Pro v2.8.5
    
    * Class Mailster_Action_After_Submit
     *
     * @package Integrate_Elementor_Form_with_Mailster/Includes/Mailster_Action_After_Submit
     * @since   1.0.0
     * @version 1.1.1
    

    Error log

    
    [30-Sep-2020 14:23:11 UTC] PHP Fatal error:  Uncaught Error: Class 'ElementorPro\Core\Utils' not found in /var/www/html/wp-content/plugins/integrate-elementor-form-with-mailster/includes/class-mailster-action-after-submit.php:232
    Stack trace:
    #0 /var/www/html/wp-content/plugins/elementor-pro/modules/forms/classes/ajax-handler.php(124): Mailster_Action_After_Submit->run(Object(ElementorPro\Modules\Forms\Classes\Form_Record), Object(ElementorPro\Modules\Forms\Classes\Ajax_Handler))
    #1 /var/www/html/wp-includes/class-wp-hook.php(287): ElementorPro\Modules\Forms\Classes\Ajax_Handler->ajax_send_form('')
    #2 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
    #3 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /var/www/html/wp-admin/admin-ajax.php(176): do_action('wp_ajax_element...')
    #5 {main}
      thrown in /var/www/html/wp-content/plugins/integrate-elementor-form-with-mailster/includes/class-mailster-action-after-submit.php on line 232
    [30-Sep-2020 14:49:45 UTC] PHP Notice:  Undefined index:  in /var/www/html/wp-content/plugins/integrate-elementor-form-with-mailster/includes/class-mailster-action-after-submit.php on line 228
    [30-Sep-2020 14:49:45 UTC] PHP Notice:  Undefined index:  in /var/www/html/wp-content/plugins/integrate-elementor-form-with-mailster/includes/class-mailster-action-after-submit.php on line 228
    
Viewing 1 replies (of 1 total)
  • Plugin Author Fernando Perrella

    (@feperrella)

    Hi,

    Thanks for showing this issue.

    I have implemented a fix for that, this way even with Elementor 2.8 it will work.
    Elementor 3.0 changed a lot of core functionalities.

    Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Errors when submit form ElementorPro v2.8.5’ is closed to new replies.