Giter Club home page Giter Club logo

Comments (10)

warudin avatar warudin commented on June 29, 2024 2

The update is available on NPM now

from frontity-contact-form-7.

anantajitjg avatar anantajitjg commented on June 29, 2024 1

Do you know when it will be available on npm?

Sorry! No.

You can install frontity-contact-form-7 package locally(with PR changes) to test if the issue is solved. May be this link will be helpful for you: https://docs.frontity.org/guides/install-a-new-package#local-packages. You can use the package from here for your local package.

Also, you can downgrade the cf7 plugin and test if the issue is solved for now. Hope it helps!

from frontity-contact-form-7.

luisherranz avatar luisherranz commented on June 29, 2024 1

Thanks @anantajitjg I have merged the PR. I don't have access to publish the npm package so that has to be done by @imranhsayed.

from frontity-contact-form-7.

kilinkis avatar kilinkis commented on June 29, 2024 1

I tried the solution that @anantajitjg said of installing locally, and that fixed it for me :)

from frontity-contact-form-7.

warudin avatar warudin commented on June 29, 2024 1

For me as well. Hopefully it will be updated on NPM soon.

from frontity-contact-form-7.

dejangeorgiev avatar dejangeorgiev commented on June 29, 2024

When using this package with Frontity 1.9.0 and a WYSIWYG field from ACF Pro, I get the following error:

TypeError: Cannot read property 'inputVals' of undefined
      at eval (webpack-internal:///./node_modules/frontity-contact-form-7/src/index.js:32:79)
      at Object.args [as addHiddenInputs] (webpack-internal:///./node_modules/@frontity/connect/src/create-store.js:5:1702)
      at HiddenInputs (webpack-internal:///./node_modules/frontity-contact-form-7/src/components/HiddenInput.js:15:261)
      at runAsReaction (webpack-internal:///./node_modules/@frontity/connect/src/reactionRunner.js:16:45)
      at reaction (webpack-internal:///./node_modules/@frontity/connect/src/observer.js:7:131)
      at props (webpack-internal:///./node_modules/@frontity/connect/src/connect.js:21:16)
      at processChild (webpack-internal:///./node_modules/react-dom/cjs/react-dom-server.node.development.js:397:2319)
      at resolve (webpack-internal:///./node_modules/react-dom/cjs/react-dom-server.node.development.js:396:122)
      at ReactDOMServerRenderer.render (webpack-internal:///./node_modules/react-dom/cjs/react-dom-server.node.development.js:433:1199)
      at ReactDOMServerRenderer.read (webpack-internal:///./node_modules/react-dom/cjs/react-dom-server.node.development.js:433:55)

It was working on one of my machines installed from NPM version 0.1.4 but on another machine, I had to upgrade to get it working without using the deprecated process call.

Same Issue here.

from frontity-contact-form-7.

warudin avatar warudin commented on June 29, 2024

Same problem here, however I don't have an ACF WYSIWYG field as mentioned in the OP:

TypeError: Cannot read property 'inputVals' of undefined
      at eval (webpack-internal:///./node_modules/frontity-contact-form-7/src/index.js:32:79)
      at Object.eval [as addHiddenInputs] (webpack-internal:///./node_modules/@frontity/connect/src/create-store.js:5:1702)
      at HiddenInputs (webpack-internal:///./node_modules/frontity-contact-form-7/src/components/HiddenInput.js:15:261)
      at runAsReaction (webpack-internal:///./node_modules/@frontity/connect/src/reactionRunner.js:16:45)
      at reaction (webpack-internal:///./node_modules/@frontity/connect/src/observer.js:7:131)
      at eval (webpack-internal:///./node_modules/@frontity/connect/src/connect.js:21:16)
      at processChild (webpack-internal:///./node_modules/react-dom/cjs/react-dom-server.node.development.js:397:2319)
      at resolve (webpack-internal:///./node_modules/react-dom/cjs/react-dom-server.node.development.js:396:122)
      at ReactDOMServerRenderer.render (webpack-internal:///./node_modules/react-dom/cjs/react-dom-server.node.development.js:433:1199)
      at ReactDOMServerRenderer.read (webpack-internal:///./node_modules/react-dom/cjs/react-dom-server.node.development.js:433:55)

from frontity-contact-form-7.

anantajitjg avatar anantajitjg commented on June 29, 2024

I think this error is due to an update in cf7 v5.2. I have submitted a PR #32

from frontity-contact-form-7.

dejangeorgiev avatar dejangeorgiev commented on June 29, 2024

I think this error is due to an update in cf7 v5.2. I have submitted a PR #32

Great! Thank you @anantajitjg
Do you know when it will be available on npm?

from frontity-contact-form-7.

anantajitjg avatar anantajitjg commented on June 29, 2024

Thanks @luisherranz for merging the PR. I hope the new version will be released soon by @imranhsayed 🙂 🤞

from frontity-contact-form-7.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.