Git Product home page Git Product logo

wn-forms-plugin's Issues

replyto mail not working

If replyto-field is set it gives error from swiftmailer "Address in mailbox given does not comply with RFC 2822".
Tested on php7.3.17 / wn 1.1.7 and works fine with version 1.5.1 of october-plugin-forms but generates error with 2.0.0 of wn-forms-plugin.

Classes\Mails folder

the "Mails" folder under "classes" needs to be lowercase, otherwise the classes are not found when calling App::makeWidth().

Error send email notification

I have this error on submit form with activated notifications email

"Class "Martin\Forms\Classes\Mails\Notification" does not exist" on line 52 of /home2/devcav9e/ftadrianamunoz.com/vendor/winter/storm/src/Foundation/Maker.php

thanks for you help, sorry by my english

Installation error (Your requirements could not be resolved to an installable set of packages)

Winter CMS Build 1.2.1
PHP Version 8.1

composer require martin/wn-forms-plugin
Using version ^2.0 for martin/wn-forms-plugin
./composer.json has been updated
Running composer update martin/wn-forms-plugin
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - wintercms/winter is present at version 1.0.0+no-version-set and cannot be modified by Composer
    - Only one of these can be installed: winter/wn-builder-plugin[v2.0.6], wintercms/winter[1.0.0+no-version-set]. They both replace rainlab/builder-plugin and thus cannot coexist.
    - winter/wn-builder-plugin is locked to version v2.0.6 and an update of this package was not requested.

You can also try re-running composer require with an explicit version constraint, e.g. "composer require martin/wn-forms-plugin:*" to figure out if any version is installable, or "composer require martin/wn-forms-plugin:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Using `mail_replyto` component property crash sending mail

  • wintercms 1.1.7
  • foms 2.0.0

If mail_replyto component property is used to refer a form field, then the mail notification result in an error :
Swift_RfcComplianceException: Address in mailbox given [email] does not comply with RFC 2822, 3.6.2.

In this case I want to use the email field of my form.

When I was looking for the cause of the problem, I realised that the line

$message->replyTo($this->properties['mail_replyto']);

May be changed to $message->replyTo($this->post[$this->properties['mail_replyto']]); if we want the reply field of mail to be set.

The only workaround currently found is to remove the reply_to property from the component.

Upload form bug

After clicking on the send button I get:

ErrorException: preg_replace(): Unknown modifier '-' in /home2/roosterc/public_html/plugins/martin/forms/classes/BackendHelpers.php:88

Stack trace:
#0 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(259): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap{closure}()
#2 /home2/roosterc/public_html/plugins/martin/forms/classes/BackendHelpers.php(88): preg_replace()
#3 /home2/roosterc/public_html/plugins/martin/forms/classes/mails/Notification.php(122): Martin\Forms\Classes\BackendHelpers::replaceToken()
#4 /home2/roosterc/public_html/plugins/martin/forms/classes/mails/Notification.php(57): Martin\Forms\Classes\Mails\Notification->prepareCustomSubject()
#5 /home2/roosterc/public_html/plugins/martin/forms/classes/MagicForm.php(216): Martin\Forms\Classes\Mails\Notification->send()
#6 /home2/roosterc/public_html/modules/cms/classes/ComponentBase.php(194): Martin\Forms\Classes\MagicForm->onFormSubmit()
#7 /home2/roosterc/public_html/modules/cms/classes/Controller.php(823): Cms\Classes\ComponentBase->runAjaxHandler()
#8 /home2/roosterc/public_html/modules/cms/classes/Controller.php(714): Cms\Classes\Controller->runAjaxHandler()
#9 /home2/roosterc/public_html/modules/cms/classes/Controller.php(371): Cms\Classes\Controller->execAjaxHandlers()
#10 /home2/roosterc/public_html/modules/cms/classes/Controller.php(217): Cms\Classes\Controller->runPage()
#11 /home2/roosterc/public_html/modules/cms/classes/CmsController.php(50): Cms\Classes\Controller->run()
#12 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): Cms\Classes\CmsController->run()
#13 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\Routing\Controller->callAction()
#14 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\Routing\ControllerDispatcher->dispatch()
#15 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\Routing\Route->runController()
#16 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(727): Illuminate\Routing\Route->run()
#17 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Routing\Router->Illuminate\Routing{closure}()
#18 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#19 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Routing\Middleware\SubstituteBindings->handle()
#20 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#21 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\View\Middleware\ShareErrorsFromSession->handle()
#22 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#23 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
#24 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle()
#25 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#26 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
#27 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#28 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle()
#29 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#30 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(728): Illuminate\Pipeline\Pipeline->then()
#31 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(705): Illuminate\Routing\Router->runRouteWithinStack()
#32 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(669): Illuminate\Routing\Router->runRoute()
#33 /home2/roosterc/public_html/vendor/winter/storm/src/Router/CoreRouter.php(20): Illuminate\Routing\Router->dispatchToRoute()
#34 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Winter\Storm\Router\CoreRouter->dispatch()
#35 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http{closure}()
#36 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#37 /home2/roosterc/public_html/vendor/winter/storm/src/Foundation/Http/Middleware/CheckForMaintenanceMode.php(25): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
#38 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Winter\Storm\Foundation\Http\Middleware\CheckForMaintenanceMode->handle()
#39 /home2/roosterc/public_html/vendor/winter/storm/src/Foundation/Http/Middleware/CheckForTrustedProxies.php(56): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#40 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Winter\Storm\Foundation\Http\Middleware\CheckForTrustedProxies->handle()
#41 /home2/roosterc/public_html/vendor/winter/storm/src/Http/Middleware/TrustHosts.php(46): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#42 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Winter\Storm\Http\Middleware\TrustHosts->handle()
#43 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#44 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\Pipeline\Pipeline->then()
#45 /home2/roosterc/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#46 /home2/roosterc/public_html/index.php(43): Illuminate\Foundation\Http\Kernel->handle()
#47 {main}

Target class [Martin\Forms\Classes\FilePond\FilePondController] does not exist.

Hi guys, first of all I want to thank you for creating this amazing plugin.
Currently I am using this plugin to submit forms on my website and am getting the following error.
I use the file upload form on localhost, no problem. But when I use it on my hosting, I get an error Target class [Martin\Forms\Classes\FilePond\FilePondController] does not exist. Can someone help me. tks all!

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.