radarseven / mandrill-form Goto Github PK
View Code? Open in Web Editor NEWSimple form add-ont that integrates with the Mandrill API.
Simple form add-ont that integrates with the Mandrill API.
Mandrill Form returns the following error when used with Statamic 1.6.5:
Slim Application Error
The application could not run because of the following error:
Details
Type: ErrorException
Code: 2
Message: Missing argument 1 for Environment::detect(), called in /path/to/_add-ons/mandrill_form/pi.mandrill_form.php on line 35 and defined
File: /path/to/_app/core/api/environment.php
Line: 20
Trace
#0 /path/to/_app/core/api/environment.php(20): Slim\Slim::handleErrors(2, 'Missing argumen...', '/Users/chad/Sit...', 20, Array)
#1 /path/to/_add-ons/mandrill_form/pi.mandrill_form.php(35): Environment::detect()
#2 /path/to/_app/core/view.php(197): Plugin_mandrill_form->__construct()
#3 [internal function]: Statamic_View->callback('mandrill_form', Array, '?????{{ if erro...')
#4 /path/to/_app/vendor/Lex/Parser.php(384): call_user_func_array(Array, Array)
#5 /path/to/_app/vendor/Lex/Parser.php(109): Lex\Parser->parseCallbackTags('
render(NULL)
#8 /path/to/_app/vendor/Slim/View.php(182): Slim\View->fetch(NULL)
#9 /path/to/_app/vendor/Slim/Slim.php(672): Slim\View->display(NULL)
#10 /path/to/_app/routes.php(366): Slim\Slim->render(NULL, Array, 200)
#11 [internal function]: {closure}(Array)
#12 /path/to/_app/vendor/Slim/Router.php(172): call_user_func_array(Object(Closure), Array)
#13 /path/to/_app/vendor/Slim/Slim.php(1222): Slim\Router->dispatch(Object(Slim\Route))
#14 /path/to/_app/vendor/Slim/Middleware/Flash.php(86): Slim\Slim->call()
#15 /path/to/_app/vendor/Slim/Middleware/MethodOverride.php(94): Slim\Middleware\Flash->call()
#16 /path/to/_app/vendor/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#17 /path/to/_app/vendor/Slim/Slim.php(1174): Slim\Middleware\PrettyExceptions->call()
#18 /path/to/index.php(65): Slim\Slim->run()
#19 {main}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.