• Resolved John

    (@dsl225)


    Hello,

    I’m using a snippet on a website for adding the submission ID to inline success message as kindly suggested last year here and that was working fine until recently as I’m now starting getting this error:

    Fatal error: Uncaught Error: Class 'Forminator_Custom_Form_Model' not found in /wp-content/plugins/code-snippets/php/snippet-ops.php(469) : eval()'d code:52
    
    Stack Trace
    1.	
    WPMUDEV_Forminator_Submission_ID_In_Response->temporize_entry_id(Object(Forminator_Form_Entry_Model), '18693', Array)
    /wp-includes/class-wp-hook.php:292
    2.	
    WP_Hook->apply_filters('', Array)
    /wp-includes/class-wp-hook.php:316
    3.	
    WP_Hook->do_action(Array)
    /wp-includes/plugin.php:484
    4.	
    do_action('forminator_cust...', Object(Forminator_Form_Entry_Model), '18693', Array)
    /wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php:1043
    5.	
    Forminator_CForm_Front_Action->handle_form('18693')
    /wp-content/plugins/forminator/library/abstracts/abstract-class-front-action.php:271
    6.	
    Forminator_Front_Action->save_entr in /home/hundreds/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(469) : eval()'d code on line 52
    /wp-includes/class-wp-hook.php:292

    Is this something that has changed in a recent update and I should delete this snippet or else?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP error on previously implemented snippet’ is closed to new replies.