frontity-contact-form-7 icon indicating copy to clipboard operation
frontity-contact-form-7 copied to clipboard

Deprecated property: 'process'

Open DarkChris86 opened this issue 5 years ago • 12 comments

Hey @imranhsayed!

I got the following message in frontity app: image

Bests, Chris

DarkChris86 avatar Apr 02 '20 13:04 DarkChris86

Hey @DarkChris86, thanks for the PRs 🙂

If you look at the docs, the signature of the functions also changed. Now they receive objects, like this:

const processor = {
  test: ({ node }) => { /* ... */ },
  processor: ({ node }) => { /* ... */ },
};

The change is backward compatible but we will deprecate the old API at some point. Would you mind adding that change to your PRs? Thanks!!

luisherranz avatar Apr 03 '20 13:04 luisherranz

Hey @luisherranz .

Yes, I'm going to modify them like this! Thank you for friendly note! ; )

DarkChris86 avatar Apr 03 '20 14:04 DarkChris86

Thanks to you @DarkChris86! 😄

luisherranz avatar Apr 03 '20 14:04 luisherranz

It's done. Could you check them ( @luisherranz )?

Thanks, Chris

DarkChris86 avatar Apr 03 '20 14:04 DarkChris86

@DarkChris86 Approved and merged the PR.

imranhsayed avatar Apr 04 '20 14:04 imranhsayed

@imranhsayed When it will be available via npm update? https://www.npmjs.com/package/frontity-contact-form-7

Thanks, Chris

DarkChris86 avatar Apr 05 '20 09:04 DarkChris86

Thanks @DarkChris86! 🙌 🙂 (and @imranhsayed)

luisherranz avatar Apr 06 '20 06:04 luisherranz

I'm still getting this error on the latest version installed by NPM (0.1.4)~~, plus the form isn't showing up on a page that renders the code to a page via a custom field using <Html2react />~~. Anything I can do to fix the error and will it fix the contact form?

EDIT: The form works, I just needed to use a WYSIWYG field instead of a text area as provided by ACF Pro.

davidrhoderick avatar Jun 28 '20 20:06 davidrhoderick

@imranhsayed can you please release a new version in npm?

luisherranz avatar Jun 29 '20 08:06 luisherranz

@imranhsayed any update on releasing a new version in npm? The contact form isn't even showing up on my site now.

It's funny, on my laptop, I don't get this error, so it might be related to the version of npm being used. I'll look into this a bit more...

davidrhoderick avatar Jul 03 '20 13:07 davidrhoderick

Released the new version on npm

imranhsayed avatar Jul 04 '20 11:07 imranhsayed

Thanks @imranhsayed the latest version doesn't have this bug but I have found a new error with the latest version I will create another issue about.

davidrhoderick avatar Jul 06 '20 14:07 davidrhoderick