• lancefrenchcom

    (@lancefrenchcom)


    The plugin when used on PHP8
    Other forms on the site that use file inputs, the file uploads error.
    Turning the plugin off, or running on PHP7.4 work fine.

    ERROR:
    ##DOMAIN##/wp-json/contact-form-7/v1/contact-forms/1270/feedback

    [HTTP/2 500 Internal Server Error 463ms]

    code “rest_no_route”
    message “No route was found matching the URL and request method.”
    data
    status 404

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have the same problem.
    If I show the errors, this will appear:

    Fatal error: Uncaught TypeError: basename(): Argument #1 ($path) must be of type string, array given in /htdocs/www.site.com/wp-content/plugins/cost-calculator-contact-form-7/admin/cf7costcaloc-cf7-panel.php:241 Stack trace: #0 /htdocs/www.site.com/wp-content/plugins/cost-calculator-contact-form-7/admin/cf7costcaloc-cf7-panel.php(241): basename(Array) #1 /htdocs/www.site.com/wp-includes/class-wp-hook.php(309): cf7costcaloc_cf7_panel->save_application_form(Object(WPCF7_ContactForm)) #2 /htdocs/www.site.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #3 /htdocs/www.site.com/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #4 /htdocs/www.site.com/wp-content/plugins/contact-form-7/includes/submission.php(619): do_action_ref_array('wpcf7_before_se...', Array) #5 /htdocs/www.site.com/wp-content/plugins/contact-form-7/includes/submission.php(86): WPCF7_Submission->before_send_mail() #6 /htdocs/www.site.com/wp-content/plugins/contact-form-7/includes/submission.php(27): WPCF7_Submission->proceed() #7 /htdocs/www.site.com/wp-content/plugins/contact-form-7/includes/contact-form.php(1042): WPCF7_Submission::get_instance(Object(WPCF7_ContactForm), Array) #8 /htdocs/www.site.com/wp-content/plugins/contact-form-7/includes/controller.php(25): WPCF7_ContactForm->submit() #9 /htdocs/www.site.com/wp-includes/class-wp-hook.php(305): wpcf7_control_init() #10 /htdocs/www.site.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #11 /htdocs/www.site.com/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #12 /htdocs/www.site.com/wp-includes/class-wp.php(396): do_action_ref_array('parse_request', Array) #13 /htdocs/www.site.com/wp-includes/class-wp.php(758): WP->parse_request('') #14 /htdocs/www.site.com/wp-includes/functions.php(1310): WP->main('') #15 /htdocs/www.site.com/wp-blog-header.php(16): wp() #16 /htdocs/www.site.com/index.php(17): require('/htdocs/www...') #17 {main} thrown in /htdocs/www.site.com/wp-content/plugins/cost-calculator-contact-form-7/admin/cf7costcaloc-cf7-panel.php on line 241

    Thread Starter lancefrenchcom

    (@lancefrenchcom)

    I have reverted the site back to PHP7.4 and works, will wait for an update from the developer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP8’ is closed to new replies.