Comments (10)
Can you copy/paste the stacktrace? With the current informations, I can't point out what's the problem :s
from ivory-google-map.
Sure,
Stack trace
[1] Symfony\Component\Debug\Exception\ContextErrorException: Notice: Array to string conversion in C:\wamp\www\teamz\vendor\doctrine\dbal\lib\Doctrine\DBAL\Statement.php line 103
at n/a
in C:\wamp\www\teamz\vendor\doctrine\dbal\lib\Doctrine\DBAL\Statement.php line 103
at Symfony\Component\Debug\ErrorHandler->handle('8', 'Array to string conversion', 'C:\wamp\www\teamz\vendor\doctrine\dbal\lib\Doctrine\DBAL\Statement.php', '103', array('name' => '1', 'value' => array(), 'type' => object(StringType), 'bindingType' => '2'))
in line
at PDOStatement->bindValue('1', array(), '2')
in C:\wamp\www\teamz\vendor\doctrine\dbal\lib\Doctrine\DBAL\Statement.php line 103
at Doctrine\DBAL\Statement->bindValue('1', array(), 'string')
in C:\wamp\www\teamz\vendor\doctrine\orm\lib\Doctrine\ORM\Persisters\BasicEntityPersister.php line 273
at Doctrine\ORM\Persisters\BasicEntityPersister->executeInserts()
in C:\wamp\www\teamz\vendor\doctrine\orm\lib\Doctrine\ORM\UnitOfWork.php line 929
at Doctrine\ORM\UnitOfWork->executeInserts(object(ClassMetadata))
in C:\wamp\www\teamz\vendor\doctrine\orm\lib\Doctrine\ORM\UnitOfWork.php line 318
at Doctrine\ORM\UnitOfWork->commit(null)
in C:\wamp\www\teamz\vendor\doctrine\orm\lib\Doctrine\ORM\EntityManager.php line 355
at Doctrine\ORM\EntityManager->flush()
in C:\wamp\www\teamz\src\Teamz\CoreBundle\Controller\TerrainsController.php line 53
at Teamz\CoreBundle\Controller\TerrainsController->ajouterAction()
in line
at call_user_func_array(array(object(TerrainsController), 'ajouterAction'), array())
in C:\wamp\www\teamz\app\bootstrap.php.cache line 2815
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1')
in C:\wamp\www\teamz\app\bootstrap.php.cache line 2789
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true)
in C:\wamp\www\teamz\app\bootstrap.php.cache line 2918
at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true)
in C:\wamp\www\teamz\app\bootstrap.php.cache line 2220
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
in C:\wamp\www\teamz\web\app_dev.php line 29
from ivory-google-map.
Thx! Before debugging can you give the exact version of symfony & the bundle you're using in your project?
from ivory-google-map.
In fact, the last release is affected by a bug in the places autocomplete feature (see egeloen/IvoryGoogleMapBundle#84) which make it unsuable... It has been fixed but only on the master branch so, can you try with the last dev branch?
from ivory-google-map.
Here is my new version of composer.json file :
"require": {
//...
"egeloen/google-map": "dev-master",
"willdurand/geocoder": "",
"kriswallsmith/buzz": ""
//....
}
As I launch the composer install command, it doesn't add the bundle class name in the AppKernel.php file as it used to. Is it a normal behaviour ? (I haven't fully understood the purpose of the autoloader... ).
Thx.
from ivory-google-map.
Everything is autoloaded automatically by composer, but you need to register the bundle yourself. Does it solve your issue?
from ivory-google-map.
The problem is when I want to register the bundle in the AppKernel file with this instruction :
//..
new Ivory\GoogleMapBundle\IvoryGoogleMapBundle(),
//..
My IDE doesn't recognize such namespace. Can you please tell me what is the correct instruction to put.
from ivory-google-map.
This is because you don't require the egeloen/google-map-bundle:
"require": {
//...
"egeloen/google-map-bundle": "dev-master",
"egeloen/google-map": "dev-master",
"willdurand/geocoder": "*",
"kriswallsmith/buzz": "*"
}
from ivory-google-map.
Is it a mandatory requirement for the bundle to work ? I followed the installation instruction and it seems to be unecessary.
Nevermind, I reinstalled it with the "dev-master" version and it seems to work perfectly. Thx a lot for your work ;).
from ivory-google-map.
Nope, basically you just need to put egeloen/google-map-bundle but if you're using the last release, the places autocomplete form type is buggy and you should use the master branch since I release a new version.
from ivory-google-map.
Related Issues (20)
- Where do I put APP_KEY when i use DistanceMatrixRequest HOT 1
- Laravel 5.5 fix HOT 1
- Serious typo "test/css" in StylesheetTagRenderer.php
- Problem with DirectionService
- MarkerClusterer imagePath contains 1.png (maybe a test output left over in the production build?)
- AutoOpen for an infowindow atteched to a marker doesn't work
- MarkerClusterer: a.getPosition is not a function
- Placing multiple maps on a single page results in only the latter not to be rendered HOT 1
- Unknown "ivory_google_map" function
- Multiple polylines on the same map fail HOT 1
- dragend event doesn't work. Entire map moves with the marker HOT 1
- Project is dead. Egeloen is looking for someone to take over! HOT 1
- Google Maps JavaScript API warning: NoApiKeys HOT 2
- Conclusion: remove symfony/event-dispatcher v4.1.4 HOT 4
- Filters - Map with multiple markers with options
- RawGit abandoned resulting in 404
- Suddently stopped working HOT 26
- Maps is not displaying as of today HOT 1
- NEW MAINTAINED FORK
- [QUESTION] Details response and display more than 20 response after request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ivory-google-map.