I have just installed your bundle in my symfony 2.7 project, added you bundle class in the AppKernel.php file to load it in my project but I get the following error message :
InvalidConfigurationException in ArrayNode.php line 312:
Unrecognized option "property_info" under "framework"
The project runs with PHP 7.1, Symfony Framework 2.7
Is there something missing in my configuration, some parameters in the config.yml file ?
<?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// Symfony Standard Edition bundles
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(),
new Symfony\Bundle\MonologBundle\MonologBundle(),
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
// 3rd party vendor bundles
new Dunglas\DoctrineJsonOdm\Bundle\DunglasDoctrineJsonOdmBundle(),
new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(),
new APY\DataGridBundle\APYDataGridBundle(),
new Craue\TwigExtensionsBundle\CraueTwigExtensionsBundle(),
new Liuggio\ExcelBundle\LiuggioExcelBundle(),
new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
//new Zenstruck\SlugifyBundle\ZenstruckSlugifyBundle(),
new Ob\HighchartsBundle\ObHighchartsBundle(),
new Verint\FeedbackBundle\VerintFeedbackBundle(),
// new LanKit\DatatablesBundle\LanKitDatatablesBundle(),
//
// Systems vendor bundles
new Systems\AuditBundle\SystemsAuditBundle(),
new Systems\DirectoryBundle\SystemsDirectoryBundle(),
new Systems\GitlabBundle\SystemsGitlabBundle(),
new Systems\SparkBundle\SystemsSparkBundle(),
new Systems\MenuBundle\SystemsMenuBundle( $this ),
// Application bundles
new AdminToolsBundle\AdminToolsBundle(),
new AuditBundle\AuditBundle(),
new CompanyBundle\CompanyBundle(),
new DataGridBundle\DataGridBundle(),
new DirectoryBundle\DirectoryBundle(),
new EmployeeBundle\EmployeeBundle(),
new EntitlementBundle\EntitlementBundle(),
new FeedbackBundle\FeedbackBundle(),
new FsatBundle\FsatBundle(),
new GitlabBundle\GitlabBundle(),
new HIPBundle\HIPBundle(),
new IcdrBundle\IcdrBundle(),
new IssueReportBundle\IssueReportBundle(),
new MetricsBundle\MetricsBundle(),
new SalesForceBundle\SalesForceBundle(),
new SecurityBundle\SecurityBundle(),
new SharedAccountBundle\SharedAccountBundle(),
new UsageBundle\UsageBundle(),
new WebsiteBundle\WebsiteBundle(),
new ProfileBundle\ProfileBundle(),
new MessageBundle\MessageBundle(),
new GroupCalendarBundle\GroupCalendarBundle(),
new SparkBundle\SparkBundle(),
new ReportsBundle\ReportsBundle(),
new AgentCaseOriginBundle\AgentCaseOriginBundle(),
new ScoreCardsBundle\ScoreCardsBundle(),
);
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
// Bundles used for development and testing
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
$bundles[] = new RaulFraile\Bundle\LadybugBundle\RaulFraileLadybugBundle();
//$bundles[] = new Lsw\VersionInformationBundle\LswVersionInformationBundle();
$bundles[] = new Elao\WebProfilerExtraBundle\WebProfilerExtraBundle();
}
return $bundles;
}
public function registerContainerConfiguration(LoaderInterface $loader)
{
$loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml');
}
}
Hi,
I have just installed your bundle in my symfony 2.7 project, added you bundle class in the AppKernel.php file to load it in my project but I get the following error message :
The project runs with PHP 7.1, Symfony Framework 2.7
Is there something missing in my configuration, some parameters in the config.yml file ?
Here is the composer.json file :
Here is my AppKernel.php :
And the config.yml file :
Thanks, DuncanV