Support » Plugin: WPAdverts - Classifieds Plugin » Post updated, but some required data is not filled properly

  • Resolved Matt Biscay

    (@skyminds)


    Hi Greg,

    I’m starting to get this message when I update an advert:

    Post updated, but some required data is not filled properly.

    All the form’s required fields have been filled in correctly. Is there a way to find out where it trips?

    Thank you,
    Matt

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    if you are seeing this message you can scroll to the bottom and the fields which were not filled correctly should be marked and show a validation error.

    Thread Starter Matt Biscay

    (@skyminds)

    Hi Greg,

    Unfortunately, I do not get validation errors in the “Additional Information” block.

    Here’s a screenshot:
    https://send.firefox.com/download/05e0cdb3b30c2c49/#O1m6U3pMR2s6lZlQEsecZg

    The submission form was modified after the ad was posted. Would that interfere with the checksum validation?

    Thanks,
    Matt

    Plugin Author Greg Winiarski

    (@gwin)

    It should not conflict with the checksum.

    To find out the errors you can open file wpadverts/includes/admin-post-type.php go to line 176 and before line

    
    if ( !$valid ) {
    

    add

    
    echo "<pre>";print_r($form);echo "</pre>";exit;
    

    This will show you the whole form scheme with error messages if the form validation will fail.

    Thread Starter Matt Biscay

    (@skyminds)

    Hi Greg,

    Thank you very much. There were more photos added to the gallery than the maximum authorized.

    Cheers,
    Matt

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post updated, but some required data is not filled properly’ is closed to new replies.