• Resolved MRmedia

    (@dermarci)


    Hi,

    when saving an existing listing, the admin-ajax.php result is as follows:

    {error_msg: ["PLZ field is required!", "Telefon field is required!", "Email field is required!",…],…}
    edited_listing: true
    error: true
    error_msg: ["PLZ field is required!", "Telefon field is required!", "Email field is required!",…]
    id: 3311
    preview_mode: true
    redirect_url: "https://www.domain.de/dienstleister/slug/?notice=1"
    success: true
    success_msg: "Deine ?nderungen wurden erfolgreich gesendet! Du wirst weitergeleitet..."

    It throws an error and a success at the same time, and a redirection does not work.
    It displays the textfield names to the user which are required (but not empty!).

    Ended up in class-add-listing.php on line 156, where $submitted_data is 0

    Thank you in advance
    Marc

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

    (@m4hd1bd)

    Hi @dermarci,

    This could be a server configuration-related issue. Could you get in touch with your hosting provider and tell them to increase the value of ‘max_input_vars’ form php.ini? Or if you can do it yourself, kindly do so and let me know if it resolves the issue.

    Regards,
    Mahdi.

    Thread Starter MRmedia

    (@dermarci)

    Hi @m4hd1bd

    Ooops. You’re completely right. I’ve shrinked the max input vars after an php update on the server.

    THANKS ??

    Kind Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Validation error on edit listing form’ is closed to new replies.