Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter 007canada

    (@007canada)

    I realized it is working because I rolled it back to 1.9.2. False alarm. ??

    I did a clean install using the WordPress manual download (instead of installatron)

    https://formtest2.creativesolutionscanada.com/sample-page/

    PHP Version ea-php73, WordPress 5.3.2 running Twenty Twenty theme, Forminator Version 1.11.3

    I still have the errors:
    [28-Feb-2020 18:15:12 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /home/cscdotcom/formtest2.creativesolutionscanada.com/wp-content/plugins/forminator/library/fields/upload.php:350
    Stack trace:
    #0 /home/cscdotcom/formtest2.creativesolutionscanada.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php(799): Forminator_Upload->handle_file_upload(Array)
    #1 /home/cscdotcom/formtest2.creativesolutionscanada.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php(426): Forminator_CForm_Front_Action->handle_form(‘5’)
    #2 /home/cscdotcom/formtest2.creativesolutionscanada.com/wp-includes/class-wp-hook.php(288): Forminator_CForm_Front_Action->save_entry(”)
    #3 /home/cscdotcom/formtest2.creativesolutionscanada.com/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)
    #4 /home/cscdotcom/formtest2.creativesolutionscanada.com/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #5 /home/cscdotcom/formtest2.creativesolutionscanada.com/wp-admin/admi in /home/cscdotcom/formtest2.creativesolutionscanada.com/wp-content/plugins/forminator/library/fields/upload.php on line 350

    I have tried png, jpg, pdf, txt all with the same error of undefined function mime_content_type()

    Thanks in advance,

    James

    Thread Starter 007canada

    (@007canada)

    I added this the debug but strangely, there are no errors reporting. I see the 500 errors in the network panel. They did not happen all the time.

    While I was in the admin and trying to see the entries, I had: Fatal error: Allowed memory size of…

    I added define( ‘WP_MEMORY_LIMIT’, ‘256M’ ); to wp-config.php

    Since this, I have not had an error on the testing website I originally listed.

    However, I go over to my clients website and follow the same steps. Here is what it says:

    [27-Feb-2020 22:10:52 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /home/lymphati/public_html/wp-content/plugins/forminator/library/fields/upload.php:350
    Stack trace:
    #0 /home/lymphati/public_html/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php(799): Forminator_Upload->handle_file_upload(Array)
    #1 /home/lymphati/public_html/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php(426): Forminator_CForm_Front_Action->handle_form(’59’)
    #2 /home/lymphati/public_html/wp-includes/class-wp-hook.php(286): Forminator_CForm_Front_Action->save_entry(”)
    #3 /home/lymphati/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
    #4 /home/lymphati/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #5 /home/lymphati/public_html/wp-admin/admin-ajax.php(173): do_action(‘wp_ajax_formina…’)
    #6 {main}
    thrown in /home/lymphati/public_html/wp-content/plugins/forminator/library/fields/upload.php on line 350

    I tried this on another site and found the similar error message (#5):

    [27-Feb-2020 22:20:37 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /home/cscdotcom/public_html/wp-content/plugins/forminator/library/fields/upload.php:350
    Stack trace:
    #0 /home/cscdotcom/public_html/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php(799): Forminator_Upload->handle_file_upload(Array)
    #1 /home/cscdotcom/public_html/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php(426): Forminator_CForm_Front_Action->handle_form(‘17895’)
    #2 /home/cscdotcom/public_html/wp-includes/class-wp-hook.php(288): Forminator_CForm_Front_Action->save_entry(”)
    #3 /home/cscdotcom/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)
    #4 /home/cscdotcom/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #5 /home/cscdotcom/public_html/wp-admin/admin-ajax.php(190): do_action(‘wp_ajax_nopriv_…’)
    #6 {main}
    thrown in /home/cscdotcom/public_html/wp-content/plugins/forminator/library/fields/upload.php on line 350

    Let me know if there is anything else I can do help.

    James

    Thread Starter 007canada

    (@007canada)

    Hey guys, any updates? Anything I can do to help or test?

    • This reply was modified 4 years, 9 months ago by 007canada.
    Thread Starter 007canada

    (@007canada)

    I did this, but in reverse.
    I setup the account to work, then updated as updates came out. I was not aware until the client noticed that the uploads were not working.
    Then I rolled back to 1.10.1 and it did not work. Rolled back to 1.9.2 and it worked.
    Here is a clean install I created before I put in the support ticket just to make sure there were no conflicts:
    https://fominatortest.creativesolutionscanada.com/

    I am having a similar issue with 1.11.1/2 (just updated today)
    The form submits fine, however, the file upload gives me an error “An error occurred processing the form. Please try again”.
    https://creativesolutionscanada.com/contact-us/
    If I go back to 1.9.2 it works fine.
    I have tried various browsers.
    Thanks in advance,
    James

    I think this is the problem I am having:

    Contact us today regarding your [seerox_wpdki_dyn_keywords default=”subscription”]!

    <div class=”section_inner_margin clearfix”><div class=”wpb_column vc_column_container vc_col-sm-6 vc_col-has-fill”><div class=”vc_column-inner vc_custom_1506377340827″><div class=”wpb_wrapper”>subscription
    <div class=”wpb_text_column wpb_content_element whitetext”>
    <div class=”wpb_wrapper”>
    <p>Contact us today regarding your !</p>

    </div>
    </div> …

    Updated “echo” to “return” and it works perfect!

    Nice catch @nixxxon23

    James

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